I was able to integrate Selenium Webdriver Junit tests with Jmeter and
was able to run my tests from Jmeter.
However, since my selenium junit script launches a browser, whenever I
run it from Jmeter and increase the thread (users) count, it is
launching those many browsers on my machine and eating up all my
machines resources...
Is there a way to not launch those many browsers when I run in
Jmeter ?
Thanks,
Gomzi
There's no way to work around this issue, unless you design the JUnit
script to operate in a distributed fashion. Then maybe you can make
use of JMeter distributed testing architecture: JMeter servers in CLI
mode driven by JMeter GUI as central controller, etc., where servers
are remote machines. Each JMeter server then can run whatever amount
of browsers needed (e.g. JMeter threads, per server). But I believe
this assumes you have things set up correctly on JUnit side. I could
get tricky. Probably best to make use of Selenium Grid + JUnit +
JMeter in this case if you want to run multiple threads. Because, in
all cases, each thread "will" open a browser. Unless of course you use
the HTMLUnit driver instead of FF, IE, or other browser drivers.
Why are you using JMeter to run these anyways?
Performance testing requires quite a lot of hardware for the load injectors
(as you are finding out), you just need more hardware really...
Hi,
Thanks,
Gomzi
--
You received this message because you are subscribed to the Google Groups
"webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to
webdriver+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/webdriver?hl=en.
--
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
If you have received this email in error please notify postm...@ardescosolutions.com
Now try to start your test. And whatever you do, DO NOT change the "Thread Group" values, they must all be 1!