Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • 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
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Load Testing
  • 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. GRPC_JSON

GRPC_JSON

Written by
Yandex Cloud
Updated at October 1, 2024

Type of test data for the Pandora load generator. It supports gRPC requests.

The test data type is specified when creating a test.

Data format:

{"tag": "/Add", "call": "api.Adder.Add", "metadata": {"Authorization": "Bearer $YC_TOKEN"}, "payload": {"x": 21, "y": 12}}
{"tag": "/Add", "call": "api.Adder.Add", "metadata": {"Authorization": "Bearer $YC_TOKEN"}, "payload": {"x": 22, "y": 13}}
{"tag": "/Add", "call": "api.Adder.Add", "metadata": {"Authorization": "Bearer $YC_TOKEN"}, "payload": {"x": 23, "y": 14}}

Where:

  • tag: Request label used in the result display interface. It enables using different tags for requests to group and filter test results.
  • call: Service and its method being called.
  • metadata: Used to send headers, e.g., Authorization.
  • payload: Request body.

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

pandora:
  enabled: true
  config_content:
    pools:
      - id: Custom
        gun:
          type: grpc
          target: 'test.hostname:80'
        ammo:
          type: grpc/json
          file: ./ammo.json
        result:
          type: phout
          destination: ./phout.log
        rps:
          - duration: 8m
            from: 1
            to: 700
            type: line
        startup:
          - type: once
            times: 8000
    log:
      level: debug
    monitoring:
      expvar:
        enabled: true
        port: 1234

When uploading a file with test data via the management console, data types and paths are filled in automatically.

Was the article helpful?

Previous
HTTP_JSON
Next
Testing threads
© 2025 Direct Cursus Technology L.L.C.