01 March 2010 - 3.5 |
A soapUI TestCase consists of an arbitrary number of TestSteps that are executed after eachother. The following types of steps are available;
Step Type | Short Description |
---|---|
Request | Sends a SOAP request and allows the response to be validated using a variety of assertions. |
REST Request Step | Executes a REST Request to a Resource defined in the project |
HTTP Request Step | Executes and arbitrary HTTP request |
Property Transfer | Used for transferring property values between two test steps. |
Groovy Script | Runs a Groovy script that can do more or less "anything". |
Properties | Used for defining global properties that can be read from an external source. |
Conditional Goto | Allows any number of conditional jumps in the TestCase execution path. Conditions are specified as XPath expression and applied to the previous request steps response. |
Delay Step | Pauses a TestCase run for the specified number of milliseconds |
Run TestCase Step | Runs another TestCase from within an existing one |
MockResponse Step | Waits/Listens for an incoming SOAP Request that can be validated and return a mock response |
DataSource Step | Reads external data to be used as input to requests, etc - soapUI pro only |
DataSourceLoop Step | Used together with a DataSource to specify looping for external data rows - soapUI pro only |
DataSink Step | Writes properties to an external storage - soapUI pro only |
DataGen Step | Generates property values - soapUI Pro only |
![]() |
|
Each TestStep in a TestCase exposes a number of properties which can be read, written, or modified by other TestSteps, for example a Groovy Script step can read the "response" property of a Request Step and take some action depending on its value, see Property Expansion for details and examples.
Each TestStep has a popup-menu in the navigator and TestCase editor containing a number of common and step-specific actions:
Selecting to clone a TestStep from the TestStep menu displays the following dialog:
If selecting to clone to another project, soapUI will prompt to clone required interfaces to that project as well.