pandora

Home


Your first test

You can use Pandora alone or use it with Yandex.Tank as a test runner and Overload as a result viewer. In the second case Pandora’s configuration is the same, but you will embed it into Yandex.Tank’s config.

Config file

Pandora supports config files in YAML format. Create a new file named load.yaml and add following lines in your favourite editor:

pools:
  - id: HTTP pool                    # pool name (for your choice)
    gun:
      type: http                     # gun type
      target: example.com:80         # gun target
    ammo:
      type: uri                      # ammo format
      file: ./ammo.uri               # ammo File
    result:
      type: phout                    # report format (phout is compatible with Yandex.Tank)
      destination: ./phout.log       # report file name

    rps:                             # shooting schedule
      type: line                     # linear growth
      from: 1                        # from 1 response per second
      to: 5                          # to 5 responses per second
      duration: 60s                  # for 60 seconds

    startup:                         # instances startup schedule
      type: once                     # start 10 instances
      times: 10

Visit Configuration page for more details.

Run your tests:

pandora load.yaml

The results are in phout.log. Use Yandex.Tank and Overload to plot them.


Home