Julianhm9612 / k6-performance-test-websocket

Example of performance test for websocket with k6

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

k6-performance-test-websocket

Example of performance test for websocket with k6

How run the tests:

npm install
  • Create your scripts for test.

  • Run in the command line your script (example):

docker-compose run -v D:/user/k6/scripts:/scripts k6 run scripts/ws.js --vus 300 --duration 60s

If you need documentation of k6: https://docs.k6.io/docs

About

Example of performance test for websocket with k6

License:MIT License


Languages

Language:JavaScript 100.0%