Quantcast

Application logout failure

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Application logout failure

Hohmann, Kurt D
Hello;

I'm running into a roadblock on a script I've developed. I'm using the HTTP URL Re-writing Modifier to read a JSESSIONID after successful login (which is appended to the URL and used in lieu of a cookie).  I'm also using a Regular Expression Extractor early in the script to grab a viewstate, which I'm then plugging back in as a variable on all of my POSTS. Everything seems to work fine until I try to log out.

I'm using Fiddler to compare what's happening when I manually log out vs my JMeter script. The POST request that submits the logout request has nearly identical request headers (the only differences are in the user agent (different browsers), cookie (which is ignored by the server anyway) and referrer parameters (the manual request appends the jsessionid). The post data for both manual and jmeter are in agreement, but I have the "Use multipart/form-data for POST" checked in jmeter so there's a significant difference in content length. If I try unchecking that box, the POST data matches what I see in the manual run but I get a 500 response from the server.

Using the Results Tree listener, it *looks* like JMeter is successful. However, logout never actually occurs - I can confirm that by checking the application itself. Also, while the response headers are exactly the same, the actual response is different:

Successful (manual) response:
<partial-response><redirect url="login.xhtml"></redirect></partial-response>

Unsuccessful (JMeter) response:
4fc
<?xml version="1.0" encoding="UTF-8"?><partial-response id="j_id__v_0"><changes><eval><![CDATA[PrimeFaces.ajax.Utils.loadStylesheets(['/javax.faces.resource/components.css.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/scrollpanel/scrollpanel.css.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/fileupload/fileupload.css.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/styles.css.xhtml?ln=css']);PrimeFaces.ajax.Utils.loadScripts(['/javax.faces.resource/jquery/jquery.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/core.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/components.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/jquery/jquery-plugins.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/scrollpanel/scrollpanel.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/printer/printer.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/fileupload/fileupload.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/hotkey/hotkey.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/idlemonitor/idlemonitor.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/jsf.js.xhtml?ln=javax.faces']);]]></eval><update id="j_id__v_0:javax.faces.ViewState:1"><![CDATA[SrBWcRfHXFrB2FWSo74DqYJn+Y5FIdi5APWsj4PtjFT5RQ5Y]]></update></changes></partial-response>
0

If anyone has any thoughts about how I might further troubleshoot this issue, I'd love to hear them. Note that I've tried tailing the Apache logs on the web server, but I'm not seeing a significant difference there.

Thanks,
Kurt


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Application logout failure

Felix Schumacher
Am 01.12.2016 um 20:42 schrieb Hohmann, Kurt D:

> Hello;
>
> I'm running into a roadblock on a script I've developed. I'm using the HTTP URL Re-writing Modifier to read a JSESSIONID after successful login (which is appended to the URL and used in lieu of a cookie).  I'm also using a Regular Expression Extractor early in the script to grab a viewstate, which I'm then plugging back in as a variable on all of my POSTS. Everything seems to work fine until I try to log out.
>
> I'm using Fiddler to compare what's happening when I manually log out vs my JMeter script. The POST request that submits the logout request has nearly identical request headers (the only differences are in the user agent (different browsers), cookie (which is ignored by the server anyway) and referrer parameters (the manual request appends the jsessionid). The post data for both manual and jmeter are in agreement, but I have the "Use multipart/form-data for POST" checked in jmeter so there's a significant difference in content length. If I try unchecking that box, the POST data matches what I see in the manual run but I get a 500 response from the server.
>
> Using the Results Tree listener, it *looks* like JMeter is successful. However, logout never actually occurs - I can confirm that by checking the application itself. Also, while the response headers are exactly the same, the actual response is different:
>
> Successful (manual) response:
> <partial-response><redirect url="login.xhtml"></redirect></partial-response>
>
> Unsuccessful (JMeter) response:
> 4fc
> <?xml version="1.0" encoding="UTF-8"?><partial-response id="j_id__v_0"><changes><eval><![CDATA[PrimeFaces.ajax.Utils.loadStylesheets(['/javax.faces.resource/components.css.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/scrollpanel/scrollpanel.css.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/fileupload/fileupload.css.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/styles.css.xhtml?ln=css']);PrimeFaces.ajax.Utils.loadScripts(['/javax.faces.resource/jquery/jquery.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/core.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/components.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/jquery/jquery-plugins.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/scrollpanel/scrollpanel.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/printer/printer.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/fileupload/fileupload.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/hotkey/hotkey.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/idlemonitor/idlemonitor.js.xhtml?ln=primefaces&v=6.0','/javax.faces.resource/jsf.js.xhtml?ln=javax.faces']);]]></eval><update id="j_id__v_0:javax.faces.ViewState:1"><![CDATA[SrBWcRfHXFrB2FWSo74DqYJn+Y5FIdi5APWsj4PtjFT5RQ5Y]]></update></changes></partial-response>
> 0
>
> If anyone has any thoughts about how I might further troubleshoot this issue, I'd love to hear them. Note that I've tried tailing the Apache logs on the web server, but I'm not seeing a significant difference there.
Can you show the different requests for logout and the parameters you
configured?

Regards,
  Felix
>
> Thanks,
> Kurt
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Application logout failure

Hohmann, Kurt D
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
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Application logout failure

Felix Schumacher
Am 02.12.2016 um 14:06 schrieb Hohmann, Kurt D:
> Below is the raw request code from both working and non-working. I've also included screenshots from jMeter to show my configuration.
Can you also give us the request from JMeter that gives the 500?

Thanks,
  Felix

>
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Application logout failure

Hohmann, Kurt D
Below is the Jmeter Request that results in a 500 error. These requests *should* be the same, but they have very different results. Obviously different JSESSIONID and VIEWSTATE variables for these, but the only change I've made is checking the multipart/form-data box:


POST https://qa67.ososinfo.org:446/Staff/staffdetail.xhtml;JSESSIONID=d77d5ee29d8c4fa0baa272884cb7815b

POST data:
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=8d2%2BgOIseczB2FWSo74DqZghPZuCqvm%2FSI6fohwE155sscQt

Cookie Data:
JSESSIONID=13D1998CB538EAD693AD081EBF1418DB; rememberMe=deleteMe; oam.Flash.RENDERMAP.TOKEN=-xfhah68fj

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: 253
Host: qa67.ososinfo.org:446




-----Original Message-----
From: Felix Schumacher [mailto:[hidden email]]
Sent: Sunday, December 04, 2016 5:11 AM
To: [hidden email]
Subject: Re: Application logout failure

Am 02.12.2016 um 14:06 schrieb Hohmann, Kurt D:
> Below is the raw request code from both working and non-working. I've also included screenshots from jMeter to show my configuration.
Can you also give us the request from JMeter that gives the 500?

Thanks,
  Felix

>
> 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
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]



---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Application logout failure

Mark Wilkinson
Is Content-length actually 253 bytes or is this calculated? By far the
easiest way of debugging these is to get access to the server logs so you
can see what exceptions are being thrown by the Java backend to cause the
500 error. Trying to debug using only the front-end information (i.e. it
throws a 500 error) is pretty much guesswork. Do you get any additional
information in the payload returned or does the server just return a status
500 and nothing more?

On 5 December 2016 at 19:23, Hohmann, Kurt D <[hidden email]> wrote:

> Below is the Jmeter Request that results in a 500 error. These requests
> *should* be the same, but they have very different results. Obviously
> different JSESSIONID and VIEWSTATE variables for these, but the only change
> I've made is checking the multipart/form-data box:
>
>
> POST https://qa67.ososinfo.org:446/Staff/staffdetail.xhtml;JSESSIONID=
> d77d5ee29d8c4fa0baa272884cb7815b
>
> POST data:
> 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=8d2%
> 2BgOIseczB2FWSo74DqZghPZuCqvm%2FSI6fohwE155sscQt
>
> Cookie Data:
> JSESSIONID=13D1998CB538EAD693AD081EBF1418DB; rememberMe=deleteMe;
> oam.Flash.RENDERMAP.TOKEN=-xfhah68fj
>
> 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: 253
> Host: qa67.ososinfo.org:446
>
>
>
>
> -----Original Message-----
> From: Felix Schumacher [mailto:[hidden email]]
> Sent: Sunday, December 04, 2016 5:11 AM
> To: [hidden email]
> Subject: Re: Application logout failure
>
> Am 02.12.2016 um 14:06 schrieb Hohmann, Kurt D:
> > Below is the raw request code from both working and non-working. I've
> also included screenshots from jMeter to show my configuration.
> Can you also give us the request from JMeter that gives the 500?
>
> Thanks,
>   Felix
> >
> > 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
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [hidden email]
> > For additional commands, e-mail: [hidden email]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [hidden email]
> For additional commands, e-mail: [hidden email]
>
>


--
Mark Wilkinson
[hidden email] 07968 398828
Loading...