K6 || API/Application Load Testing through POST call
Nov 26, 2022
Let’s Solve this Above title using the STAR method
“STAR” is an acronym that stands for situation, task, action(s), and result(s).
Situation
Today I faced an issue reported by my developers that one of my Backend login APIs written in Node is getting timed out, which shows a 502 Error
Task
Action(s)
Result(s)
References
- https://k6.io/docs/javascript-api/k6-http/post/
- https://stackoverflow.com/questions/71163585/k6-use-post-to-login-in
- https://stackoverflow.com/questions/73687855/how-to-push-request-a-csrf-token-in-k6-performance-testing-tool-referenceerror
- https://github.com/grafana/k6/blob/ef717e1af2a92d35d39a3d815a69b6ab6b8c65e1/cmd/root.go#L228
- https://youtu.be/Q9iE0d1Zkms
- https://youtu.be/Be66Db4wHLA