- ✅ Register
- ✅ Login
- ✅ Get Profile
- ✅ File Upload
- ✅ Patch Profile
- ✅ Post Activity
- ✅ Get Activity
- ✅ Patch Activity
- ✅ Delete Activity
- Navigate to the folder where this is extracted / clone in terminal
- run
BASE_URL=http://localhost:8080 make pull-test
⚠️ Adjust theBASE_URLvalue to your backend path
- make sure that you have redis installed and exposed in port
6379 - run
BASE_URL=http://localhost:8080 k6 run load_test.js
⚠️ Adjust theBASE_URLvalue to your backend path
- How can I know what's the payload that k6 give and what it receives? Run in debug mode:
For easier searching, you can run this to record the output to
DEBUG=true BASE_URL=http://localhost:8080 make pull-test &> output.txt
output.txtfor easier searchingDEBUG=true BASE_URL=http://localhost:8080 make pull-test-out
BASE_URL(string,url) sets the base url of the backendDEBUG(boolean) show what was sent to the backend, and what is the response