jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stover <mstov...@apache.org>
Subject Re: Dynamic forms w/ Jmeter
Date Wed, 15 Jun 2005 17:26:29 GMT
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 <rbutler@chariotsolutions.com> 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


Mime
View raw message