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
const { Browser } = require("../src/browser.js");
(async () => {
await Browser.launch({ headless: true });
await Browser.newPage();
await Browser._page.goto("http://wosp.io");
Browser.kill();
})();
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();
})();