Skip to content

JavaScript application for programatically running load tests and extracting results from Loader.io.

Notifications You must be signed in to change notification settings

godfreydoo/retrieve-loaderio-test-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

retrieve-loaderio-test-data

This application helps you perform your load testing on Loader.io by

  1. sequentially executing prepared tests with the same duration,
  2. extracting test results from current run, and
  3. writing to a CSV file for further analysis.

Limitations

  • assumes all tests have the same duration
  • includes a buffer time between running the next test (you could change the core functions to check for the status before running subsequent tests)

Installation

  1. Fork and clone this repository.
  2. Install dependencies
$ npm install
  1. Create a .env file with your Loader.io API key. An example file has been provided. You can find your API key in Settings > API.
  2. Update index.js file with your test configurations.
  • duration is the duration of your test cases.
  • buffer is a buffer time between when the next test case runs. This is important, as Loader.io does not allow for more than one running test at once.
  1. Ensure your application is running as Loader.io will need to verify your token.
  2. Run to start tests. Application will retrieve all your tests for you so you don't have to input your test name and test id.
node index.js
  1. A CSV file will be created once finished.

More information about Loader.io's API documentation can be found here.

About

JavaScript application for programatically running load tests and extracting results from Loader.io.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published