RE: Load Testing using Selenium Web Driver.

Does anyone know how to do load testing in using selenium web driver? I need detailed steps to do it.

Thanks in advance.

Vaidy Doctor Asked on August 12, 2014 in Selenium WebDriver.
Add Comment
7 Answers

using invocationCount and threadPoolSize

@Test(threadPoolSize = 3, invocationCount = 10, timeOut = 10000)
public void login() { // TO DO CODE

public void logout() { // TO DO CODE

the method will be run a total of 10 times using 3 threads

Helper link :…/testng-tutorial-time-test-with…/

Although it is not recommended to use selenium for load, but we can use jmeter for this.

Supporter Answered on April 6, 2015.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.