Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 14289 invoked from network); 6 Feb 2007 05:35:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2007 05:35:11 -0000 Received: (qmail 64878 invoked by uid 500); 6 Feb 2007 05:35:15 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 64841 invoked by uid 500); 6 Feb 2007 05:35:14 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 64830 invoked by uid 99); 6 Feb 2007 05:35:14 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 21:35:14 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of justin.erenkrantz@gmail.com designates 66.249.82.227 as permitted sender) Received: from [66.249.82.227] (HELO wx-out-0506.google.com) (66.249.82.227) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Feb 2007 21:35:05 -0800 Received: by wx-out-0506.google.com with SMTP id t13so1682039wxc for ; Mon, 05 Feb 2007 21:34:44 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=Zr99YUB+xTr0xy/GwLI2XByka3kKWPVeJ+vcZugZd/5UXgA5ShBXY/pY79P5oY5gbsUYRHg8/ZFdGPbsXPaY1CCKu0cPuW0tH2iR3h+imm6e7Mk45hk6pvJKkoLs63y0DETkOvQuZ/Ow2f3thMZBVn9uUQF0qhe+N70xMjLkTdQ= Received: by 10.70.31.6 with SMTP id e6mr13557339wxe.1170740084222; Mon, 05 Feb 2007 21:34:44 -0800 (PST) Received: by 10.70.48.17 with HTTP; Mon, 5 Feb 2007 21:34:44 -0800 (PST) Message-ID: <5c902b9e0702052134h73631b9ah6af1234ed70f5981@mail.gmail.com> Date: Mon, 5 Feb 2007 21:34:44 -0800 From: "Justin Erenkrantz" Sender: justin.erenkrantz@gmail.com To: dev@httpd.apache.org Subject: Re: Issue with Flood's responsetemplate / resonsename? In-Reply-To: <45C7C0AD.6000603@meatclown.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <45C7C0AD.6000603@meatclown.com> X-Google-Sender-Auth: c657e3a8977e8535 X-Virus-Checked: Checked by ClamAV on apache.org On 2/5/07, John Cook wrote: > Hello, > > I'm currently having issues with flood that I can't currently replicate > with any of my other load / stress testing tools. > I'm running a version of flood checked out of the subversion repository > from mid January (1/16/07) on an Unbutu 6.10 > server. > > I am currently trying to automate a load test for a page that has a form > field on it. > Its a pretty simple test: > > 1. Get the page > 2. Edit the page > 3. Preview the changes > 4. Save the changes > 5. Get the updated page > Rinse. Lather. Repeat. > > Here is the corresponding snippet of my XML... > > http://172.16.0.50:8080/ > /Flood > /Flood&noregex > > responsetemplate="cols="100">([^<]*)</textarea>" > responsename="form">/Flood?editi&regex Note the 'editi' here - not sure if that's intentional on your part though. It could explain why the GET is failing. What status code is being returned by the GETs? Is it a 200 as you expect? > Content-Type="application/x-www-form-urlencoded" > payloadtemplate="markup=test+from+flood${form}&action=preview">/Flood?edit&preview > Content-Type="application/x-www-form-urlencoded" > > payloadtemplate="markup=test+from+flood${form}&action=save">/Flood?edit&save > /Flood > The rest looks right at first glance - though I'm wondering if you're hitting quoting issues. > The issue I am seeing can clearly be seen in the report: > Connect Write Read Close Hits URL > 0.0190 0.0190 20.0329 20.0337 50 > http://172.16.0.50:8080/Flood?edit®ex > 0.0174 0.0174 0.0183 0.0183 50 > http://172.16.0.50:8080/Flood?edit&noregex > 0.0128 0.0128 0.0139 0.0139 50 > http://172.16.0.50:8080/Flood?edit&save > 0.0095 0.0096 0.0105 0.0105 100 http://172.16.0.50:8080/Flood > 0.0003 0.0003 0.0019 0.0019 50 > http://172.16.0.50:8080/Flood?edit&preview > > The read time for GETs with a regex is completely out of line with all > of my other queries. On larger test runs, > the read times can will return values in one of 3 bands: sub 1 second, > 10 seconds, or in the 20 sec range (like this test). > > Is there something very wrong with my config? Or is the > responsetemplate / responsename functionality broken? > I have mimicked this test with wget, some command line tools, and siege, > but have yet to validate flood's results. > > Any help on this would be greatly appreciated. > Let me know if you need more information. AFAIK, it should work. examples/round-robin-dynamic.xml should show the right usage. (If you have an old checkout, I just removed the requestparamcount as those aren't needed.) If it isn't the typo above, what does a network trace with Ethereal show? HTH. -- justin