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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No, TestNG creates the thread pools at initialization time.
You might want to roll your own executor test logic for this.