drill icon indicating copy to clipboard operation
drill copied to clipboard

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

Open patrickelectric opened this issue 3 years ago • 3 comments

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.

patrickelectric avatar Sep 02 '20 21:09 patrickelectric

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

fcsonline avatar Sep 02 '20 21:09 fcsonline

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.

patrickelectric avatar Sep 02 '20 22:09 patrickelectric

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.

fcsonline avatar Sep 04 '20 15:09 fcsonline