Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to stress test a rails web app? [closed]

Are there any good (preferably free) tools out there?

Can they give accurate estimates that reflect production results when the app goes live?

like image 923
Andykiteman Avatar asked Nov 22 '08 23:11

Andykiteman


People also ask

Can JMeter be used for stress testing?

Apache JMeter – Jmeter is an Open Source testing tool. It is a pure Java application for stress and Performance Testing. LoadRunner – LoadRunner from HP is a widely-used Testing tool. Stress test results provided by Loadrunner are considered as a benchmark.

Which tool can be used for stress testing of application?

LoadrunnerLoadrunner from HP is the widely used tool to perform stress testing and the results provided by Loadrunner are considered as a benchmark.

How do I run a test case in rails?

Or we can run a single test file by passing the bin/rails test command the filename containing the test cases. This will run all test methods from the test case. You can also run a particular test method from the test case by providing the -n or --name flag and the test's method name.


2 Answers

I would personally go with Apache Bench http://httpd.apache.org/docs/2.0/programs/ab.html

It's free, straight forward to use and lightweight.

If you are looking for a something a little more robust then I think Apache JMeter might be worth looking at. http://jmeter.apache.org/. Again, it's free, a bit of a learning curve and has a GUI so a little heavier.

You might also want to take a look at this Q/A Performing a Stress Test on Web Application?

like image 113
Matt Smith Avatar answered Sep 22 '22 13:09

Matt Smith


WebLoad is open source:

http://www.webload.org/

like image 44
BobbyShaftoe Avatar answered Sep 23 '22 13:09

BobbyShaftoe