Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 3058 invoked from network); 27 Jul 2007 11:38:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 11:38:59 -0000 Received: (qmail 99195 invoked by uid 500); 27 Jul 2007 11:38:59 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 99151 invoked by uid 500); 27 Jul 2007 11:38:59 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 99135 invoked by uid 99); 27 Jul 2007 11:38:59 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 04:38:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED,NORMAL_HTTP_TO_IP X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 11:38:56 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id CA1AF7141F1; Fri, 27 Jul 2007 04:38:35 -0700 (PDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 42985] New: - Enhancement to ab to support variable requests Message-ID: X-Bugzilla-Reason: AssignedTo Date: Fri, 27 Jul 2007 04:38:35 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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