Load Testing

110 views
Skip to first unread message

user1234

unread,
Sep 3, 2013, 4:46:53 AM9/3/13
to seleniu...@googlegroups.com
How to do load testing with selenium?

David Lai

unread,
Sep 6, 2013, 7:10:06 PM9/6/13
to seleniu...@googlegroups.com
Generally you don't load test with selenium.  You're wasting tons of processing power and rendering the page that could be used to generate more load.  There a tons of free tools out there for load testing.  Jmeter, Seige, Grider

Steve Rencilin

unread,
Sep 7, 2013, 5:33:57 AM9/7/13
to seleniu...@googlegroups.com

On Tuesday, September 3, 2013 2:16:53 PM UTC+5:30, user1234 wrote:
How to do load testing with selenium?

I think there is ways to run selenium scripts in Jmeter...

Ashish Juyal

unread,
Sep 7, 2013, 5:51:14 AM9/7/13
to seleniu...@googlegroups.com
Hi Steve ,
               kindly share your idea to use selenium in Jmeter.

Regards
Ashish Juyal

黄吉浩

unread,
Sep 8, 2013, 9:47:03 PM9/8/13
to seleniu...@googlegroups.com
Really I don't know there is a way to run selenium scritps in Jmeter. Also I think there is no meaning.
Selenium is focus on the correct and extensive functions of the application. Yet Jemter is focus on the performance of the system, so Jemter is working by testing only very little but typical functions of the system to estimate the performance of the system.
Even you can reuse selenium scripts in Jemter, there is still much work to do. So why don't we just directly use jmeter from the beginning?

Mark Collin

unread,
Sep 9, 2013, 5:12:43 AM9/9/13
to seleniu...@googlegroups.com
JMeter Plugins has a WebDriverSampler:

http://jmeter-plugins.org/wiki/WebDriverSet/

That being said I think it's pretty stupid to use your Selenium scripts to do performance testing.  You will spend a lot of you time manipulating the GUI with your Selenium tests, but load testing programs liek JMeter have no concept of GUI, they are all about hitting the server and requesting resources.
--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/3cd3cf8d.30d7.141006691b4.Coremail.13651877684%40163.com.
For more options, visit https://groups.google.com/groups/opt_out.

David Lai

unread,
Sep 9, 2013, 5:46:03 PM9/9/13
to seleniu...@googlegroups.com
I don't think there's much added value to using Selenium on top of Jmeter, or any java based load testing tool.

The idea of load test is to simulate the traffic profile of as many users as possible to test if a server can handle the load.  Selenium is designed more for user acceptance testing, where you are testing on the user experience.

You can however, use a load testing tool like Jmeter to take the load to say 90+% capacity, then run a separate Selenium test to verify if the user experience is greatly impacted.  This can give you some insight on how well your services degrade.  

Running multiple instances of Selenium will not buy much on the load testing end (in fact take away since you're wasting resources), and also multiple instances of selenium running on the same machine will introduce a large amount of unreliability in the test itself, and not produce any useful results.
Reply all
Reply to author
Forward
0 new messages