forked from asaadsaad/autocannon_clinic
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcommands.txt
17 lines (10 loc) · 1.2 KB
/
commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
autocannon -c 10 -d 5 localhost:3000
autocannon -c 2 -d 1 --headers content-type="application/json" --input "data.json" --method POST http://localhost:3000
autocannon -c 10 -d 5 http://localhost:3000/getToken
autocannon -c 10 -d 5 --headers authorization="Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYW1lIjoiQXNhYWQgU2FhZCIsImlhdCI6MTU2NjA2MDk5NX0.G6kKZ3jr6tjHf-fMLF95950TnoCmFxLtdgnHPfAl7i4" --headers content-type="application/json" --input "data.json" --method POST http://localhost:3000/verifyToken
clinic doctor --on-port 'autocannon -c 10 -d 5 localhost:$PORT' -- node server.js
clinic doctor --on-port 'autocannon -c 10 -d 5 http://localhost:$PORT/getToken' -- node server.js
clinic bubbleprof --on-port 'autocannon -c 10 -d 5 http://localhost:$PORT/getToken' -- node server.js
clinic flame --on-port 'autocannon -c 10 -d 5 http://localhost:$PORT/getToken' -- node server.js
clinic doctor --on-port 'autocannon -c 2 -d 5 --headers content-type="application/json" --input "data.json" --method POST http://localhost:$PORT' -- node server.js
clinic bubbleprof --on-port 'autocannon -c 2 -d 5 --headers content-type="application/json" --input "data.json" --method POST http://localhost:$PORT' -- node server.js