jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evandro Grezeli <grezeli.evan...@gmail.com>
Subject Re: extract hidden form values and add them to a post request dynamically?
Date Fri, 05 Feb 2010 21:43:52 GMT
Are you under testing a .NET app?

If yes, i tried to extract hidden values from the footer of the asp page,
but the jmeter didn't handle it very well. There's also a page on the JMeter
Wiki with a comment about the extraction of random values from .net, but no
luck for me.


On Fri, Feb 5, 2010 at 7:17 PM, Andreas Niemeyer <
andreas.niemeyer@gutzmann.com> wrote:

> Hi,
>
> I want to send a http post sample with dynamic request parameters which
> comes from a previos request.
>
> To extract the values from the form I use a regex extractor and want to
> loop through the result list of key/value pairs.
>
> Is it possible to add these parameters to the request within a foreach
> loop?
>
> The sequence might be:
>
> - http request
>        - extract form values (hidden fields)
>        - loop in a foreach controller
>                - add each extracted value pair as request parameter (how?)
>
> - send POST request
>
>
> Maybe an alternative way exist? If there is a proposal to use a BeanShell
> Pre-Prozessor for such a case, could you be so kind and give me an example?
>
>
>
> Many thanks in advance,
> Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>


-- 
Atenciosamente
Regards
Evandro Grezeli de B. Neves

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message