Hi I guess you need to figure out if the problem is on Tomcat or Jmeter. (Assuming there are no other systems like a reverse proxy webserver ) When Jmeter appears to hang - take a thread dump on the Tomcat server (kill -3 processid(unix) or ctrl+pause break on the window on which tomcat is running (unix)). The dump should tell you if some functionality is being executed. if not you need to check JMeter (using a tool like wireshark you should be able to see what the requests its hanging on are - slightly advanced or you could route your requests through a proxy).
the only other thing I can think off is that your port or host or protocol isnt matching somehow (e.g. you are making an https request on an http port or something) - so you'd need to identify the exact request regards deepak On Sat, Jan 28, 2012 at 3:11 PM, ruthm <[email protected]> wrote: > No - i have removed the option to get embedded resources for now. > > I wonder whether this could be in any way related but I seem to have a > problem on some pages (incidentally, they seem to be the same pages that > pose problems when running a test) even when recording a test using a proxy > server. > When i try to browse to those particular pages even while recording, the > page never gets returned ... the web server logs say it has serviced the > request. > The catalina log files show no errors .. > > Thanks > Ruth > > > > > > On Sun, Jan 29, 2012 at 12:03 AM, shettyd [via JMeter] < > [email protected]> wrote: > > > do you have request embedded resources checked by any chance? > > > > >all threads will get stuck at some point. > > At the same point or different? > > > > On Sat, Jan 28, 2012 at 1:02 PM, ruthm <[hidden email]< > http://user/SendEmail.jtp?type=node&node=5438741&i=0>> > > wrote: > > > > > 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: [hidden email]< > http://user/SendEmail.jtp?type=node&node=5438741&i=1> > > > For additional commands, e-mail: [hidden email]< > http://user/SendEmail.jtp?type=node&node=5438741&i=2> > > > > > > > > > > > > ------------------------------ > > If you reply to this email, your message will be added to the discussion > > below: > > > > > http://jmeter.512774.n5.nabble.com/JMeter-waits-for-responses-that-seem-to-have-been-sent-tp5438608p5438741.html > > To unsubscribe from JMeter waits for responses that seem to have been > > sent, click here< > http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5438608&code=cnV0aG1penppQGdtYWlsLmNvbXw1NDM4NjA4fDExMjc2MDYxOTc= > > > > . > > NAML< > http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml > > > > > > > -- > View this message in context: > http://jmeter.512774.n5.nabble.com/JMeter-waits-for-responses-that-seem-to-have-been-sent-tp5438608p5438748.html > Sent from the JMeter - User mailing list archive at Nabble.com. >
