Reputation: 82
I have a test plan as following:
My Thread Group contains three requests, one POST and two GETs that should be executed one after another. POST Suggestions
returns a token that is used by GET Progress
that is executed until it's completed, when it's completed, I'm ready to GET Suggestions
.
The problem is that the server is configured to handle only 5 threads at a time, if I generate 6 threads, it processes 5 and the sixth simply dies (Stop Thread) as server answers with 503 Service Unavailable
. I want to find such a solution that would leave the sixth, seventh and so on POST requests in some queue until one of the first five threads is finished i.e. there's a place in the pool.
Upvotes: 0
Views: 1321
Reputation: 34526
What you're trying to do is wrong, as this means there is an issue in the tested application (which JMeter revealed) and the right way is to fix this issue so that server can handle more request instead of trying to find a way to make JMeter workaround this problem.
Client of the tested application will face the issue you found and not try a workaround.
But if this is voluntary:
Upvotes: 1