New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: add maxUsers #4462
Comments
Hey, Sorry, it don't get how it would work and help for the use case you mentioned. Could you please elaborate? I maybe see a use case for the open work load model (concurrent users are piling up because the SUT struggles) but then it looks similar to the panic criteria we're implementing for Gatling Enterprise and then I would also expect a criteria on the response times and the error ratio to trigger. |
Okay, I'll try to explain with an abstract example. Let's imagine that I have an application with 2 threads, and I have to load it with the closed workload model. Also, I wanted to process a certain number of requests - 100, but we don't know how long it takes for each request: 100ms, 1s, 5s, 30s, and so on, and we cannot know the whole test duration. There is a workaround: .doIf(session => session.userId == 100)(
stopInjector()
) But, |
But |
performance problems... |
OK, so |
Ok) Got it |
Perhaps I have a better example. With duration for the closed model we are considering how many processes were by a certain time period Manager: We have a client who wants to upload 1000 documents to our system. We have 2 app-workers which are processing this operation. Question: How long it takes? |
I think that in this specific scenario you should use Feeder with Queue strategy but I'm not sure how create proper scenario... |
@gemiusz This has nothing to do with whether there will be a feeder or not. |
@Amerousful I'm looking for other solution for your case, so I try figure out if this will help you, but looking at #4463 this can be problematic :/ |
Hey!
I suggest adding a
maxUsers
method (similar to themaxDuration
) for the interrupt test. It can be useful for the closed model when you aim to pass only a certain number of users and you don't know how long it takes.What do you think? Is it good idea?
The text was updated successfully, but these errors were encountered: