Closed Melanie-RK closed 10 months ago
Thank you for asking for this!
This is an interesting use case. Anyone else with the same need?
We may implement something like:
threadGroup()
.rampTo(1, Duration.ofSeconds(1))
.holdIterating(30)
.upTo(Duration.ofMinutes(200))
Any other ideas or comments?
That looks good to me, very easy to see at a glance what it does
This has been added on latest release
In JMeter I can set both a number of iterations and specify a thread lifetime (Duration) for a ThreadGroup, however, the DSL currently does not support this.
Use case:
I specify the thread lifetime to make sure a test does not exceed a certain duration
Screenshot: