Skip to content

sieugene/yandex-ammo

Repository files navigation

Usage

Create token.txt and fill API key

[loadtest/example_token.txt]

d*.......d

Write your ammo

  [src/ammos/example.ts]

     const rawAmmo = {
        name: 'example',
        host: 'host',
        data: [
            {
                method: 'POST',
                path: '/api/',
                tag: 'ammo-test-execute',
                body: { ... },
            },
        ],
    }

Call for generate json ammo

[src/index.ts]

import { generateExampleAmmo } from './ammos/example'

generateExampleAmmo()

Create "sample GET requests"

  yarn ammo

Run

docker compose -f "docker-compose.yml" up -d --build

About

Node util create ammo for yandex tank

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published