Add attachment verification points
Service attachment verification points enable you to check that the attachment of a service response matches the specified criteria.
When you add verification points, the results from a service response are compared with the expected data that are specified in the verification point test element. Attachment verification points enable you to verify that an expected attachment is delivered with the response.
Attachment verification points return a Pass status when all the criteria of an attachment match the expected criteria specified in the verification point test element. If any of the criteria do not match, the verification point returns a Fail status.
You can use the test editor to create or edit verification points.
To add attachment verification points to a performance test:
- Open the test editor and select a service response element.
- Click Add and select Attachment Verification Point.
- In the Test Element Details area of the test editor, type a name for the verification point, and specify the criteria to be verified. All criteria must match in order for the verification point to pass.
- In the case of multiple attachments, set the Index of attachments to the index number of the attachment to be checked. Type 1 if there is only one attachment in the response.
- Specify the expected size in bytes of the attachment.
- Specify the MIME type and encoding of the attachment.
What to do next
Enable or disable each verification point by clicking Enable verification point in the test editor.
Verify application behavior
Add equal verification points
Add Xpath query verification points
Add contain verification points
Add XSD verification points
Error 404 - Not Found Error 404 - Not Found
The document you are looking for may have been removed or re-named. Please contact the web site owner for further assistance.