Reputation: 137
I have JMeter, then I integrated Selenium WebDriver.
I created jp@gc - WebDriver Sampler
, and the code runs perfect. When I change Number of Threads (users)
to 10, this open me 10 Fireforx Browser and the idea of load testing is not good, because the last browser (10th) start after few second (20 sec).
How I can run all this in parallel?
I want to simulate 10 users to clicks in the site exactly in same time! :)
Let's say this is the page, which I want to be opened in same time:
WDS.sampleResult.sampleStart()
WDS.browser.get('http://jmeter-plugins.org')
WDS.sampleResult.sampleEnd()
Thanks
Upvotes: 0
Views: 1246
Reputation: 168072
Put your WebDriver Sampler under the Synchronizing Timer and set "Number of Simulated Users to Group By" to 10.
Actually this is not something WebDriver Sampler should be doing. You're supposed to create main load by JMeter HTTP Request samplers and have a separate Thread Group with WebDriver Sampler to measure real-life user experience like scripts execution time, layout, etc.
Upvotes: 1