Duda sobre test de carga
- Dominant language
- No language data
- Stars
- 5
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
Estoy usando el recorder.sh para grabarlos, pero al ejecutarlos me fallan siempre en el inicio de sesión. He estado depurando y parece que no se están enviando los datos del usuario en la petición, aunque el archivo JSON con las credenciales sí que se genera bien.
He revisado el endpoint de /login y veo que espera los datos por el body, pero por alguna razón el test no los está pasando correctamente al ejecutar la simulación. He intentado buscar la solución pero no doy con la tecla.
Adjunto unas capturas de cómo tengo el código.
Método handler del endpoint:
Test de carga:
Formato json:
{"username":"a","password":"123456789R"}
Error al ejecutar el .scala:
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading recorder.sh and the referenced .scala load-test simulation, then compare the generated JSON credentials with the request body sent to /login. Done means the simulation sends the username and password during login and completes that step without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala, shell
- Domain
- backend-api-design, testing-qa
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100