jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Wilkinson <inyab...@gmail.com>
Subject Re: Application logout failure
Date Mon, 05 Dec 2016 19:32:17 GMT
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 <khohmann@navisite.com> 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:felix.schumacher@internetallee.de]
> Sent: Sunday, December 04, 2016 5:11 AM
> To: user@jmeter.apache.org
> 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: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


-- 
Mark Wilkinson
inyabass@gmail.com 07968 398828

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message