18 November 2008 - 2.5 |
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
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
The following SOAP Request specific actions are available from the test-request nodes' right-button menu:
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:
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.
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:
All other editing, submittal, validation functionality is the same as in the request editor