01 March 2010 - 3.5 |
soapUI defines three types of Request Steps:
The first two of these are internally linked to and dependant on their corresponding operations/resource and therefore also indirectly dependant on their containing services, which they need for validation, request generation, etc. Removing the service will also remove the corresponding Test Requests (a future feature will be to convert them to HTTP Test Requests).
Common for all these is that they add an Assertion possibility for validating the response received from the target service.
The Assertions tab lists the assertions that have been configured for the TestRequest. Double clicking an assertion in the list opens that assertions' configuration dialog (if available). Any number of assertions can be added, often it may be relevant to add the same type of assertion multiple times with different configurations.
A colored circle next to the assertion indicates the status of the assertion in regard to the last received response; red = assertion failed together with error messages, green = assertion ok, grey = assertion has not been performed.
The toolbar contains corresponding actions and a "Clone Assertions" action for cloning a number of assertions to other TestRequests (see below)
The following actions are available from the assertion lists right-button menu:
The Request Log tab simply shows a history of submit/response times and response-sizes for the TestRequest. This can come in handy if you want to manually compare response times or sizes over time.
When executing a Request Step from within a TestCase (or associated LoadTest) the actual request/result and associated properties for that request can be viewed by opening a "Request Result Viewer" either from the TestCase editors log list or from a LoadTest editors log by double-clicking the associated log entry. Sent or Received attachments are currently not saved to preserve memory.
The viewer shows 3 tabs:
For SOAP Requests, soapUI Pro contains a right-button or assertion toolbar action for cloning an arbitrary number of assertions to other TestRequests. The dialog shown is as follows:
The options top-to-bottom are:
Setting the desired options and selecting OK will clone as configured, alternatively use the "Apply" option to execute the current Dialog settings without closing it.