Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Load Testing
  • Getting started
    • Service 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 regressions
    • Load test results
    • Comparing load test results
    • 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
Yandex project
© 2025 Yandex.Cloud LLC