jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David McKnight" <>
Subject Re: Problems monitoring Tomcat
Date Tue, 18 May 2004 18:48:21 GMT

Thanks Peter!

Indeed, Tomcat is returning the following data:

Load time: 972
HTTP response code: 401
HTTP response message: Unauthorized

HTTP response headers:
HTTP/1.1 401 Unauthorized
Pragma: No-cache
Cache-Control: no-cache
Expires: Wed, 31 Dec 1969 18:00:00 CST
WWW-Authenticate: Basic realm="Tomcat Manager Application"
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Content-Length: 934
Date: Tue, 18 May 2004 17:08:47 GMT
Server: Apache-Coyote/1.1

I've tried this several different ways, but the current configuration is - Thread Group with
one thread, no ramp up, Forever; Under that thread group is an HTTP Request pointing to localhost
(where TC is running) port 8080 and path set to /manager/status, and a parm of XML=true with
Encode? not checked, and Use as Monitor is checked, Retrieve All Embedded is not checked;
A Constant Timer set to 5000; A simple Data Writer, and (now) a View Results Tree. Under the
Thread Group I also have a Monitor Results element that shows nada. Under the HTTPRequest
I have a LoginConfig Element with the standard tomcat/tomcat which is what I can use in a
browser to view the Status page in TC...I'm going to try moving the login config element around...

thanks for any help!  This is a very cool program. I wish I would've known about it sooner.


I sent this email once and it failed, in the meantime I think I fixed it - I removed the loginconfig
and added an http auth manager with the proper creds. That seems to work!

Any other suggestions, let me know...


Sign-up for Ads Free at

----- Original Message -----
From: peter lin <>
Date: Tue, 18 May 2004 07:52:14 -0700 (PDT)
To: JMeter Users List <>,David McKnight <>
Subject: Re: Problems monitoring Tomcat

> hello david,
> most likely the server is returning an error code, like not allowed. What I generally
do is add "view result tree" and see what Tomcat is returning. I assume you can view the status
servlet in your browser.  If you post the configuration of your test plan minus your password
I'll take a look :)
> peter
> David McKnight <> wrote:
> Hey all, using version 2.0.0, and I've set up several elements of JMeter,
> gone through many tutorials and read the articles and resources (and blogs -
> thanks to Peter Lin), but one thing I cannot get working is setting up a
> monitor for Tomcat. I've gone through chapter 11, Building a Monitor Test
> Plan, to no avail - the health of TC always shows a black dot, or dead. I'm
> thinking it may have to do with authentication, to access the monitor/status
> page do I need to set any additional parms to the http req. element in that
> test plan? Any help would be greatly appreciated, thanks.
> David
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:
> ---------------------------------
> Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
Sign-up for Ads Free at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message