Any one know about a load test tool like "Apache Bench" to send variable URLs. (Same server, but different Query Strings)
For example,
ab -text list.txt -n 1000 http://test.com/search?
list.txt
name=abc&age=10 name=pqr&age=20 anything=anything&age=30 ......
Note : Actually there is no such option -text in apache bench
Vegeta is an HTTP load testing tool written in Go that can be used as a command in a command-line interface or as a library. The program tests how an HTTP-based application behaves when multiple users access it at the same time by generating a background load of GET requests.
Try siege as it offers what you need. You could create url files that use bash like parameters so that you don't have to repeat yourself. It also support basic auth, POST, a login url and much more.
siege -f urls.txt
urls.txt:
URL=https://www.example.com/ $(URL)index.php?ab=1 $(URL)site.php?different=12
You can find more here: http://www.joedog.org/siege-home/
You can use this following project apachebench for multiple urls Apache Bench for Multiple URL
Supported Multi URL requests for ApacheBench. You can set URL list as '-L filename' and also confirm response of document length for each requests.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With