Run a test

10. Run your first test

Antithesis provides webhook endpoints that allow you to run tests on-demand. This curl command kicks off a test. We’ll have sent you the username and password in response to your initial outreach.

curl --fail -u 'user:password' \
-X POST https://<tenant>.antithesis.com/api/v1/launch/basic_test \
-d '{"params": { "antithesis.description":"basic_test on main",
    "antithesis.duration":"length_in_minutes",
    "antithesis.config_image":"config_image_with_tag",
    "antithesis.images":"my_images_with_version_list", 
    "antithesis.report.recipients":"foo@email.com;bar@email.com"
    } }'

All lists of parameters should be ; delimited. For more information on these and other parameters, please consult our webhook reference.

In a few hours, you should receive an email with a link to a triage report (you can also set the system up to deliver results through other channels).

Congratulations – you’re now set up with Antithesis, and ready to hunt down some bugs.

From here, we suggest either reading an overview of the Core concepts involved in testing with Antithesis, or diving straight into the User manual to start iterating on your testing. Later on, you’ll probably also want to configure your CI system to automate the process of building your software and kicking off webhooks.

Contact us if you have questions.