Skip to main content
🎊 We've changed our name from Ddosify to Anteon! 🚀

Assertion

At default, Anteon marks the step result as successful if it sends the request and receives the response without any network error happening. Status code, body type (or content), or other metrics does not have any effect on success/failure criteria. But this may not be a good test result for your use case and you may want to create your success/fail logic. That's where you can use Assertions.

Using the no-code capabilities of the Anteon Platform, you can easily create assertion logic based on various factors, such as status code, response time, response size, response body, response header, or captured variables. Additionally, you can combine multiple assertions to develop more intricate logic.

Create Assertion Logic

  1. Click the More button located to the right of the step and open the "Step Details" section.

    Step Details Button
  2. To create an Assertion logic based on the response of a step, go to the "Assertions" tab in the "Step Detail".

    Assertion Tab
  3. You can also join assertions using the 'And' operator. If any assertion does not match the specified value, Anteon will mark the step as failed.

    Finalized Assertion