Vegeta · Example Payload

Vegeta Attack Example

GoHTTPLoad TestingPerformanceTesting

Vegeta Attack Example is an example object payload from Vegeta, with 11 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

ratedurationtargettimeoutworkersconnectionsredirectsinsecurehttp2keepalivechunked

Example Payload

vegeta-attack-example.json Raw ↑
{
  "rate": 100,
  "duration": "30s",
  "target": {
    "method": "GET",
    "url": "https://api.example.com/v1/users",
    "header": {
      "Authorization": ["Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"],
      "Accept": ["application/json"]
    }
  },
  "timeout": "30s",
  "workers": 10,
  "connections": 10000,
  "redirects": 10,
  "insecure": false,
  "http2": true,
  "keepalive": true,
  "chunked": false
}