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

7

25

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

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

Pesthole answered 22/11, 2008 at 23:54 Comment(1)
Stress test usually means testing the whole stack of software that delivers the information and is not necessarily bounded to a language. Another term would be performance testing. And You may also want to try functional web testing tools to test the most paths. Want you want is quite large.Manteau
R
3

This is definitely not a free solution, but webmetrics will get the job done. (As well as any website monitoring company in general). They give thorough reports on your web site's performance, and when you schedule load tests you can specify how much load you want to simulate (e.g. simulate 2000 users using my site at once).

I don't think it will break it down and tell you your CPU usage and such, as they stress your website from their servers.

Royalroyalist answered 23/11, 2008 at 1:9 Comment(0)
S
10

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?

Schwab answered 6/1, 2012 at 4:53 Comment(0)
G
5

WebLoad is open source:

http://www.webload.org/

Galatea answered 22/11, 2008 at 23:59 Comment(2)
After a Google search for Webload, I came upon this site: radview.com. They charge you a license fee and I couldn't find the open source link.Selwyn
Yeah, not only is it not open source it's very expensiveShiva
E
4

There's a good summary of tools here.

Elegist answered 23/11, 2008 at 1:4 Comment(3)
Oh man, but that stock photo on the link is awful!Secrecy
i just checked it again and man...it seeed they never changed their design since 2004 but they're still updating it! there's a google +1 widget at the bottom @_@Akilahakili
that abomination is still there!Pul
R
3

This is definitely not a free solution, but webmetrics will get the job done. (As well as any website monitoring company in general). They give thorough reports on your web site's performance, and when you schedule load tests you can specify how much load you want to simulate (e.g. simulate 2000 users using my site at once).

I don't think it will break it down and tell you your CPU usage and such, as they stress your website from their servers.

Royalroyalist answered 23/11, 2008 at 1:9 Comment(0)
D
3

Rails comes with performance testing built in: http://guides.rubyonrails.org/performance_testing.html

Deaden answered 29/6, 2012 at 0:33 Comment(2)
Anyone swear by this over other API's?Adessive
This is not part of rails anymore, andwas moved to rails-perftest gem.Edgar
B
2

You can try Trample, it is load simulation tool here

Burdelle answered 22/12, 2009 at 5:41 Comment(1)
looks like trample is now at github.com/jamesgolick/trample I've also heard of github.com/dbrady/tourbus and of course jmeter.Arneson
B
0

If you want to visualize performance instead of just look at the numbers you might try Engulf. It's Open Source Software, distributed, and high-performance. http://engulf-project.org/#usage Disclaimer: It's a project I work on.

Brushoff answered 20/12, 2012 at 7:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.