You can add verification points for the properties in a service test so that these
properties in the test response are verified and validated when you play back the
test.
You must have recorded or created a service test using the test editor.
When you add verification points, results from a service response are compared with
the expected data specified as the verification point test element. You can add the
verification point for the properties to an existing test response when the test is
manually created or recorded. After you add the verification point for the
properties to a test response, you can verify the selected response properties
during the test run.
-
Identify the service test from Test Navigator and
double-click the service test to open it in the test editor.
-
Select a service response for a service request from the service test.
-
Right-click the service response, click .
The Properties Verification Point is added based on
the existing properties of the service response.
Note: You can add multiple verification points for the properties, if
required.
-
Perform any of the following on the verification points for the properties in
the Properties Verification Point Details pane.
| To Do... |
Do This... |
| To add a new property and its value |
Click Add. |
| To edit the value of an existing property |
Click Edit. |
| To remove the property that you do not want to verify during
the test run |
Click Remove.Note: You can remove
multiple properties in a group at the same
time. |
-
Select or clear the Apply And Operator check box based
on the requirement as follows:
- To verify all the listed properties, select the Apply And
Operator check box.
- To verify one of the listed properties, clear the Apply And
Operator check box.
-
Optionally, you can substitute the value of one or more properties in the
verification point by using a test variable, data set, custom java code, or
built-in variables.
-
Verify all the verification points for the properties that you entered, and
then click Save.
The verification points that you added for the response properties are added to the
service test.
You can run the test and after the test run, you can view and analyze the
properties verification point details from the following page
and reports:
- Verdict List pane in the Test Log
page. Click any of the verification point from the list and view the
details.
- Response Properties Verification Points tab in the
Service Verification Point Report. Click the
Response Properties Verification Points tab and view
the verification point details.
- Verification points verdicts pane from the
Functional Test report page. Click any of the verdict
status to verify the expected value and actual value of the verification point
for the properties.