Socket
Book a DemoInstallSign in
Socket

symphoner

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

symphoner

Load/performance testing framework

1.0.0-alpha.3
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

Symphoner

Load/performance testing framework

Install

npm install symphoner

Usage

Read the framework's documentation.

Examples

Testing a REST API

const Symphoner = require( "symphoner" );
const time = require( "symphoner/time" );

const symphoner = new Symphoner( {
	statsd: {
	    host: "localhost",
	    port: 8125
	}
} );

symphoner.run( {
    phases: [
        {
            duration: time( 20 ).minutes,
            clients: 20,
            arrivalRate: time( 10 ).seconds
            scenarios: [
                {
                    distribution: 80, // %
                    action: "read-test.js"
                },
                {
                    distribution: 20, // %,
                    action: "write-test.js"
                }
            ]
        }
    ]
} );

License

MIT © Miguel Aragón, Rodolfo Aguirre

Keywords

load

FAQs

Package last updated on 15 Feb 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.