Repository files navigation
ProjectSprint Batch 3 Project 2
✅ 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 the BASE_URL value 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 the BASE_URL value to your backend path
How can I know what's the payload that k6 give and what it receives? Run in debug mode:
DEBUG=true BASE_URL=http://localhost:8080 make pull-test & > output.txt
For easier searching, you can run this to record the output to output.txt for easier searching
DEBUG=true BASE_URL=http://localhost:8080 make pull-test-out
BASE_URL (string,url) sets the base url of the backend
DEBUG (boolean) show what was sent to the backend, and what is the response
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.