Skip to content

Instantly share code, notes, and snippets.

@luhonghai
Created December 24, 2019 09:53
Show Gist options
  • Save luhonghai/ab854e6e30f36b10aa59e84b8ca646a4 to your computer and use it in GitHub Desktop.
Save luhonghai/ab854e6e30f36b10aa59e84b8ca646a4 to your computer and use it in GitHub Desktop.
Example k6 script
#!/usr/local/bin/bash
postman-to-k6 script.json -e env.json --csv data.source.csv -o k6-script.js
k6 run --vus 30 --duration 300s k6-script.js
[ $? -eq 0 ] || exit 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment