normally, I use the monitor in two modes.

1. to monitor tomcat during stress test
2. monitor several tomcat instances


For mode 1, I generally have this kind of setup

test plan
 - threadgroup (stress testing)
 - threadgroup (stress testing)
 - threadgroup (1 thread for monitor)
 - monitor listener

For mode 2, I use this kind of setup

test plan
 - threadgroup ( monitor server1)
 - threadgroup ( monitor server2)
 - monitor listener

Do you see the response from Tomcat's status servlet in "tree result"?
If the request was successful, you should see that in the result tree.
If not, it means something isn't configured correctly. If JMeter gets
a valid response from Tomcat5, the monitor will work. It generally
fails when there's no response or a bad response.

peter


On Tue, 11 Jan 2005 15:31:52 +0100,
[EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi,
> 
> My thread group actually looked like
> 
> test plan
>  - threadgroup
>         -HTTPRequest
>                 -Tree Result
>                 -Graph Result
>                 -Monitor
> 
> Also I dont understand your question.
> ' Is that thread group for the monitor thread? '
> 
> Do u mean I should have a seperate thread group for Monitor.
> I thought minitor is just another listener which shows the
> memory usage of the server once the thread count crosses 800 or 1000.
> Am I right or wrong?
> 
> Anyway I also tried with a constant timer. Now there is no null pointer
> exception ,but I still dont
> get anything in the Monitor. I also varied the number of threads and ramp
> time but still the same.
> 
> bye,
> with regards,
> Deepak.
> 
> [EMAIL PROTECTED]
> 01/11/2005 03:02 PM
> Bitte antworten an jmeter-user
> 
>         An:     [email protected]
>         Kopie:
>         Thema:  Re: Antwort: Re: Antwort: Re: Query regarding Monitor Result
> 
> Last night I fixed the NullPointerException, so that should be fixed in
> CVS.
> 
> Is that thread group for the monitor thread?  it should only be 1 like
> this.
> 
> Number of threads: 1
> Ramp up time: 0
> 
> I forget, did you look at the user manual section?  The thread group
> should look like this
> 
> test plan
>  - threadgroup
>      - constant timer
>      - httpSampler
>      - auth manager
>  - MonitorListener
> 
> peter
> 
> On Tue, 11 Jan 2005 14:53:20 +0100,
> [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Here is my test plan, I have
> >
> > Number of Threads: 1000
> > Ramp up time: 100
> > Loop : 1
> >
> > URL I am trying to access is 127.0.0.1
> > I get a neat o/p for view as Tree and Graph.
> >
> > I get the following error in the middle of log file.
> >
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to