You really do need to get into that View Results Tree listener. You could
post the request / response stack to this thread - detail like this is
remarkably useful.

Try using this regexp to grab the viewstate: 

<input\s+type="hidden"\s+name="__VIEWSTATE"\s+id="__VIEWSTATE"\s+value="([^"]+)"

You might need to tweak it a bit but the basics are solid - give it a go.

If you find that your problem is that you are not capturing the correct
viewstate  and that you need to send a different value back then you have
two routes:

1. Work out how your application works. Talk to the developer, examine the
request response traffic, figure it out.

2. Just keep on trying different combinations until you find the right
viewstate. Maybe the POST needs the state from the request before the one
you are getting it from? Maybe there were multiple states returned in the
previous response. 

Essentially though, you need to put some time into this - correlating
ViewStates is work.

-----
http://www.http503.com/
--
View this message in context: 
http://jmeter.512774.n5.nabble.com/Issue-with-Reular-Expression-tp4770195p4782986.html
Sent from the JMeter - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to