Ruby web testing framework?

I’m doing some performance testing of our web server software. Is
there a Ruby framework for driving such tests … I couldn’t see
anything on RAA.

The features I’m looking for are:

Client

  • replay requests (in the form of URLs and/or POST data)
  • replay requests with changed parameters
  • record timings (first byte, last byte)

Framework

  • specify test runs
    • which client requests, ordering, #times to repeat test
  • synchronisation
    • wait for all clients to complete
    • restart server for each test (server process aging problems!)
  • gather and process client test results

If there’s nothing currently available, I’ll see if I can persuade
management to release whatever we develop (assuming we do end up
developing something).

Thanks!

– George

I’m doing some performance testing of our web server software. Is
there a Ruby framework for driving such tests … I couldn’t see
anything on RAA.

The features I’m looking for are:

Client

  • replay requests (in the form of URLs and/or POST data)
  • replay requests with changed parameters
  • record timings (first byte, last byte)

Framework

  • specify test runs
    • which client requests, ordering, #times to repeat test
  • synchronisation
    • wait for all clients to complete
    • restart server for each test (server process aging problems!)
  • gather and process client test results

How about webunit? It’s a unit testing framework for websites,
sounds close to what you want:

http://raa.ruby-lang.org/list.rhtml?name=webunit

···


In specifications, Murphy’s Law supersedes Ohm’s.
Rasputin :: Jack of All Trades - Master of Nuns