jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hohmann, Kurt D" <khohm...@navisite.com>
Subject RE: Application logout failure
Date Fri, 02 Dec 2016 13:06:35 GMT
Below is the raw request code from both working and non-working. I've also included screenshots
from jMeter to show my configuration.

Manual (working) logout

POST https://qa67.ososinfo.org:446/Staff/staffdetail.xhtml;JSESSIONID=d1b5259032694391ae9a4e555824bf9a
HTTP/1.1
Host: qa67.ososinfo.org:446
Connection: keep-alive
Content-Length: 249
Accept: application/xml, text/xml, */*; q=0.01
Origin: https://qa67.ososinfo.org:446
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116
Safari/537.36
Faces-Request: partial/ajax
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Referer: https://qa67.ososinfo.org:446/Staff/staffdetail.xhtml;JSESSIONID=d1b5259032694391ae9a4e555824bf9a
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8
Cookie: JSESSIONID=37187B29F6C8010D9FAEB7B7C17F2BD8; oam.Flash.RENDERMAP.TOKEN=14ywmrt2wx

javax.faces.partial.ajax=true&javax.faces.source=logoutform%3Astafflogout&javax.faces.partial.execute=%40all&logoutform%3Astafflogout=logoutform%3Astafflogout&logoutform_SUBMIT=1&javax.faces.ViewState=Bd1Ib14Lys7B2FWSo74DqWJ7TxnDcBrhgOl0qatuKPV0DCyA
	
Nonworking JMeter request:
POST https://qa67.ososinfo.org:446/Staff/staffdetail.xhtml;JSESSIONID=1ce8c1f3957d4ac88489771f5c7f98ae

POST data:
--FcalbRGw0jwDnPp6ZbFbJ862HofwqrMbq-Sg9V
Content-Disposition: form-data; name="javax.faces.partial.ajax"
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

true
--FcalbRGw0jwDnPp6ZbFbJ862HofwqrMbq-Sg9V
Content-Disposition: form-data; name="javax.faces.source"
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

logoutform:stafflogout
--FcalbRGw0jwDnPp6ZbFbJ862HofwqrMbq-Sg9V
Content-Disposition: form-data; name="javax.faces.partial.execute"
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

@all
--FcalbRGw0jwDnPp6ZbFbJ862HofwqrMbq-Sg9V
Content-Disposition: form-data; name="logoutform:stafflogout"
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

logoutform:stafflogout
--FcalbRGw0jwDnPp6ZbFbJ862HofwqrMbq-Sg9V
Content-Disposition: form-data; name="logoutform_SUBMIT"
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

1
--FcalbRGw0jwDnPp6ZbFbJ862HofwqrMbq-Sg9V
Content-Disposition: form-data; name="javax.faces.ViewState"
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

8d2+gOIseczB2FWSo74DqXT3q/1/2Kdg6lPMqFdXWy/Vzv7i
--FcalbRGw0jwDnPp6ZbFbJ862HofwqrMbq-Sg9V--


Cookie Data:
JSESSIONID=7802109716BBFF17CA38B152564720C5; rememberMe=deleteMe; oam.Flash.RENDERMAP.TOKEN=14ywmrt2wi

Request Headers:
Connection: keep-alive
Referer: https://qa67.ososinfo.org:446/Staff/staffpreferences.xhtml
Accept-Language: en-US,en;q=0.8
Faces-Request: partial/ajax
Accept: application/xml, text/xml, */*; q=0.01
X-Requested-With: XMLHttpRequest
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate, br
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Origin: https://qa67.ososinfo.org:446
Content-Length: 1240
Host: qa67.ososinfo.org:446

========================================================================

Can you show the different requests for logout and the parameters you configured?

Regards,
  Felix
>


Mime
View raw message