You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jakarta.apache.org by Apache Wiki <wi...@apache.org> on 2010/06/09 08:08:27 UTC
[Jakarta-jmeter Wiki] Update of "JMeterTesting/ASPNETViewState" by SonamChauhan
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Jakarta-jmeter Wiki" for change notification.
The "JMeterTesting/ASPNETViewState" page has been changed by SonamChauhan.
http://wiki.apache.org/jakarta-jmeter/JMeterTesting/ASPNETViewState?action=diff&rev1=6&rev2=7
--------------------------------------------------
Additional Note: (EmmanuelGuyot)
What about the cases where VIEWSTATE is split into different part ? The field VIEWSTATEFIELDCOUNT is easy, but as _''''''_VIEWSTATExx fields number varies, is it possible to set a dynamic NAME in the Request ?
+ Additional Note: (SChauhan)
+ Concurring with FrankZimper - while testing an ASP.NET 2.0 site I had to add an additional leading underscore to the id fields in the regexes.
+
+ I used a simpler regular expression. Note the two underscores, and the '?' to denote non-greedy matching
+ id="__PREVIOUSPAGE"\s*value="(.*?)"
+
+ Also, some pages did not use a 'proper' hidden field and seemed to 'jam-in' data into a pipe-delimited string. For these pages, I had to use this regular expression instead:
+ \|__PREVIOUSPAGE\|(.*?)\|
+
+ Lastly, I used a these regexs for the PREVIOUSPAGE, VIEWSTATE, and EVENTVALIDATION fields (all prefixed with two underscores).
+
+ The funny thing was if I passed in unknown values.
+
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@jakarta.apache.org
For additional commands, e-mail: notifications-help@jakarta.apache.org