__viewstate and __eventvalidation will tend to vary.

__eventtarget's significance will depend on the application... but if
__viewstate or __eventvalidation are incorrect, ASP.NET will spit it out
with a 500 error.

I do a GET on the page, extract with regex __viewstate and
__eventvalidation and submit them back with the next sampler.  How your
application behaves is very important tho.. imitating the right
postbacks (even if they seem unnecessary at first) can be significant.

I got mine working, but it took a bit of frustration to get there



-----Original Message-----
From: yaroslav1 [mailto:[email protected]] 
Sent: Monday, January 12, 2009 1:09 PM
To: [email protected]
Subject: Re: Support for ASP.NET WebForm_PostBackOptions in JMeter


Hi Suj,

Your example is showing that "__VIEWSTATE" parameter is a constant.
When I was testing my .NET application I found that the parameter from
request-to-request was different, and I "extracted" the parameter value
from
previous request for using in next one.

May be this is your problem.
Also check another .NET parameters, like "__EVENTTARGET" and etc.

Cheer,
Yaroslav



Sujesh wrote:
> 
> Hi,
> 
> I am using JMeter for conducting performance testing for an ASP.NET
> application.
> The problem I am facing is I am not able to submit a request through
> JMeter as the page uses WebForm_PostBackOptions.
> 
> I traced down the values to be passed 
> 
> WebForm_DoPostBackOptions(WebForm_PostBackOptions(eventTarget,
> eventArgument, validation, validationGroup, actionUrl, trackFocus,
> clientSubmit))
> 
> and found the values for the above arguments (attached the screenshot
of
> the request)
> 
> Anyone faced same issue, or any solution/workaround you suggest for
this?
> 
> Thanks in advance.
> 
> ~ Suj
> 
> 
>  http://www.nabble.com/file/p21330776/WebForm_PostBackOptions.jpg 
> 

-- 
View this message in context:
http://www.nabble.com/Support-for-ASP.NET-WebForm_PostBackOptions-in-JMe
ter-tp21330776p21420223.html
Sent from the JMeter - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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