Return-Path: Delivered-To: apmail-jakarta-jmeter-user-archive@www.apache.org Received: (qmail 56356 invoked from network); 15 Jun 2005 18:36:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Jun 2005 18:36:52 -0000 Received: (qmail 23431 invoked by uid 500); 15 Jun 2005 18:36:51 -0000 Delivered-To: apmail-jakarta-jmeter-user-archive@jakarta.apache.org Received: (qmail 23140 invoked by uid 500); 15 Jun 2005 18:36:50 -0000 Mailing-List: contact jmeter-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "JMeter Users List" Reply-To: "JMeter Users List" Delivered-To: mailing list jmeter-user@jakarta.apache.org Received: (qmail 23127 invoked by uid 99); 15 Jun 2005 18:36:49 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from smtp1.phx.gblx.net (HELO smtp1.phx.gblx.net) (64.208.25.103) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 15 Jun 2005 11:36:43 -0700 Received: (from daemon@localhost) by smtp1.phx.gblx.net (8.11.2/8.11.2) id j5FIaXm14095 for ; Wed, 15 Jun 2005 11:36:33 -0700 (MST) Received: from UNKNOWN(209.130.177.141), claiming to be "[10.60.93.60]" via SMTP by smtp1, id smtpdAAAWHaGHB; Wed Jun 15 11:36:33 2005 Subject: Re: Dynamic forms w/ Jmeter From: Michael Stover Reply-To: mstover1@apache.org To: jmeter-user@jakarta.apache.org In-Reply-To: <46231.12.47.223.8.1118859275.squirrel@pointer.webappcabaret.net> References: <26963.12.47.223.8.1118852888.squirrel@pointer.webappcabaret.net> <25aac9fc050615094550de238d@mail.gmail.com> <32083.12.47.223.8.1118855098.squirrel@pointer.webappcabaret.net> <1118856389.5036.40.camel@P78WVP51-udp504000uds.ams.gblxint.com> <52329.12.47.223.8.1118857517.squirrel@pointer.webappcabaret.net> <1118858210.5036.43.camel@P78WVP51-udp504000uds.ams.gblxint.com> <46231.12.47.223.8.1118859275.squirrel@pointer.webappcabaret.net> Content-Type: text/plain Organization: Apache Software Foundation Date: Wed, 15 Jun 2005 14:33:47 -0400 Message-Id: <1118860430.5036.46.camel@P78WVP51-udp504000uds.ams.gblxint.com> Mime-Version: 1.0 X-Mailer: Evolution 2.0.0-1mdk Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I would agree with that strategy. In fact, it's not so different from what the HTML Link Parser does currently. -Mike On Wed, 2005-06-15 at 14:14 -0400, Rob Butler wrote: > If you do implement this, I think it might be easy to do as a > pre-processor. That way it can add the params from the context vars > before the request is sent. > > So a RegEx post-processor would collect the vars, and then the > pre-processor would plug em into the next request. I don't *need* this > now, because my app is only going to have 10 rows max, so I can just build > it to handle up to 10 rows statically. Otherwise, I'd build the > pre-processor now. I bet it wouldn't be too hard. > > Rob > > > If it's any consolation, I'd be hard put to come up with a more useful > > single improvement to JMeter right at this moment. What that means is > > that, if my current employer ever requires me to do serious work with > > JMeter, I'll probably implement it. :-) > > > > -Mike > > > > On Wed, 2005-06-15 at 13:45 -0400, Rob Butler wrote: > >> YES! Darn.. > >> > >> Thanks. > >> > >> > If I understand you right, you need a foreach construct within the > >> HTTP > >> > Sampler's argument list. That would be a very useful thing, I think, > >> > but right now, JMeter doesn't do anything like that. > >> > > >> > -Mike > >> > > >> > On Wed, 2005-06-15 at 13:04 -0400, Rob Butler wrote: > >> >> Yes, I have. My understanding of the ForEach controller is that it > >> will > >> >> execute a separate HTTP Request sample for each entry in a RegEx > >> list. > >> >> That will not do what I need. I need to submit *one* request that > >> >> contains all the name/value pairs that I collected. Is there an > >> >> alternate > >> >> means of using the ForEach controller to do that? > >> >> > >> >> If so, could you explain in detail how to use the ForEach controller > >> in > >> >> that manner, because the docs and wiki samples I have read were not > >> >> clear > >> >> at all on doing that. > >> >> > >> >> Thanks again! > >> >> Rob > >> >> > >> >> > Have you looked at the ForEach Controller? > >> >> > > >> >> > http://jakarta.apache.org/jmeter/usermanual/component_reference.html#ForEach_Controller > >> >> > > >> >> > S. > >> >> > On 6/15/05, Rob Butler wrote: > >> >> >> Hello all, > >> >> >> > >> >> >> I am attempting to perf test a web app with jmeter, but I don't > >> know > >> >> how > >> >> >> to solve a particular issue I am running into. > >> >> >> > >> >> >> One particular page in the app can return a dynamic number of rows > >> of > >> >> >> data. The number of rows is dependent upon the individual user's > >> >> >> information in a DB. There is no way of knowing ahead of time how > >> >> many > >> >> >> rows there are. > >> >> >> > >> >> >> What I would like to do is capture (using regex's) the form data > >> that > >> >> is > >> >> >> returned in the response, and use that as the parameters to the > >> next > >> >> >> request. > >> >> >> > >> >> >> Using the Regular Expression Extractor I can easily get all the > >> data > >> >> and > >> >> >> field names as a list of capture groups. The problem is, how do I > >> >> then > >> >> >> dynamically build the parameters that will be used in the next > >> >> request? > >> >> >> In the HTTP Request sampler I can put a field name, and use a > >> dynamic > >> >> >> value, but that won't do what I need. I need to use dynamic field > >> >> names > >> >> >> and dynamic values in the request. Is this possible? How do I do > >> >> it? > >> >> >> > >> >> >> Thanks > >> >> >> Rob > >> >> >> > >> >> >> > >> >> >> --------------------------------------------------------------------- > >> >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> >> >> For additional commands, e-mail: > >> jmeter-user-help@jakarta.apache.org > >> >> >> > >> >> >> > >> >> > > >> >> > --------------------------------------------------------------------- > >> >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> >> > For additional commands, e-mail: > >> jmeter-user-help@jakarta.apache.org > >> >> > > >> >> > > >> >> > >> >> > >> >> > >> >> --------------------------------------------------------------------- > >> >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > >> > > >> > > >> > > >> > --------------------------------------------------------------------- > >> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > >> > > >> > > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > >> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: jmeter-user-help@jakarta.apache.org