Name: rocket
Owner: World Wide Web Consortium
Description: simple stress testing API for node application using socket io
Created: 2014-10-16 14:05:05.0
Updated: 2017-12-29 04:00:08.0
Pushed: 2015-11-30 06:09:19.0
Homepage: null
Size: 11
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
rocket is a simple stress-testing API for Node.js applications, made with socket.io.
install -d
To use rocket you have to configure the file named 'conf.json' in the lib repository like that:
create an empty json object.
add your target. i.e the url of the application to test with rocket. It could be a local url.
"target": "http://example.com"
then, add client profiles tab.
"target": "http://example.com",
"profiles": []
this profile tab contain all kind of clients you need to simulate.
create a client profile.
"start": {
"event": "name_start_event", //name of the event which will start the application
"data": {} //data to sent with start event
},
"checkpoints": ["name_checkpoint1", "name_checkpoint2", ...], //checkpoints event received by the server side
"stop": "name_stop_event", //received event which will stop the client
"counter": 10 //number of clients
example config file
"target": "http://example.com",
"profiles": [
//client profile
{
"start": {
"event": "name_start_event", //name of the event which will start the application
"data": {} //data to sent with start event
},
"checkpoints": ["name_checkpoint1", "name_checkpoint2", ...], //checkpoints event received by the server side
"stop": "name_stop_event", //received event which will stop the client
"counter": 10 //number of clients
},
//client profile
{
"start": {
"event": "name_start_event", //name of the event which will start the application
"data": {} //data to sent with start event
},
"checkpoints": ["name_checkpoint1", "name_checkpoint2", ...], //checkpoints event received by the server side
"stop": "name_stop_event", //received event which will stop the client
"counter": 5 //number of clients
}
]
run rocket
lib/rocket.js -f
not available yet.
Copyright (c) 2014 Guillaume Baudusseau MIT
I especially would like to thank deniak and tripu for helping me to find a wonderful name for a wonderful tool.