Hi,

When I run my script I have a 'View Results in Table' listener wherein I
capture all the xml response data.
When I examine the contents of that response data the two hidden fields
(__VIEWSTATE and __EVENTVALIDATION) are evident but there is no sign of
__VSTATE.

David

-----Original Message-----
From: Deepak Shetty [mailto:[email protected]] 
Sent: Wednesday, 14 October 2009 9:33 AM
To: JMeter Users List; [email protected]
Subject: Re: ASP.NET script

As far as I know __VSTATE is also a hidden field(Its used for view state
compression). In either case viewing the source should be able to tell you.
Is the site visible on the internet that we can access?



On Tue, Oct 13, 2009 at 3:24 PM, David Schulberg <
[email protected]> wrote:

> Hi,
>
> For those who haven't tried to use JMeter for testing ASP.NET Web pages
> they
> will find that it will require two hidden fields (_VIEWSTATE and
> _EVENTVALIDATION) to be passed for subsequent requests to a web page once
> the hidden fields have been set in the body. This can be achieved by
> creating two post Processor elements of the type 'Regular Expression
> Extractor' and then setting the details of the Regular Expressions.
>
> Now on a request in my application under test there is a __VSTATE HTTP
> parameter that is required for an update to be successful. That parameter
> is
> not revealed as a hidden field - it is required but how it's value is
> derived for the request is a mystery.
>
> Hence the reason for my posting.
>
> Regards,
> David
>
> -----Original Message-----
> From: sebb [mailto:[email protected]]
> Sent: Tuesday, 13 October 2009 9:06 PM
> To: JMeter Users List; [email protected]
> Subject: Re: ASP.NET script
>
> On 13/10/2009, David Schulberg <[email protected]> wrote:
> > Hi,
> >
> >
> >
> >  I have followed the approach described in the WIKI
> >  (http://wiki.apache.org/jakarta-jmeter/JMeterTesting/ASPNETViewState)
> and
> on
> >  the blog (http://blog.technicallyworks.com/search/label/JMeter) but I
> >  believe that my simple script is not working because there is a
__VSTATE
> >  parameter passed on a POST request whose value I cannot glean.
> >
> >
> >
> >  Not sure why the __VSTATE parameter is not revealed.
>
> Not sure what you are asking for here.
>
> What did you try?
> What did you expect to happen?
> What actually happened?
>
> >
> >
> >  Yours,
> >
> >
> >  David
> >
> >
> >  P.S. Glad to be back on the JMeter mailing list
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to