What test harness tool/framework can test concurrent requests in a Rails app?

ruby, ruby-on-rails, testing

Solution

I use jMeter, although the UI is a little rough IMO. I ended up sharing a lot of code between my easyb (Groovy-based) specs and a mini-DSL I used to create jMeter config/execution files (XML) so redundancy between specs and load testing was reduced. The same should be doable in Ruby as well.

JMeter allows concurrent testing, ramp-ups, all sorts of stuff. I don't know if it does everything a commercial tool does, but I've used it for a long time on a wide range if apps and it's been, more or less, satisfactory.

Problem

How can I test my Rails app with N concurrent users? These simulated users will do some actions like upload/download files, etc. Are there any frameworks or free tools that support this?

Original source

Related problems