BrowserUp provides an easy way to load test using Ruby.
You can run Ruby load tests with any of the following:
- Selenium/Capybara
- Cuprite
- Typhoeus
- Your own REST client code
To see a working example for plain ruby:
browserup load init --ruby
Or to see a browser-based example with Capybara/Selenium:
browserup load init --selenium-ruby
By default, BrowserUp packages Ruby 3.2 in it’s standard image. The browser/standard image comes with the following Ruby gems pre-installed:
- rspec
- cucumber
- faraday
- capybara
- capybara-selenium
- cuprite
- typhoeus
- selenium-webdriver
- webdrivers
Take a look at our Quick Start for more information on how to run your load test.
This will create a simple working Ruby script, and a browserup.load.yaml file for you to define your load test.
Note that we generated a scaffold with example code of only one kind, but
the test config is generic, and can run any or all of the supported profile types:
JavaScript, Java, Ruby, Python, PostMan, PlayWright, Custom and more.