Changing POST data used by Apache Bench per iteration
Posted
by Alabaster Codify
on Stack Overflow
See other posts from Stack Overflow
or by Alabaster Codify
Published on 2010-04-08T19:35:07Z
Indexed on
2010/04/09
0:43 UTC
Read the original article
Hit count: 468
I'm using ab to do some load testing, and it's important that the supplied querystring (or POST) parameters change between requests.
I.e. I need to make requests to URLs like:
http://127.0.0.1:9080/meth?param=0
http://127.0.0.1:9080/meth?param=1
http://127.0.0.1:9080/meth?param=2
...
to properly exercise the application.
ab seems to only read the supplied POST data file once, at startup, so changing its content during the test run is not an option.
Any suggestions?
© Stack Overflow or respective owner