3. Adding Assertions to Security Scans

Applies to ReadyAPI 3.9, last modified on July 16, 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.

    ReadyAPI: The Boundary Scan in security test

    Click the image to enlarge it.

  3. In the Assertions editor, click .

    ReadyAPI: The Assertions editor
  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