Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Load Testing
  • Service shutdown
  • Getting started
    • Overview
    • Agent
    • Agent selection
    • Load generator
    • Load profile
      • Overview
      • URI
      • URIPOST
      • PHANTOM
      • RAW
      • HTTP_JSON
      • GRPC_JSON
    • Testing threads
    • Autostop
    • Resource Check
    • Test agent monitoring
    • Reports
    • Load test results
    • Comparing load test results
    • Load test regressions
    • Test artifacts
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  1. Concepts
  2. Payloads and types
  3. HTTP_JSON

HTTP_JSON

Written by
Yandex Cloud
Updated at April 28, 2026

Warning

Starting July 1, 2026, Load Testing will be discontinued. For more information, see Yandex Load Testing shutdown.

Type of test data for the Pandora load generator. It represents HTTP requests in a JSON structure.

The test data type is specified when creating a test.

Data format:

{"host": "example.com", "method": "GET", "uri": "/api/url1", "tag": "url1", "headers": {"User-agent": "Tank", "Connection": "close"}}
{"host": "example.com", "method": "POST", "uri": "/api/url2", "tag": "url2", "headers": {"User-agent": "Tank", "Connection": "close"}, "body": "body_data"}

Where:

  • host: Host header value.
  • method: HTTP request method.
  • uri: Request URI.
  • tag: Request tag to display in reports.
  • headers: Request headers.
  • body: POST request body. It is specified only if method=POST.

When providing a JSON structure in the body parameter, use the \ character to escape quotation marks:

{"host": "example.com", "method": "POST", "uri": "/api/url2", "tag": "url2", "headers": {"User-agent": "Tank", "Connection": "close"}, "body": "{\"data\": \"some_data\"}"}

When configuring the Pandora load generator using a file, specify the http/json type in the ammo section:

config_content:
          pools:
           - id: HTTP
             ammo:
               type: http/json
               file: ./ammo.json

When uploading a file with test data via the management console, this is done automatically.

Use casesUse cases

  • Invoking a load test from GitLab CI
  • Load testing a gRPC service

Was the article helpful?

Previous
RAW
Next
GRPC_JSON
© 2026 Direct Cursus Technology L.L.C.