{"_id":"webnull","_rev":"7-d857a397324a7b3dd8bdd0afa8aa0257","name":"webnull","description":"web/null eats your HTTP. a useful tool to assist with stress, performance and experiment testing.","dist-tags":{"latest":"0.0.4"},"versions":{"0.0.3":{"name":"webnull","version":"0.0.3","author":{"name":"Dotan Nahum"},"description":"web/null eats your HTTP. a useful tool to assist with stress, performance and experiment testing.","homepage":"https://github.com/jondot/webnull","preferGlobal":true,"bin":{"webnull":"webnull.js"},"dependencies":{"connect":">=1.0.0","commander":">=0.3.2"},"_npmUser":{"name":"jondot","email":"jondotan@gmail.com"},"_id":"webnull@0.0.3","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"ed078fda5a71a221aa85379996cde01a4d9da41a","tarball":"https://registry.npmjs.org/webnull/-/webnull-0.0.3.tgz","integrity":"sha512-9jP8aOGjKyDctR/9uZ0quoSBnuwz0LaSGu9rPmqN3jZs0UslGgKwP/q+bUNAKDlb23P1fRQZcgiIMqbHBd6ycQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuO2Omdd2DtA4QzCNmEaAquiDryQJlI56xXFewAjl03wIgfUxdNcZ+fHUkVslz4pdNeFilk1GFujQoQDbfxUyZi3E="}]},"maintainers":[{"name":"jondot","email":"jondotan@gmail.com"}]},"0.0.4":{"name":"webnull","version":"0.0.4","author":{"name":"Dotan Nahum"},"description":"web/null eats your HTTP. a useful tool to assist with stress, performance and experiment testing.","homepage":"https://github.com/jondot/webnull","preferGlobal":true,"bin":{"webnull":"webnull.js"},"dependencies":{"connect":">=1.0.0","commander":">=0.3.2"},"_npmUser":{"name":"jondot","email":"jondotan@gmail.com"},"_id":"webnull@0.0.4","devDependencies":{},"engines":{"node":"*"},"_engineSupported":true,"_npmVersion":"1.0.105","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"e4504a0ebd12a6a7503ac8bf571efebd9316a234","tarball":"https://registry.npmjs.org/webnull/-/webnull-0.0.4.tgz","integrity":"sha512-3GDGHYz78l/6xn2vDgSTjfcT+5nWXHCF9abMdrot02B/vUO4lEWTOEoujCiTmqt90vI3cvSFtdfF8Jezv/m+ig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEn1Sos3PcuC5DIY7Qem1fNb5dBM8h77p/RElO7TiJs+AiApFd5EeXKHSy6Xu/RlYbPsuqTMk6D/OWEd1lv36TVU6A=="}]},"maintainers":[{"name":"jondot","email":"jondotan@gmail.com"}]}},"readme":"# web/null\n\nweb/null is `/dev/null` for the Web. It silently agrees with and eats up any request\nbeing `VERB`d to it, and keeps statistics of it.  \n\nweb/null is great to use as a diagnostics end-socket of any distributed system you\nhave, that works against another system sitting at an HTTP endpoint.  \n\nReplace any service with it, in order to have a real peek at what\nyour other services are doing.  \n\nweb/null is extremely useful (and being used) for getting stats data during stress\ntesting a complex system.  \n\n## Quick Start\n\nclone this repository and run\n\n    $ npm install\n\nYou should then be able to run\n\n    $ node webnull\n    == web/null v0.0.1. I eat your HTTP. ==\n    * Listening on port 4000.\n    * Flushing to webnull.log every 10 seconds.\n\nAnd now just experiment. Here is apachebench\n\n    $ ab -n 10000 -c 10 \"http://localhost:4000/\"\n\nSample output, human-readable (debug)\n\n    ...\n    127.0.0.1 - - [Wed, 09 Nov 2011 13:35:36 GMT] \"GET / HTTP/1.1\" 200 - \"-\" \"Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1\"\n    127.0.0.1 - - [Wed, 09 Nov 2011 13:35:36 GMT] \"GET /favicon.ico HTTP/1.1\" 200 - \"-\" \"Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.202 Safari/535.1\"\n    1320845743    51 req(total)\t0 bytes(total)\t51 reqs\t0 bytes\t5.1 req(s)\t0 bytes(avg)\n\nSample output, CSV (webnull.log)\n\n    ...\n    1320845743,51,0,51,0,5.1,0\n\n## Doing more\n\nHere's how help looks like:\n\n    $ node webnull --help\n    Usage: webnull [options]\n\n    Options:\n\n      -h, --help                    output usage information\n      -V, --version                 output the version number\n      -d, --debug                   Show when flush happens.\n      -c, --canned-response [file]  Existing file name to read a response from.\n      -o, --output [file]           File name to output to.\n      -i, --interval [seconds]      Flush interval.\n      -p, --port [number]           Port to listen on.\n\n## Contributing\n\nFork, implement, add tests, pull request, get my everlasting thanks and a respectable place here :).\n\n\n## Copyright\n\nCopyright (c) 2011 [Dotan Nahum](http://gplus.to/dotan) [@jondot](http://twitter.com/jondot). See MIT-LICENSE for further details.\n\n","maintainers":[{"name":"jondot","email":"jondotan@gmail.com"}],"time":{"modified":"2022-06-28T23:35:47.632Z","created":"2011-11-13T19:34:57.041Z","0.0.3":"2011-11-13T19:35:00.912Z","0.0.4":"2011-11-13T19:36:29.161Z"},"author":{"name":"Dotan Nahum"}}