I am using Mac OS X, on terminal i did:
$ sudo npm install node-siege
to install siege. And i can see node-siege folder created and installed in my folder. But when i run anything with siege, it gives me -bash: siege.config: command not found
not very sure why. siege.config, or any command with siege. It gives me the command not found.
Edit I installed Siege now it is in my folder, and i can run it.
I have a siege.test.js
var siege = require('../../siege')
// Assuming i supposed to change the script below to the directory path then + the file to run??
// For example var siege = require(Localhost/testfolder+'/testthisfile.js')
//siege(__dirname + '/app.js')
siege()
.host('localhost')
.on(3000)
.concurrent(30)
.for(10000).times
.get('/')
.post('/')
.attack()