jeffbski / bench-rest

bench-rest - benchmark REST (HTTP/HTTPS) API's. node.js client module for easy load testing / benchmarking REST API's using a simple structure/DSL can create REST flows with setup and teardown and returns (measured) metrics.
MIT License
303 stars 51 forks source link

Make end() work on errors in beforeMain #3

Closed kintel closed 10 years ago

kintel commented 10 years ago

If an error happens in beforeMain, stats.main isn't initialized.

jeffbski commented 10 years ago

Thanks for finding this and submitting a pull request! Committed and published as bench-rest@0.5.3