0
votes

I've used dynamic authentication to generate the token , my test plan is like login - request1 , request2, request 3. When running it for a single time it gives no error , but when I'm running this script for 5 minutes , I'm getting few errors in between as 401 for few requests. I've tried putting in login in logic controller , yet I'm not able to get rid of the error , the error only comes when I run it over a loop

1
It seems you reach your limit on server, you can add delays if neededuser7294900
But it's showing error even for 10 users with script running time of 1 minuteAditya
some server/firewall limit number of users per seconds/perioduser7294900
Anything else that could cause the error ?Aditya
have you used cookie and cache managers in Test Plan?Chandra Sekhar Y

1 Answers

0
votes

Not sure but you can try with few things: 1. Header manager to pass the dynamic token. 2. Use a Debug Sampler in loop 3. Add a delay in loop.

If not then please elaborate the questions !