February 2015
Intermediate to advanced
328 pages
7h 29m
English
Custom event listeners allow for extensions that run when things (events) happen in the SoapUI framework. There are certain situations where this can be a nice way to add functionality. Typical examples would be cross cutting concerns; for instance, additional custom logging after a test has run (TestRunListenerAdapter) or modifying a request before a request is dispatched (RequestFilter). In this recipe, we'll first take a quick look at the various types of Listener interfaces, then code a simple plugin to use a RequestFilter to intercept a REST request; and log its URI and add a new parameter to it before the request is dispatched.
All Listeners extend the SoapUIListener interface. The current ...
Read now
Unlock full access