10 June 2009 - 3.0-beta-2 user guide eclipse intellij netbeans maven download nightly forum bugs blog sf.net eviware


Eviware Logo

soapUI TestSteps

A soapUI TestCase consists of an arbitrary number of TestSteps that are executed after eachother. The following types of steps are available;

Step TypeShort Description
RequestSends a SOAP request and allows the response to be validated using a variety of assertions.
REST Request StepExecutes a REST Request to a Resource defined in the project
HTTP Request StepExecutes and arbitrary HTTP request
Property TransferUsed for transferring property values between two test steps.
Groovy ScriptRuns a Groovy script that can do more or less "anything".
PropertiesUsed for defining global properties that can be read from an external source.
Conditional GotoAllows 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 StepPauses a TestCase run for the specified number of milliseconds
Run TestCase StepRuns another TestCase from within an existing one
MockResponse StepWaits/Listens for an incoming SOAP Request that can be validated and return a mock response
DataSource StepReads external data to be used as input to requests, etc - soapUI pro only
DataSourceLoop StepUsed together with a DataSource to specify looping for external data rows - soapUI pro only
DataSink StepWrites properties to an external storage - soapUI pro only
DataGen StepGenerates property values - soapUI Pro only
Start soapUI Testing
Did you know?

In soapUI Pro you have additional powerful TestSteps. For example, you can connect your test to a database to feed your Web Service Tests.

soapUI Pro contains productivity enhancements as well as offers Professional World Class support.

Try soapUI pro to soap test

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.

Common TestStep Actions

Each TestStep has a popup-menu in the navigator and TestCase editor containing a number of common and step-specific actions:

  • Open Editor - opens the associated TestStep editor (if available)
  • Disable/Enable TestStep - disables/enables the TestStep for execution
  • Insert Step -> - shows a list of insertable test-steps at the current position
  • Rename - prompts to rename the selected step
  • Delete - prompts to delete the selected step
  • Clone TestStep - prompts to clone the selected step (see below)
  • Move Step Up - moves the selected step up one position in the list (this can also be performed with Ctrl-Up)
  • Move Step Down - moves the selected step down one position in the list (this can also be performed with Ctrl-Down)
  • - specific actions - - TestStep specific actions
  • Online Help - displays a TestStep specific page in a browser

Clone TestStep

Selecting to clone a TestStep from the TestStep menu displays the following dialog:

Clone TestStep dialog in soapUI for Functional Testing

If selecting to clone to another project, soapUI will prompt to clone required interfaces to that project as well.

MultiDelete of TestSteps

Several TestSteps can be selected for deleting at the same time.

Delete several TestSteps


Next: Web Service functional Testing- Working with TestRequests