PATCH
https://app.loadforge.com/api/v2
/
tests
/
{test_id}
curl --request PATCH \
  --url https://app.loadforge.com/api/v2/tests/{test_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "rate": 123,
  "servers": 123,
  "users": 123,
  "host_id": 123,
  "region": "<string>",
  "locustfile": "<string>"
}'
{
  "test_id": 123
}

Update an existing test, specified by ID. You can modify details such as name, rate, servers, users, host_id, region, and locustfile to adjust your load testing configuration.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

test_id
integer
required

ID of test to update

Body

application/json

Test data to update

The body is of type object.

Response

200
application/json

Test update response

The response is of type object.