/orca

a modern performance testing toolkit, using JavaScript

Primary LanguageJavaScriptApache License 2.0Apache-2.0

npm version ci security analysis prettier check code style: prettier

A Node.js library to 'orca'-strate automated performance testing with a single API. Orca is a modern tool built for all aspects of performance testing, giving teams the ability to test all layers of the application stack. Conduct simple load tests, run end-to-end performance tests, audit page load times, gather resource bundle metrics, and more.

Install: npm i @wosp-io/orca

Simplest Working Browser Example

const { Browser } = require("../src/browser.js");

(async () => {
  await Browser.launch({ headless: true });
  await Browser.newPage();
  await Browser._page.goto("http://wosp.io");
  Browser.kill();
})();

Simplest Working HTTP Example

const { Http } = require("../src/http.js");

(async () => {
  Http.options({
    vus: 5,
    duration: 30,
    ips: 2,
  });
  Http.requests([
    {
      url: "http://httpbin.org/get",
      method: "GET",
    },
  ]);
  await Http.send();
})();

HTTP Load Test Report