Skip to content

Latest commit

 

History

History
 
 

README.md

Load testing with k6

To run

  1. Download k6: https://k6.io/docs/get-started/installation/ - you can also get a binary from the github page
  2. Enter the credentials and deployment you wish to test in a file named config.js, you can use the example.config.js to start - just make a copy and rename it.
  3. Run the tests with k6 run testFileName.js

Limitations

  • This can log into Renku only and specifically in the cases where Renku has its own built-in gitlab that does not require a separate log in OR when the gitlab deployment is part of another renku deployment
  • The login flow cannot handle giving authorization when prompted in the oauth flow - do this for the first time manually then run the tests with the same account
  • The project used to test migrations has to be in a namespace that you control and can create other projects in. When forks are created they are always created in the same namespace as the original project with the name being unique.