fcsonline / drill

Drill is an HTTP load testing application written in Rust
GNU General Public License v3.0
2.09k stars 111 forks source link

Is it possible to run the tool in the command line to test a single endpoint ? #82

Open patrickelectric opened 4 years ago

patrickelectric commented 4 years ago

From the help and the README it appears that it can only run in swagger files, but it would be nice to provide a parameter to run in a single endpoint for local test.

fcsonline commented 4 years ago

The initial goal of drill was to provide a tool to execute test plans with dependencies between them, like jmeter. If you are searching a tool to test a single endpoint, there are other alternatives like Apache Benchmark ab

patrickelectric commented 4 years ago

Thanks @fcsonline, I did create a simple configuration file to test drill, and I was really happy with it. I second suggestion, what you think about periodic requests ? I know that benchmarks and stress tests are helpful, but sometimes we may want to test simpler scenarios to get some more realistic data. Like: 100 clients that will request the API with 10Hz frequency and etc.

fcsonline commented 4 years ago

I'm not really sure to understand you when you say "periodic requests". About the scenario you said, you can configure the load that drill will perform with iterations and concurrency settings. There is is no frequency setting. I'm not sure if the delay directive can help you with your use case.