This repo contains examples of how to use various features in Artillery. Every example is self-contained and can be run as-is without external dependencies (other than those in package.json
).
- using-data-from-csv - using data from an external CSV file in vuser scenarios
- http-set-custom-header - set an HTTP header in a
beforeRequest
hook - socket-io - testing a Socket.io service
- websockets - testing a WebSocket service
- track-custom-metrics - track custom metrics (counters and histograms)
- using-cookies - using cookies with HTTP services
- file-uploads - HTTP file uploads with Artillery Pro
- functional testing - use
artillery-plugin-expect
to run both load and functional tests - scenario-weights - set weights to change how often Artillery runs a scenario
- CSV-driven functional testing - define functional tests with a CSV file
- artillery-plugin-hello-world - a "hello world" plugin
- artillery-example-cicd - using Artillery with Github Actions, Gitlab CI, Azure DevOps, CircleCI and more
- starter-kit - @cfryerdev's Artillery starter kit - an example of how a few different bits fit together
Would you like to share an example showing how to use a feature in Artillery with the community? Send us a PR 💜
All code in this repo is licensed under the terms of the MPL2 license.