1.0.4 • Published 10 years ago

sse-test v1.0.4

Weekly downloads
5
License
ISC
Repository
github
Last release
10 years ago

sse-test

Node app that creates SSE connections to a server and logs messages

Installation

Deploy

OR

$ npm install sse-test

Usage

$ export CLIENT_COUNT=100
$ export SATELLITE_URL=yourServerUrl
$ export TOKEN=authTokenForSatellite
$ babel-node main.js

How it works

The app runs tests with $CLIENT_COUNT as the maximum number of SSE clients per test. For each test, the app picks a random number of SSE clients and a message to be sent on a random channel. If all clients receive the message, it prints WORKS (or FAIL) and closes the clients.

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago