You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2019/08/21 12:04:06 UTC

[Bug 63481] Encoding is happening while sending parameter from Post request in Jmeter

https://bz.apache.org/bugzilla/show_bug.cgi?id=63481

Ger <ge...@vizorsoftware.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WORKSFORME                  |---

--- Comment #6 from Ger <ge...@vizorsoftware.com> ---
I have the same issue:
This is an extract from my JMeter session:
<pre>(Edited to save space)
name="__VIEWSTATE" id="__VIEWSTATE"
value="h5lDhpLn0j5HofnHdSWCvYWJ/b29ZaIqaaEM….jOuPrEYMSxF+8Cxeeu2OqckZPPbOLdA="
/>
</div>

Based on this the following request uses POST data:
__VIEWSTATEGENERATOR=019976AD&__EVENTARGUMENT=&__VIEWSTATE=h5lDhpLn0j5HofnHdSWCvYWJ%2Fb29ZaIqaaEM…JjOuPrEYMSxF%2B8Cxeeu2OqckZPPbOLdA%3D&__VIEWSTATEENCRYPTED=&ctl00%24ContentPlaceHolder%24password=Super01%24&__EVENTTARGET=&ctl00%24ContentPlaceHolder%24username=user1%40vizor.ie&__EVENTVALIDATION=K%2FJR4RydzHsK5jjEX1riK2RyzUNloKx64zL3T%2FvzFtOR2tTRdMAmC8WQCsqeiHVw%2BKWZnnfFprvyLrCjnPZ%2F9SIX%2BivNSHXDtvY7IYz4t3plqlH52ROW2YD%2B0qpXTlkSBhXlofuD5NgHMfpLQmf9Mjpo3vPRWMhpbGyZpujch8b7tb%2FDqAd12EhXt%2B%2BKOdTGI2CxpzGZ6Z%2FJFMISCt6v3glnOvP8%2BiqZlAFz0izek3FapbsYmrg3dNGW9s6EVejRi4caDzfsmMEpjIGtFVX%2BAg%3D%3D&ctl00

The positive is the I am  capturing the viewstate but it each ‘/’ in it is
being escaped as ‘%2F’, and there are others too.


The post with the login details then fails with information including:
ViewState:
K/JR4RydzHsK5jjEX1riK2RyzUNloKx64zL3T/vzFtOR2tTRdMAmC8WQCsqeiHVw+KWZnnfFprvyLrCjnPZ/9SIX+ivNSHXDtvY7IYz4t3plqlH52ROW2YD+0qpXTlkSBhXlofuD5NgHMfpLQmf9Mjpo3vPRWMhpbGyZpujch8b7tb/DqAd12EhXt++KOdTGI2CxpzGZ6Z/JFMISCt6v3glnOvP8+iqZlAFz0izek3FapbsYmrg3dNGW9s6EVejRi4caDzfsmMEpjIGtFVX+Ag==]

[HttpException (0x80004005): The state information is invalid for this page and
might be corrupted.]
</pre>

-- 
You are receiving this mail because:
You are the assignee for the bug.