jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Viewstate Doubt
Date Wed, 20 Jan 2010 18:51:06 GMT
>and then it keep "incrementing"
Irrespective of the mechanism , there is an input type="hidden" on each and
every page
>but i was trying to figure it out if i have to replicate in each assert the
Regex,
I assume you mean that you have to have a Post Processor for each
HTTPSample. The answer is yes. However if say you have a Simple Controller
which has 3 HTTP Samplers then by adding the RegEx PostProcessor as a child
of the simple controller (instead of child of each HTTPSample), it will get
executed for each HTTP Sampler (i.e. 3 times) so you can get away by having
the Post Processor once , but executed multiple times.

>Also, shouldn't be another regex to sum the viewstate value from the first
one till the last one?
No. The regex extracts the value of whatever the Viewstate field has. (The
mechanism used on the server to generate the ViewState is irrelevant)

regards
deepak


On Wed, Jan 20, 2010 at 10:22 AM, Evandro Grezeli <grezeli.evandro@gmail.com
> wrote:

> Hi All,
>
> As far i know the Viewstate (.Net 2.0) carry to the subsequent page the
> information from the previous page view, and then it keep "incrementing"
> it's value to other pages till the end of the application.
> I was reading the following page
> http://wiki.apache.org/jakarta-jmeter/JMeterTesting/ASPNETViewState but i
> was trying to figure it out if i have to replicate in each assert the
> Regex,
>
>
> Also, shouldn't be another regex to sum the viewstate value from the first
> one till the last one?
>
> Thanks for all.
>
> --
> Atenciosamente
> Regards
> Evandro Grezeli de B. Neves
>

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