I ran the test again using the http client 4 and I also checked marked the browser compatible header but is still having the same issue (login failures for some users)
On Thu, Jul 25, 2013 at 8:32 AM, umesh prajapati <[email protected]>wrote: > I will let you know the result after I run the test using httpclient4 > > > On Thu, Jul 25, 2013 at 8:31 AM, umesh prajapati <[email protected]>wrote: > >> I just ran the test again and at the beginning of the jmeter log before >> the test started I saw these but not really sure if this is causing not to >> login successful for some users >> >> 2013/07/25 08:11:00 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: >> Cannot find .className property for htmlParser, using default >> >> 2013/07/25 08:14:20 INFO - jmeter.util.SSLManager: KeyStore created OK >> 2013/07/25 08:14:20 WARN - jmeter.util.SSLManager: Keystore file not >> found, loading empty keystore >> >> >> >> On Thu, Jul 25, 2013 at 8:28 AM, sebb <[email protected]> wrote: >> >>> On 25 July 2013 16:12, umesh prajapati <[email protected]> wrote: >>> > On my Http Request Currently I have these properties >>> > >>> > Implementation: Java >>> >>> Try using HttpClient 4 instead; >>> >>> The Java implementation is not ideal for testing. >>> >>> > Protocol: https >>> > Method: Get >>> > >>> > >>> > On Thu, Jul 25, 2013 at 8:10 AM, umesh prajapati <[email protected] >>> >wrote: >>> > >>> >> server logs >>> >> >>> >> I am using jmeter version 2.9 >>> >> >>> >> Can you try using a different HTTP implementation (i.e. not Commons >>> >> HttpClient)? >>> >> do you mean to try different sampler request? >>> >> >>> >> >>> >> >>> >> On Thu, Jul 25, 2013 at 7:44 AM, sebb <[email protected]> wrote: >>> >> >>> >>> On 25 July 2013 14:41, umesh prajapati <[email protected]> wrote: >>> >>> > Thank you for the response guys. Yes, I do have assertions. And >>> all the >>> >>> > users who were unable to login had those header response and all >>> the >>> >>> users >>> >>> > who were succesfully able to login had the other response header. >>> I ran >>> >>> th >>> >>> > test for 106 users to test the sso logins. I had the loop for two >>> times. >>> >>> > >>> >>> > The first time I ran the test all the users were not successfully >>> able >>> >>> to >>> >>> > login. I tried running the test again and all the users were able >>> to >>> >>> login >>> >>> > successfully. But I am getting this inconsistently. >>> >>> > >>> >>> > The error on the logs (not jmeter logs) >>> >>> >>> >>> Which logs are they? >>> >>> >>> >>> > ERROR[24-Jul-13 12:34:57] [http-0.0.0.0-9085-4] >>> >>> > [ChunkedInputStream.parseTrailerHeaders()] >>> >>> > - Error parsing trailer headers >>> >>> > org.apache.commons.httpclient.ProtocolException: Unable to parse >>> >>> header: >>> >>> > HTTP/1.1 200 OK >>> >>> > at >>> >>> > >>> >>> >>> org.apache.commons.httpclient.HttpParser.parseHeaders(HttpParser.java:202) >>> >>> > at >>> >>> > >>> >>> >>> org.apache.commons.httpclient.ChunkedInputStream.parseTrailerHeaders(ChunkedInputStream.java:322) >>> >>> > at >>> >>> > >>> >>> >>> org.apache.commons.httpclient.ChunkedInputStream.nextChunk(ChunkedInputStream.java:226) >>> >>> >>> >>> >>> >>> That looks like there might be an issue with the server sending bad >>> >>> data or the HttpClient parsing code not recognising the response. >>> >>> >>> >>> Which version of JMeter are you using? >>> >>> Can you try using a different HTTP implementation (i.e. not Commons >>> >>> HttpClient)? >>> >>> >>> >>> --------------------------------------------------------------------- >>> >>> To unsubscribe, e-mail: [email protected] >>> >>> For additional commands, e-mail: [email protected] >>> >>> >>> >>> >>> >> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [email protected] >>> For additional commands, e-mail: [email protected] >>> >>> >> >
