3. Adding Assertions to Security Scans

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

    ReadyAPI: Adding an assertion to the Boundary Scan
  4. In the Add Assertion dialog, select SLA > Response SLA and click Add.

    ReadyAPI: The Add Assertion dialog
  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

Publication date: