- Subscribe to RSS Feed
- Bookmark
- Subscribe
- Email to a Friend
- Printer Friendly Page
- Report Inappropriate Content
User-Defin ed Validation s
|
CloudTest provides the ability to create custom user-defined validations per message via the Message Editor in the Clip Editor lower panel.
|
|
|
|
|
The New Validation item is added to the list on the left and the form appears on the right.
|
|
Depending on the selection made here, the remainder of the form changes accordingly. Refer to the following sections depending on the option selected here. |
|
User-Defined Validations on Response BodyUse the following steps if Response Body was chosen above. |
|
For example, the user-defined validation below is on the message’s response body using the specified XPath and the HTML response and is set to Matches exactly. Subsequent actions on the validation will depend whether the response does in fact match. |
|
For example, the following user-defined validation uses a custom property whose owner is the Clip.
|
|
User-Defined Validations on Response HeaderUse the following steps if Response Header was chosen above.
If the validation will be on a Status line, specify that status line from among code, text, or protocol. |
|
For example, the user-defined validation on the right is on the message’s response header using the Header Name, Host and is set to Matches exactly. Subsequent actions on the validation will depend whether the response does in fact match.
|
|
User-Defined Validations for Following ScriptUse the following step if Following Script was chosen above. See Validation Scripts in Find Out How for examples of CloudTest validations by script.
|
|
User-Defined Validations for Existing ScriptUse the following steps if Existing Script was chosen above. See Validation Scripts in Find Out How for examples of CloudTest validations by script.
|
|










