January 2019
Intermediate to advanced
520 pages
14h 32m
English
Drill is more complex and lets you perform load tests on microservices. It not only sends batches of requests, it also uses a testing script to produce a sequence of activities. It helps you to perform a load test that you can use to measure performance of the entire application.
To install drill, use the following command:
cargo install drill
After it's installed, you have to configure the load testing you will perform. Create a benchmark.yml file and add the following load test script:
--- threads: 4 base: 'http://localhost:8080' iterations: 5 rampup: 2 plan: - name: Index Page request: url: /
To start testing using this script, run the following command:
drill --benchmark benchmark.yml --stats
It will perform a load test of your ...
Read now
Unlock full access