This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --[[ | |
| This is an example of a wrk/wrk2 script to dynamically generate a range of GET requests for load testing. | |
| you can run it by tying something similar to the following | |
| ./wrk -t15 -c 15 -d 600s -R1 -s order-query.lua http://localhost:8080 | |
| NOTE: Noticed that the requests are dynamically generated once, given to all the threads | |
| i.e you see request-a t times, then request-b t times. | |
| Ideally i'd like each thread to send a dynamically generated request for each request, | |
| What I see now is the group of threads getting a dynamically generated request. |