Switching test loading from Artillery to home-grown test

This commit is contained in:
David Négrier 2020-09-18 17:01:45 +02:00
parent 28dc3a2c84
commit 32f92d5c45
7 changed files with 771 additions and 227 deletions

View file

@ -3,8 +3,7 @@
"version": "1.0.0",
"description": "Load testing for WorkAdventure",
"scripts": {
"start": "artillery run socketio-load-test.yaml -o artillery_output.json && artillery report --output artillery_output.html artillery_output.json",
"start:nooutput": "artillery run socketio-load-test.yaml"
"start": "ts-node ./index.ts"
},
"contributors": [
{
@ -22,6 +21,11 @@
],
"license": "SEE LICENSE IN LICENSE.txt",
"dependencies": {
"artillery": "^1.6.1"
"socket.io-client": "^2.3.0",
"ts-node-dev": "^1.0.0-pre.62",
"typescript": "^4.0.2"
},
"devDependencies": {
"@types/socket.io-client": "^1.4.33"
}
}