3. Adding Assertions to Security Scans

Applies to ReadyAPI 3.10, last modified on October 07, 2021

After the security scan is over, you need to ensure that it does not take too long for the service to respond in case of unexpected input.

  1. Switch to the Setup tab.

  2. Click the Boundary Scan response.

  3. In the Assertions editor, click .

    ReadyAPI: Adding an assertion to the Boundary Scan

    Click the image to enlarge it.

  4. In the Add Assertion dialog, select SLA > Response SLA and click Add.

    ReadyAPI: The Add Assertion dialog

    Click the image to enlarge it.

  5. Specify the response time value, exceeding which will trigger the assertion, and click OK.

    ReadyAPI: Configuring the Response SLA assertion

Now, if some response takes longer than 200 milliseconds during this scan, the assertion will be triggered and the security scan will fail.

Prev     Next

See Also

Security Assertions
Getting Started With Security Tests

Highlight search results