Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 75964 invoked from network); 3 Aug 2004 20:08:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Aug 2004 20:08:08 -0000 Received: (qmail 41853 invoked by uid 500); 3 Aug 2004 20:07:53 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 41782 invoked by uid 500); 3 Aug 2004 20:07:53 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 41759 invoked by uid 99); 3 Aug 2004 20:07:53 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [62.116.51.59] (HELO kerberos) (62.116.51.59) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 03 Aug 2004 13:07:48 -0700 Received: From mail.at.efp.cc ([62.116.51.60]) by kerberos (WebShield SMTP v4.5 MR1a); id 109156366578; Tue, 3 Aug 2004 22:07:45 +0200 Received: from [194.107.80.10] (wrpo.at.intra.efp.cc [194.107.80.10] (may be forged)) by mail.at.efp.cc (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id i73K79B28434 for ; Tue, 3 Aug 2004 22:07:29 +0200 Message-ID: <410FF05B.3000403@apache.org> Date: Tue, 03 Aug 2004 22:06:51 +0200 From: Reinhard Poetz User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Load-testing flowscript webapps References: <410FBF6A.9070904@apache.org> In-Reply-To: <410FBF6A.9070904@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Sylvain Wallez wrote: > Hi all, > > I want to do some automated load testing on a flowscript/cform > application involving a sequence of pages. The problem is that the > continuation IDs must be extracted from a page to be re-injected in > the next request. > > Have some of you already tackled this problem? > JMeter seems to have some obscure features related to form value > extraction [1] that maybe could do the job (haven't tested it), but I > would like to have a more general solution that could work easily with > any load-testing tool. > > My idea is to write a special implementation of ContinuationManager > that would produce IDs based on a counter stored in a session (meaning > each user has a different counter). That way, one can record a test > scenario using JMeter in proxy mode, and replay it with no modifications. > > I also plan to write an action that sets the value of the ID counter > so that a test scenario can force continuation numbering to an initial > known value. > > The drawback of this implementation compared to the current one is > that continuations become tied to the user session whereas in the > current implementation they are theoretically not session-related. > "theoretically" because in most cases there exists a global scope in > the flowscript that links a continuation to the user's session. > > WDYT? Do you have other ideas? > > [1] > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#HTML_Link_Parser > > I'm don't know all the load testing tools out there but wouldn't need each tool some functionality that makes it possible to read out values from a result page? If so, a "generic" solution isn't needed, is it. At least IMHO. This shouldn't stop you from writing this special ContinuationManager impl. ;-) How-to set up JMeter is described here: http://wiki.apache.org/cocoon/LoadTestingFlowWithJMeter -- Reinhard