2

I'm testing an api with testNG and I'd like to know if it's possible to specify a ramp-up time for multithreaded tests. What would be the easiest way to do so?

e.g. JMeter has the possibility to set: Start X threads in Y seconds

Sebastian Saip
  • 452
  • 2
  • 5
  • 17

1 Answers1

4

No, TestNG creates the thread pools at initialization time.

You might want to roll your own executor test logic for this.

Cedric Beust
  • 15,480
  • 2
  • 55
  • 55