Equals Binary Assertion

The Equals Binary assertion checks the binary identity of the response and some other response or file.

Availability

This assertion is available in multiple ReadyAPI applications. Depending on the application, it validates the following data:

In...

Checks...

To learn more...

Functional tests

The response properties.

See Working With Assertions in Functional Tests.

Security tests

The response properties.

See Security Assertions.

Create an assertion

Setting up properties

This assertion works in two modes: Binary File or Other Response.

Use this mode to compare the received file to a file on your local computer.

  1. Select Binary File in the Target drop-down list.

    ReadyAPI: Configuring the Equals Binary assertion for matching with the binary file
  2. Specify the path to the file in the Target File Name field or click Browse and select a file on your PC.

Use this mode to compare the received response to a response from a different test step in the same test case.

  1. Select Other Response in the Target drop-down list.

    ReadyAPI: Configuring the Equals Binary assertion for matching with another response
  2. Select the test step in the Target Response drop-down list.

    Important

    You can only select steps that run before the current one.

Other assertions for content

Add more assertions for response and request contents:

See Also

Publication date: