LoadWise

Simple and affordable web load testing

Version 0.6.0

Windows XP +

Preview Load Test

The test framework used in LoadWise is RWebSpec. Different from any other load testing tools/frameworks, with RWebSpec you can Preview execution of load test script in browser (single virtual user of course).

Example

For inpatient readers, just double click c:\jrubyshell\samples\demo-preview.bat. An automated test will be run in current Firefox window: google search 'itest2'. You may say it is functional testing, not load testing. That's correct, but in RWebSpec, it can use the same script to do load testing without modification! And here it is.

RWebSpec Load Test Script
  it "Can sign in with concurrent users" do
    stats = run_with_virtual_users() {
      browser = open_browser("http://agiletravel.herokuapp.com")
      log_time("Open home page") { browser.goto_page("/") }
      browser.enter_text("username", "agileway")
      browser.enter_text("password", "test")
      log_time("Sign in") { browser.click_button("Sign in") }
      browser.text.should include("Welcome agileway")
    }
  end

Run your own test

To preview a load test (we use search_rwebspec.rb as the example), In MS Windows, start a 'Command Window'

> cd c:\jrubyshell
> loadtest-preview samples\google\search_rwebspec.rb
Now try yours!