This is a simple starter project which can be cloned to start performance testing with k6. It is currently based on k6 v0.52.0.
- Build the test.ts with:
npm run build
- Run the protocol test with:
npm run testp
- Run the browser test with:
npm run testb
Check the issues page to get an overview over the open issues I am currently struggling with, or are in the backlog for this project.
As browser based testing with a lot of virtual users is resource-intensive, it may make sense to combine testing on the protocol (http/backend) level and on the browser (frontend) and go with a hybrid approach. Here is an example how this can be achieved.