Tests
Create Test
Create a new test
POST
Create a new test by providing details such as name, rate, servers, users, host_id, region, and locustfile. This endpoint allows you to programmatically set up load tests with your specific configuration.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Test to create
Name of the test
Spawn rate of the virtual users
Number of worker servers to launch
Total virtual users to simulate
ID of the host to test
Region code for the test
The full locustfile content
Response
200
application/json
Test creation response
ID of the created test