0.3.2 • Published 3 years ago

@wosp-io/orca v0.3.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

npm version npm.io 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

0.3.2

3 years ago

0.3.0

3 years ago

0.3.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.1

3 years ago

1.0.0

3 years ago