Probably not related, but just to make sure - we had problems with the
firewall on our Tomcat (and Apache) hosts that looked like a strange 'hang'
as well. Disabling the 'iptables' service (the Linux firewall) solved it.
Just to make sure that it is not something firewall related, you might try
disabling all the firewalls between your JMeter box and your Tomcat box. On
linux, the command is:
service iptables stop
(As I said, that's probably not it - but it can't hurt to remove it as a
possibility.)
--
Robin D. Wilson
Sr. Director of Web Development
KingsIsle Entertainment, Inc.
VOICE: 512-777-1861
www.KingsIsle.com
-----Original Message-----
From: ruthm [mailto:[email protected]]
Sent: Saturday, January 28, 2012 5:12 PM
To: [email protected]
Subject: Re: JMeter waits for responses that seem to have been sent
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=3F50595835B655AD6E3
> 0ED7BB97C55D5?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&l
> angName=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=D951C02A9C6033DEA3F
> 6C8BC5AF79B78?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&lang
> Name=English
>
> > HTTP/1.1" 200 14623
> >
> >
> >
> >
> > --
> > View this message in context:
> >
> http://jmeter.512774.n5.nabble.com/JMeter-waits-for-responses-that-see
> m-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-see
> m-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=cnV0aG1penppQGdtYWlsLmNvbXw1NDM
> 4NjA4fDExMjc2MDYxOTc=>
> .
> NAML<http://jmeter.512774.n5.nabble.com/template/NamlServlet.jtp?macro
> =macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.n
> amespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabb
> le.view.web.template.InstantMailNamespace&breadcrumbs=instant+emails%2
> 1nabble%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-h
ave-been-sent-tp5438608p5438748.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]