You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/07/27 13:38:35 UTC
DO NOT REPLY [Bug 42985] New: - Enhancement to ab to support variable requests
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42985>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42985
Summary: Enhancement to ab to support variable requests
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: support
AssignedTo: bugs@httpd.apache.org
ReportedBy: miles.chris@gmail.com
We need ab to be able to make requests containing variable parameter values. This patch adds an option
(-R) which specifies a user-generated file containing lines which ab will append to the base URL for every
request, in the order they are read from the file. If the end of file is reached before testing is complete, it
will repeat from the first line in the file again.
Example explains this easier:
User creates a file called requests.txt containing:
&P=government
&P=O.J.+Simpson+trial
&P=george+bush
With the patch applied, ab can be called with "-R requests.txt" to append each of the lines to the requests
it makes.
$ ab -n 5000 -c 1 -R requests.txt http://10.0.0.1/search?db=test
This will cause ab to create requests:
http://10.0.0.1/search?db=test&P=government
http://10.0.0.1/search?db=test&P=O.J.+Simpson+trial
http://10.0.0.1/search?db=test&P=george+bush
http://10.0.0.1/search?db=test&P=government
http://10.0.0.1/search?db=test&P=O.J.+Simpson+trial
and so on.
The patch is generated against httpd svn trunk (r560191).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42985] - Enhancement to ab to support variable requests
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42985>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42985
------- Additional Comments From miles.chris@gmail.com 2007-07-27 04:40 -------
Created an attachment (id=20555)
--> (http://issues.apache.org/bugzilla/attachment.cgi?id=20555&action=view)
Patch to ab to add -R option for variable requests.
Patch generated against httpd svn trunk (r560191).
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 42985] - Enhancement to ab to support variable requests
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42985>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42985
miles.chris@gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org