+

Search Tips   |   Advanced Search


Add attachment verification points

Service attachment verification points enable you to check that the attachment of a service message return matches the specified criteria.

When you add verification points, the results from a service message return 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 message return.

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 an SAP performance test:

  1. Open the test editor and select a service message return element.

  2. Click Add and select Attachment verification point.

  3. 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.

    1. 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 message return.

    2. Specify the expected size in bytes of the attachment.

    3. Specify the MIME type and encoding of the attachment.


What to do next

You can enable or disable each verification point by clicking Enable verification point in the test editor.


Related tasks

  • Configure the environment for handling file attachments
  • Verify application behavior
  • Add equal verification points
  • Add Xpath query verification points
  • Add contain verification points