01 March 2010 - 3.5 user guide eclipse intellij netbeans maven download nightly forum bugs blog sf.net eviware


Eviware Logo

SOAP Requests

SOAP TestRequests extends standard requests with the possibility to add any number of Assertions that will be applied to the response received for the request for validating its content.

TestRequests are either created from standard requests using their "Add to Testcase" action or from the TestCase Editors popup menu with the "Insert Step -> Test Request" option (shown to the right), which will prompt for which Interface or Operation the request should be create for.

When you create a SOAP Test Request the following dialog will prompt to add certain standard assertions

Add Request to TestCase dialog containing Standard Assertions

SOAP TestRequests are submitted either manually through their editors submit actions or when running the TestCase containing the request. The requests response is validated against a requests assertions and the requests icon changes to reflect the result of the validations; green means that all validations were ok, red means that some validations failed. A grey background icon indicates that the request has not yet been submitted for validation, a white background indicates that the TestRequest lacks assertions

TestRequest Actions

The following SOAP Request specific actions are available from the test-request nodes' right-button menu:

  • Change Operation - prompts to change the operation for this TestRequest (see below)
  • Select Operation - selects this TestRequests operation in the Navigator
  • Clone Assertions (soapUI Pro only) - prompts to clone assertions from this TestRequest to other TestRequests (see below)

TestRequest Details Tab

The "Details" tab shown in the bottom-left shows the same properties when a TestRequest node is selected in the navigation tree as for a standard request ( see the Request Details Tab for more detailed information) and adds two read-only properties:

  • Interface : the name of the Interface for this TestRequest
  • Operation : the name of the Operation for this TestRequest

Change Operation

Selecting to change the operation for a TestRequest opens the following dialog:

The list of Interfaces displays those available in the current project, the list of Operations is updated accordingly.

The TestRequest Editor

Double-clicking a TestRequest in either the navigator or the TestCase Editor Pane opens the requests editor which is more or less a copy of the standard Request Editor with the following exception:

  • The second toolbar button "Add to Testcase" has been replaced with "Add Assertion" which prompts to add an assertion to the TestRequest
  • The clone action now clones the TestRequest and appends the cloned request to the containing TestCase
  • Under the request/response panes there is a now a tabbed pane containing 2 tabs; the "Assertions" tab and the "Request Log" tab (both described below).

All other editing, submittal, validation functionality is the same as in the request editor


Next: REST Requests