github.com/yandex/pandora@v0.5.32/examples/custom_pandora/custom.yaml (about)

     1  pools:
     2  - gun:
     3      type: my-custom-gun-name
     4      target: example.com:80
     5  
     6    ammo:
     7      type: my-custom-provider-name
     8      source: # You may just write file path here. Or stdin.
     9        type: inline
    10        data: |
    11          {"url": "url1", "queryParam": "query1"}
    12          {"url": "url2", "queryParam": "query2"}
    13  
    14    result:
    15      type: json
    16      sink: stdout # Just for interactivity print result to stdout. Usually file used here.
    17  
    18    rps:
    19      - {duration: 2s, type: line,  from: 1, to: 5}
    20      - {duration: 3s, type: const, ops: 5}
    21      - {duration: 2s, type: line,  from: 5, to: 1}
    22    startup:
    23      type: once
    24      times: 5
    25  
    26  log:
    27    level: debug