Hello, I've been struggling with this problem for the past few days and really hope someone can help!
I've got a simple test in JMeter with structure: --HTTP Cookie Manager --CSV Data Set Config (I read some login variables from here) --Simple Controller --HTTPRequest Sampler (GET - goes to homepage) --HTTPRequest Sampler (GET - starts login process) --HTTPRequest Sampler (POST - carries out account login) --HTTPRequest Sampler (GET - goes to another page) --HTTPRequest Sampler (POST - an add to cart request) --HTTPRequest Sampler etc ... I've been having problems running this even with only 1 thread and no loops (just one run of the test). The same behavior holds when I try with multiple threads - all threads will get stuck at some point. What happens is that the requests start being sent but, at some point, sometimes even just after the first request, the thread seems to hang waiting for a response. I did set a timeout in the properties file so after a minute waiting the thread continues with a Read TimeOut exception for that request. What I think is strange is that if I look at the tomcat logs for my webserver I can see that the requests are received and, as far as I understand, an OK response is sent. The following is the latest trace from webserver log i have. In this case the very first request got stuck waiting for a response (hence the one minute delay between the first two requests). But doesn't the log file show that a '200' response was sent and hence an OK which should have been immediately accepted by JMeter? am I missing something here? I've been googling around and trying new things for a few days now and I'm really at my wits end! any help will be greatly appreciated. 127.0.0.1 - - [28/Jan/2012:21:29:48 +0100] "GET /Jada/web/fe/prefix1/English/content/Welcome%21 HTTP/1.1" 200 10182 127.0.0.1 - - [28/Jan/2012:21:30:48 +0100] "GET /Jada/myaccount/portal/myAccountPortal.do?process=start&prefix=prefix1&langName=English HTTP/1.1" 302 391 127.0.0.1 - - [28/Jan/2012:21:30:49 +0100] "GET /Jada/myaccount/login/myAccountLogin.do;jsessionid=3F50595835B655AD6E30ED7BB97C55D5?process=start&prefix=prefix1&langName=English HTTP/1.1" 200 9555 127.0.0.1 - - [28/Jan/2012:21:30:50 +0100] "POST /Jada/myaccount/login/myAccountLogin.do?process=login&prefix=prefix1&langName=English HTTP/1.1" 302 307 127.0.0.1 - - [28/Jan/2012:21:30:50 +0100] "GET /Jada/myaccount/portal/myAccountPortal.do?process=start&prefix=prefix1&langName=English HTTP/1.1" 302 391 127.0.0.1 - - [28/Jan/2012:21:30:51 +0100] "GET /Jada/myaccount/login/myAccountLogin.do;jsessionid=D951C02A9C6033DEA3F6C8BC5AF79B78?process=start&prefix=prefix1&langName=English HTTP/1.1" 200 9555 127.0.0.1 - - [28/Jan/2012:21:30:51 +0100] "GET /Jada/web/fe/prefix1/English/item/1846684617 HTTP/1.1" 200 15156 127.0.0.1 - - [28/Jan/2012:21:31:53 +0100] "POST /Jada/content/checkout/shoppingCart.do?prefix=prefix1&process=buy&langName=English HTTP/1.1" 200 14623 -- View this message in context: http://jmeter.512774.n5.nabble.com/JMeter-waits-for-responses-that-seem-to-have-been-sent-tp5438608p5438608.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
