New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@matzkoh/node-gatling

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matzkoh/node-gatling

A tool that send huge number of http(s) requests.

  • 1.1.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

CircleCI David npm node License

node-gatling

What is this?

A tool that send huge number of http requests.

How to use

const { Gatling } = require('..');

(async () => {
  const gun = new Gatling('https://example.com/');

  await gun.start(10000).printInfo();

  // WARN: Infinity
  // await gun.start().printInfo();
})();

Also in example/example.js.

$ node example/example.js
sockets: 169
request: 16265
success: 16265
  error: 0
    qps: 1526.00
max qps: 1594.00
  • sockets
    • number of socket connections that is in use
  • request
    • number of requests
  • success
    • number of responses
  • error
    • number of error responses
  • qps
    • current qps (queries per second)
  • max qps
    • max qps in this Gatling

Features

  • Specify http method
    • new Gatling(method, url)
  • Change UA
    • gatling.setUserAgent(ua)
  • Intercept
    • gatling.stop()

Keywords

FAQs

Package last updated on 16 Jun 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc