Created
January 22, 2019 21:30
-
-
Save kwarrick/039761f00e1a41f92f97454eaf05af2f to your computer and use it in GitHub Desktop.
mmo-rust-server artillery script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config: | |
target: "ws://127.0.0.1:8080/" | |
phases: | |
- duration: 30 | |
arrivalRate: 5 | |
name: "Easy start" | |
- duration: 60 | |
arrivalRate: 5 | |
rampTo: 100 | |
name: "Ramping up" | |
- duration: 120 | |
arrivalRate: 100 | |
name: "Sustained load" | |
scenarios: | |
- engine: "ws" | |
flow: | |
- loop: | |
- send: "right" | |
- send: "right" | |
- send: "right" | |
- send: "right" | |
- send: "right" | |
- send: "down" | |
- send: "down" | |
- send: "down" | |
- send: "down" | |
- send: "right" | |
- send: "up" | |
- send: "down" | |
- think: 1 | |
- send: "up" | |
- send: "left" | |
- send: "down" | |
- send: "left" | |
- send: "up" | |
- send: "down" | |
- send: "up" | |
- think: 0.1 | |
- send: "right" | |
- think: 0.1 | |
- send: "down" | |
- think: 1.4 | |
- send: "left" | |
- send: "up" | |
- think: 0.8 | |
- send: "down" | |
- send: "left" | |
- send: "down" | |
count: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment