Re: Beginner In JMeter Plug-in Writer

2011-01-13 Thread Deepak Shetty
I dont know since I havent ever done this(though I doubt it will work like
that). I suppose your listener will still be showing something?
I assume the PDF you are referring to is this one?
http://jakarta.apache.org/jmeter/extending/jmeter_tutorial.pdf

On Thu, Jan 13, 2011 at 10:08 PM, Lance Ingram wrote:

> Can I just import my class into JMS folder in JMeter since its basically a
> JMS Message Listener, must I write a GUI interface for the Class?
>
> On Fri, Jan 14, 2011 at 12:13 AM, Deepak Shetty  wrote:
>
> > hi
> > Id probably download something like
> > http://code.google.com/p/jmeter-plugins/
> > and look at their source to see how to implement the listener :)
> > Jmeters code is also open source so you can look at those listeners too
> for
> > practical examples
> >
> > regards
> > deepak
> >
> > On Wed, Jan 12, 2011 at 10:27 PM, Lance Ingram  > >wrote:
> >
> > > Hi
> > >
> > > I have written a custom Message Listener which is used in asynchronous
> > > calls, but I want to incoporated this class into JMeter as a plugin.
> > >
> > > I want to know how to write a plugin in JMeter and what I need to able
> to
> > > do
> > > so. I found pdf in 2008 who wrote a document on how to write a plugin
> but
> > > there are no practical examples on how to do so.
> > >
> > > Which classes must I interface or inherit from to create a JMS
> messaging.
> > >
> > > I have download the svn version into Eclipse, the question is where
> from
> > > here?
> > >
> > > Thanks and Regards
> > >
> >
>


Re: Beginner In JMeter Plug-in Writer

2011-01-13 Thread Lance Ingram
Can I just import my class into JMS folder in JMeter since its basically a
JMS Message Listener, must I write a GUI interface for the Class?

On Fri, Jan 14, 2011 at 12:13 AM, Deepak Shetty  wrote:

> hi
> Id probably download something like
> http://code.google.com/p/jmeter-plugins/
> and look at their source to see how to implement the listener :)
> Jmeters code is also open source so you can look at those listeners too for
> practical examples
>
> regards
> deepak
>
> On Wed, Jan 12, 2011 at 10:27 PM, Lance Ingram  >wrote:
>
> > Hi
> >
> > I have written a custom Message Listener which is used in asynchronous
> > calls, but I want to incoporated this class into JMeter as a plugin.
> >
> > I want to know how to write a plugin in JMeter and what I need to able to
> > do
> > so. I found pdf in 2008 who wrote a document on how to write a plugin but
> > there are no practical examples on how to do so.
> >
> > Which classes must I interface or inherit from to create a JMS messaging.
> >
> > I have download the svn version into Eclipse, the question is where from
> > here?
> >
> > Thanks and Regards
> >
>


Re: HTTP Sampler - Post Variables same name with multiple values

2011-01-13 Thread ellex3m

Wow its working great!

Thanks Deepak!

Its nice to know that we have such an active community here in JMeter!
-- 
View this message in context: 
http://jmeter.512774.n5.nabble.com/HTTP-Sampler-Post-Variables-same-name-with-multiple-values-tp3340805p3340848.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



plz subscribed me if i am not

2011-01-13 Thread Rajiv Nanduani
-- 
RAJIV KUMAR





Re: HTTP Sampler - Post Variables same name with multiple values

2011-01-13 Thread Deepak Shetty
hi
use a BeanShell pre processor (remove these values from the sampler);
sampler.addArgument("var1","value1");
sampler.addArgument("var1","value2");

An example which uses the regex extractor and adds values
http://theworkaholic.blogspot.com/2010/03/dynamic-parameters-in-jmeter.html


regards
deepak

On Thu, Jan 13, 2011 at 7:47 PM, ellex3m  wrote:

>
> Hi Everyone,
>
> I need help with posting data using an http sampler.
>
> I recorded the post data using the http proxy server and i found out that
> when I select multiple  in a  tag, the variable is added
> twice in post data.
>
> ex.
> -
> NAMEVALUE
>
> var1  1
> var1  2
> -
>
> How can i do this dynamically? I can already extract the values using the
> RegEx Extractor but I how can i put it twice in post data?
>
> Thanks!
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/HTTP-Sampler-Post-Variables-same-name-with-multiple-values-tp3340805p3340805.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


HTTP Sampler - Post Variables same name with multiple values

2011-01-13 Thread ellex3m

Hi Everyone,

I need help with posting data using an http sampler.

I recorded the post data using the http proxy server and i found out that
when I select multiple  in a  tag, the variable is added
twice in post data.

ex.
-
NAMEVALUE

var1  1
var1  2
-

How can i do this dynamically? I can already extract the values using the
RegEx Extractor but I how can i put it twice in post data?

Thanks!
-- 
View this message in context: 
http://jmeter.512774.n5.nabble.com/HTTP-Sampler-Post-Variables-same-name-with-multiple-values-tp3340805p3340805.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Constant Throughput Timer confusion

2011-01-13 Thread Rajiv Nanduani
Thanks for the input,Again i tried the same as mentioned by you for 30
minutes  but still the same thing is happening. I am not sure is the result
is coming wrong or correct. Please let me know Ideal Throughput should be as
per Constant throughput timer (samples/DurationToRun(Sec)) is expecting by
me is correct or not.

 Threads Loops DurationToRun(Sec)
ConstantThroughPutTimer(Samples/minute) Samples
Throughput(Request/second) Ideal
Throughput should be as per Constant throughput timer
(samples/DurationToRun(Sec)) 50 1000 1800 sec - 9459 13.7/sec   50 1000 1800
sec - 12448 17.9/sec   50 1000 1800 sec 822 12046 18.4/sec 13.7/sec 50
1000 1800
sec 822 12020 17.1/sec 13.7/sec 50 1000 1800 sec 411 12111 17.9/sec 6.85/sec
50 1000 1800 sec 411 12219 19.1/sec 6.85/sec







 On Wed, Jan 12, 2011 at 9:28 PM, sebb-2-2 [via JMeter] <
ml-node+3338389-2071182540-146...@n5.nabble.com
> wrote:

>  On 12 January 2011 12:42, rajivkumarnandvani
>   <[hidden email] >
> wrote:
>
> >
> > Hi All,
> >
> > I have done some analysis with Constant through put timer but it did not
> > work as per definition/my expectation:
> > Please see the below chart & let me knowIf it is fine Or Not.
> > Threads Loops   DurationToRun(Sec)
>  ConstantThroughPutTimer(Samples/minute)
> > Samples Throughput(Request/second)  Ideal Throughput should be as per
>
> > Constant throughput timer (samples/DurationToRun(Sec))
> > 50  1   60 sec  -   50  4.0/sec -
> > 50  1   60 sec  240 50  4.4/sec 4.0/sec
> > 50  1   60 sec  120 50  4.0/sec 2.0/sec
> > 100 1   60 sec  -   100 3.8/sec
> > 100 1   60 sec  228 100 3.9/sec 3.8/sec
> > 100 1   60 sec  114 100 3.8/sec 2.4/sec
>
> There's only a single loop, so it's impossible for the timer to adjust
> the throughput.
>
> You need to ensure that the test runs for long enough to allow steady
> state to be reached - several minutes as a minimum.
>
> 30 mins is more realistic for a meaningful test.
>
> >
> >
> http://jmeter.512774.n5.nabble.com/file/n3338043/ThroughPutTimerAnalyisis.xls
>
> > ThroughPutTimerAnalyisis.xls
> >
> > Constant throughput timer is not working as ecpected.
> >
> > -
> >
> > rajivkumarnandvani
> > --
> > View this message in context:
> http://jmeter.512774.n5.nabble.com/Constant-Throughput-Timer-confusion-tp3336268p3338043.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
>
> -
> To unsubscribe, e-mail: [hidden 
> email]
> For additional commands, e-mail: [hidden 
> email]
>
>
>
> --
> View message @
> http://jmeter.512774.n5.nabble.com/Constant-Throughput-Timer-confusion-tp3336268p3338389.html
>
> To unsubscribe from Constant Throughput Timer confusion, click 
> here.
>
>



-- 
RAJIV KUMAR








-- 
RAJIV KUMAR





Re: global variable for all test plans (jmx)

2011-01-13 Thread Duc Chau
Thank Sebb,

For those who do not want to spend time for searching

1. Add to variable_name = value to jmeter, user or user-defined properties
file (remember to restart Jmeter to get it affected if using GUI)
2. Get value in config element, sampler, etc. by ${__P(variable_name)}

More details:
http://jmeter.512774.n5.nabble.com/JMeter-Experiences-mostly-around-properties-and-variables-td529043.html

On Fri, Jan 14, 2011 at 11:27 AM, sebb  wrote:

> On 14 January 2011 00:10, Duc Chau  wrote:
> > Hello,
> >
> > I intend to use csv data set as global variable for all test plans (e.g.
> > same server ip in case it changes, we just need to update csv). Is there
> any
> > other ways to manage global variable across all test plans? Thank you.
>
> Properties might be more suitable for items that are fixed for an entire
> test.
>
> I.e. use the property to set the value of a variable rather than
> reading from a CSV file.
>
> You can provide additional property files on the command line.
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


Re: global variable for all test plans (jmx)

2011-01-13 Thread sebb
On 14 January 2011 00:10, Duc Chau  wrote:
> Hello,
>
> I intend to use csv data set as global variable for all test plans (e.g.
> same server ip in case it changes, we just need to update csv). Is there any
> other ways to manage global variable across all test plans? Thank you.

Properties might be more suitable for items that are fixed for an entire test.

I.e. use the property to set the value of a variable rather than
reading from a CSV file.

You can provide additional property files on the command line.

-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



global variable for all test plans (jmx)

2011-01-13 Thread Duc Chau
Hello,

I intend to use csv data set as global variable for all test plans (e.g.
same server ip in case it changes, we just need to update csv). Is there any
other ways to manage global variable across all test plans? Thank you.


Fwd: ask about test plan management

2011-01-13 Thread Duc Chau
hello there,

Any ideas would be appreciated. Thank you.

-- Forwarded message --
From: Duc Chau 
Date: Mon, Jan 10, 2011 at 8:58 AM
Subject: ask about test plan management
To: jmeter-user@jakarta.apache.org


Hello,

We are about to use Jmeter as both functional and performance testing and is
finding the best way to manage test plan effectively (e.g. Quality Center).
We have a set of unique test requirements based on components and it would
be better if we can link test plan to each test requirement. I would like to
hear from you some idea or experience on this matter. For example with this
approach, manage using Windows folders for each test plan or data set.

Thank you.


Re: How to pass # of threads/users to JMeter ant script

2011-01-13 Thread Fazal Syed Ali
Thanks Deepak! The following link is pretty useful too.

http://www.mail-archive.com/jmeter-user@jakarta.apache.org/msg28788.html


On Thu, Jan 13, 2011 at 3:35 PM, Deepak Shetty  wrote:

> Hi
>
> 
>
> resultlog="${report.dir}/${run.test.report}-${run.env}-${DSTAMP}${TSTAMP}.jtl">
>
> 
>
> <*property name="run.threads" value="50" /*>
>
> 
>
> and in the thread group
> ${__property(run.threads,,10)} //10 is default if the property didnt exist
>
>
> similar  to
>
> http://theworkaholic.blogspot.com/2009/06/testing-multiple-environments-with.html
>
> regards
> deepak
>
> On Thu, Jan 13, 2011 at 1:09 PM, Fazal Syed Ali  >wrote:
>
> > All,
> >
> > I am running my JMeter tests using the ant task that came with JMeter.
> > However, I am having a hard time figuring out how to pass number of
> threads
> > to the ant task.
> >
> > I have configured the ant task in TeamCity to run the tasks
> automatically.
> > If I can change the number of users, everything else would be very
> simple,
> > I
> > think.
> >
> > Thanks in advance,
> >
> > Fazal
> >
>



-- 
Syed Fazal Ali


Re: Beginner In JMeter Plug-in Writer

2011-01-13 Thread Deepak Shetty
hi
Id probably download something like http://code.google.com/p/jmeter-plugins/
and look at their source to see how to implement the listener :)
Jmeters code is also open source so you can look at those listeners too for
practical examples

regards
deepak

On Wed, Jan 12, 2011 at 10:27 PM, Lance Ingram wrote:

> Hi
>
> I have written a custom Message Listener which is used in asynchronous
> calls, but I want to incoporated this class into JMeter as a plugin.
>
> I want to know how to write a plugin in JMeter and what I need to able to
> do
> so. I found pdf in 2008 who wrote a document on how to write a plugin but
> there are no practical examples on how to do so.
>
> Which classes must I interface or inherit from to create a JMS messaging.
>
> I have download the svn version into Eclipse, the question is where from
> here?
>
> Thanks and Regards
>


Re: How to pass # of threads/users to JMeter ant script

2011-01-13 Thread Deepak Shetty
Hi





<*property name="run.threads" value="50" /*>



and in the thread group
${__property(run.threads,,10)} //10 is default if the property didnt exist


similar  to
http://theworkaholic.blogspot.com/2009/06/testing-multiple-environments-with.html

regards
deepak

On Thu, Jan 13, 2011 at 1:09 PM, Fazal Syed Ali wrote:

> All,
>
> I am running my JMeter tests using the ant task that came with JMeter.
> However, I am having a hard time figuring out how to pass number of threads
> to the ant task.
>
> I have configured the ant task in TeamCity to run the tasks automatically.
> If I can change the number of users, everything else would be very simple,
> I
> think.
>
> Thanks in advance,
>
> Fazal
>


How to pass # of threads/users to JMeter ant script

2011-01-13 Thread Fazal Syed Ali
All,

I am running my JMeter tests using the ant task that came with JMeter.
However, I am having a hard time figuring out how to pass number of threads
to the ant task.

I have configured the ant task in TeamCity to run the tasks automatically.
If I can change the number of users, everything else would be very simple, I
think.

Thanks in advance,

Fazal


Re: JVM Monitoring using JMETER

2011-01-13 Thread Rob Schroder
While there are a ton of tools that do monitoring, it would be a nice 
convenience to have response times and throughput, that jmeter currently 
collects, integrated with other metrics like CPU utilization, memory, and other 
metrics accessible through something like rstat.  Right now it's a manual 
process with Jmeter.

In the meantime, you might want to check out something like Splunk.  You could 
pipe all of the metrics you want to monitor to log files, and then correlate 
all of that data using Splunk.  As long as you stay under 500M, I think, it's 
free to use, and a very nice tool to boot.




On 1/13/11 9:09 AM, "Abhishek Kona"  wrote:



Hi

It would be great to collect integrated results.

I believe a load test also has to monitor the client system so that
estimates can be made about the systems performance under different
levels of load.

So if the service I am testing is a JVM service, I can get a better idea
about the JVM state with different number of Users , TPS etc.

-Abhishek Kona




-Abhishek Kona
On 13/01/11 9:19 PM, Adrian Speteanu wrote:
> Hi,
>
> The answer is no then, you can't use that plugin (yet) to monitor a single
> process. And that is the best plugin in this regard so far.
> Anyway jmeter wasn't build for this little thing, you should use OS specific


> or a java specific tool for monitoring processes and use the tool on the
> machine where the application you want to monitor. There are a LOT of tools
> out there.
>
>
>
> On Thu, Jan 13, 2011 at 5:39 PM, Abhishek Konawrote:
>
>> Hi
>>
>> I am looking for something like
>> http://code.google.com/p/jmeter-plugins/wiki/PerfMon to monitor JVM
>> performance.
>>
>> -Abhishek Kona
>>
>>
>>
>> On 13/01/11 8:53 PM, Adrian Speteanu wrote:
>>
>>> Hi,
>>>
>>> JMeter is for benchmarking other applications, so you have the listeners
>>> that give you the statistics you need to do that. So, not sure how / what
>>> you want to do, but have a look at this:
>>>
>>> http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html(this
>>> is as close as it gets to monitoring what happens with the application
>>> during test).
>>>
>>>
>>>
>>> On Thu, Jan 13, 2011 at 11:43 AM, Abhishek Kona>>> wrote:
>>>   Hi
 @Adrian, Thanks, I have been using JConsole for monitoring Java
 Processes.
 But is there a way I can monitor the results in JMeter (like the Perfmon
 Plugin).

 -Abhishek Kona


 On 13/01/11 3:04 PM, Adrian Speteanu wrote:

   The jdk comes bundled with the JConsole wich is meant for java profiling
> (you can monitor java processes real-time). There are a lot of similar
> tools
> out there (for free or payed), you can google it around, see which one
> has
> what you need.
>
>
>
> On Thu, Jan 13, 2011 at 8:41 AM, Abhishek Kona
>> wrote:
>>
>   HI
>
>> I am just starting off with JMeter.
>> I need to monitor a JVM process ( a thrift service) while I load test
>> it
>> using a JUnit Test in Jmeter.
>>
>> Is there a way I can monitor the JVM process in Jmeter while I perform
>> the
>> test.
>> What I need exactly is a plugin similar to Perfmon for Jmeter.
>>
>> Is there a way I can do it.
>>
>> Thanks a ton!
>> -Abhishek Kona
>>
>>
>> -
>> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>>
>>
>>
>>   -
 To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
 For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



>> -
>> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>>
>>


-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org




Re: JVM Monitoring using JMETER

2011-01-13 Thread Abhishek Kona


Hi

It would be great to collect integrated results.

I believe a load test also has to monitor the client system so that 
estimates can be made about the systems performance under different 
levels of load.


So if the service I am testing is a JVM service, I can get a better idea 
about the JVM state with different number of Users , TPS etc.


-Abhishek Kona




-Abhishek Kona
On 13/01/11 9:19 PM, Adrian Speteanu wrote:

Hi,

The answer is no then, you can't use that plugin (yet) to monitor a single
process. And that is the best plugin in this regard so far.
Anyway jmeter wasn't build for this little thing, you should use OS specific




or a java specific tool for monitoring processes and use the tool on the
machine where the application you want to monitor. There are a LOT of tools
out there.



On Thu, Jan 13, 2011 at 5:39 PM, Abhishek Konawrote:


Hi

I am looking for something like
http://code.google.com/p/jmeter-plugins/wiki/PerfMon to monitor JVM
performance.

-Abhishek Kona



On 13/01/11 8:53 PM, Adrian Speteanu wrote:


Hi,

JMeter is for benchmarking other applications, so you have the listeners
that give you the statistics you need to do that. So, not sure how / what
you want to do, but have a look at this:

http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html(this
is as close as it gets to monitoring what happens with the application
during test).



On Thu, Jan 13, 2011 at 11:43 AM, Abhishek Kona
wrote:

  Hi

@Adrian, Thanks, I have been using JConsole for monitoring Java
Processes.
But is there a way I can monitor the results in JMeter (like the Perfmon
Plugin).

-Abhishek Kona


On 13/01/11 3:04 PM, Adrian Speteanu wrote:

  The jdk comes bundled with the JConsole wich is meant for java profiling

(you can monitor java processes real-time). There are a lot of similar
tools
out there (for free or payed), you can google it around, see which one
has
what you need.



On Thu, Jan 13, 2011 at 8:41 AM, Abhishek Kona
wrote:


  HI


I am just starting off with JMeter.
I need to monitor a JVM process ( a thrift service) while I load test
it
using a JUnit Test in Jmeter.

Is there a way I can monitor the JVM process in Jmeter while I perform
the
test.
What I need exactly is a plugin similar to Perfmon for Jmeter.

Is there a way I can do it.

Thanks a ton!
-Abhishek Kona


-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



  -

To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org




-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org





-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: JVM Monitoring using JMETER

2011-01-13 Thread Adrian Speteanu
Hi,

The answer is no then, you can't use that plugin (yet) to monitor a single
process. And that is the best plugin in this regard so far.
Anyway jmeter wasn't build for this little thing, you should use OS specific
or a java specific tool for monitoring processes and use the tool on the
machine where the application you want to monitor. There are a LOT of tools
out there.



On Thu, Jan 13, 2011 at 5:39 PM, Abhishek Kona wrote:

> Hi
>
> I am looking for something like
> http://code.google.com/p/jmeter-plugins/wiki/PerfMon to monitor JVM
> performance.
>
> -Abhishek Kona
>
>
>
> On 13/01/11 8:53 PM, Adrian Speteanu wrote:
>
>> Hi,
>>
>> JMeter is for benchmarking other applications, so you have the listeners
>> that give you the statistics you need to do that. So, not sure how / what
>> you want to do, but have a look at this:
>>
>> http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html(this
>> is as close as it gets to monitoring what happens with the application
>> during test).
>>
>>
>>
>> On Thu, Jan 13, 2011 at 11:43 AM, Abhishek Kona> >wrote:
>>
>>  Hi
>>>
>>> @Adrian, Thanks, I have been using JConsole for monitoring Java
>>> Processes.
>>> But is there a way I can monitor the results in JMeter (like the Perfmon
>>> Plugin).
>>>
>>> -Abhishek Kona
>>>
>>>
>>> On 13/01/11 3:04 PM, Adrian Speteanu wrote:
>>>
>>>  The jdk comes bundled with the JConsole wich is meant for java profiling
 (you can monitor java processes real-time). There are a lot of similar
 tools
 out there (for free or payed), you can google it around, see which one
 has
 what you need.



 On Thu, Jan 13, 2011 at 8:41 AM, Abhishek Kona>>>
> wrote:
>
  HI

> I am just starting off with JMeter.
> I need to monitor a JVM process ( a thrift service) while I load test
> it
> using a JUnit Test in Jmeter.
>
> Is there a way I can monitor the JVM process in Jmeter while I perform
> the
> test.
> What I need exactly is a plugin similar to Perfmon for Jmeter.
>
> Is there a way I can do it.
>
> Thanks a ton!
> -Abhishek Kona
>
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>
>
>  -
>>> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>>>
>>>
>>>
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


Re: JVM Monitoring using JMETER

2011-01-13 Thread Abhishek Kona

Hi

I am looking for something like 
http://code.google.com/p/jmeter-plugins/wiki/PerfMon to monitor JVM 
performance.


-Abhishek Kona


On 13/01/11 8:53 PM, Adrian Speteanu wrote:

Hi,

JMeter is for benchmarking other applications, so you have the listeners
that give you the statistics you need to do that. So, not sure how / what
you want to do, but have a look at this:
http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html(this
is as close as it gets to monitoring what happens with the application
during test).



On Thu, Jan 13, 2011 at 11:43 AM, Abhishek Konawrote:


Hi

@Adrian, Thanks, I have been using JConsole for monitoring Java Processes.
But is there a way I can monitor the results in JMeter (like the Perfmon
Plugin).

-Abhishek Kona


On 13/01/11 3:04 PM, Adrian Speteanu wrote:


The jdk comes bundled with the JConsole wich is meant for java profiling
(you can monitor java processes real-time). There are a lot of similar
tools
out there (for free or payed), you can google it around, see which one has
what you need.



On Thu, Jan 13, 2011 at 8:41 AM, Abhishek Kona
wrote:

  HI

I am just starting off with JMeter.
I need to monitor a JVM process ( a thrift service) while I load test it
using a JUnit Test in Jmeter.

Is there a way I can monitor the JVM process in Jmeter while I perform
the
test.
What I need exactly is a plugin similar to Perfmon for Jmeter.

Is there a way I can do it.

Thanks a ton!
-Abhishek Kona


-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org




-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org





-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: JMeter Monitor Results

2011-01-13 Thread danimni

Where can I open an issue?

On Thu, Jan 13, 2011 at 4:50 PM, Peter Lin [via JMeter] <
ml-node+3339886-1273310240-147...@n5.nabble.com
> wrote:

> the mailing list strips attachments, so my suggestion is to open an
> issue and attach the sample to the issue.
>
> On Thu, Jan 13, 2011 at 9:39 AM, danimni <[hidden 
> email]>
> wrote:
>
> >
> > Hi Peter,
> > thanks for the reply.
> > I am using jboss.
> > I've attached a sample of response.
> > I guess the data is correct.
> >
> > thanks again!
> >
> > Dan.
> >
> >
> > On Thu, Jan 13, 2011 at 4:16 PM, Peter Lin [via JMeter] <
> > [hidden email] 
> > <[hidden
> email] >
> >> wrote:
> >
> >> are you using glassfish or jboss?
> >>
> >> the way it works is it looks at the stats coming back from the status
> >> servlet in tomcat. If the data isn't correct, the health tab won't
> >> show correct results.
> >>
> >> peter
> >>
> >>
> >> On Thu, Jan 13, 2011 at 7:15 AM, danimni <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=3339817&i=0>>
> >> wrote:
> >>
> >> >
> >> > Hello everyone,
> >> > I am not using Tomcat, but I can see response when I navigate to when
> I
> >> > navigate to http://:8080/status?XML=true
> >> > the results are seen properly in the 'View Results Tree'.
> >> > Furthermore, I am able to see graphs (of the "Load", "Memory" and
> >> > "Threads")in the 'Performance' tab, in the 'Monitor Results' listener.
>
> >> >
> >> > My problem is that the 'Health' tab shows the "DEAD" legend although
> the
> >> > right pane is active (changes from green to yellow and vice versa). As
> a
> >> > result, the green graph doesn't appear in the 'Performance' tab along
> >> with
> >> > the  "Load" and "Memory" graphs.
> >> >
> >> > Does anyone encounter this issue?
> >> > Any ideas?
> >> >
> >> > Thanks,
> >> > Dan.
> >> >
> >> > --
> >> > View this message in context:
> >>
> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339684.html
> <
> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339684.html?by-user=t>
>
> >> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >> >
> >> > -
> >> > To unsubscribe, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=3339817&i=1>
> >> > For additional commands, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=3339817&i=2>
> >> >
> >> >
> >>
> >> -
> >> To unsubscribe, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=3339817&i=3>
> >> For additional commands, e-mail: [hidden email]<
> http://user/SendEmail.jtp?type=node&node=3339817&i=4>
> >>
> >>
> >>
> >> --
> >>  View message @
> >>
> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339817.html
> >>
> >>
> >>
> >
> > --
> > View this message in context:
> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339863.html
>
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
>
> -
> To unsubscribe, e-mail: [hidden 
> email]
> For additional commands, e-mail: [hidden 
> email]
>
>
>
> --
>  View message @
> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339886.html
>
> To unsubscribe from JMeter Monitor Results, click 
> here.
>
>

-- 
View this message in context: 
http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339960.html
Sent from the JMeter - User mailing list archive at Nabble.com.


Re: JVM Monitoring using JMETER

2011-01-13 Thread Adrian Speteanu
Hi,

JMeter is for benchmarking other applications, so you have the listeners
that give you the statistics you need to do that. So, not sure how / what
you want to do, but have a look at this:
http://jakarta.apache.org/jmeter/usermanual/build-monitor-test-plan.html(this
is as close as it gets to monitoring what happens with the application
during test).



On Thu, Jan 13, 2011 at 11:43 AM, Abhishek Kona wrote:

> Hi
>
> @Adrian, Thanks, I have been using JConsole for monitoring Java Processes.
> But is there a way I can monitor the results in JMeter (like the Perfmon
> Plugin).
>
> -Abhishek Kona
>
>
> On 13/01/11 3:04 PM, Adrian Speteanu wrote:
>
>> The jdk comes bundled with the JConsole wich is meant for java profiling
>> (you can monitor java processes real-time). There are a lot of similar
>> tools
>> out there (for free or payed), you can google it around, see which one has
>> what you need.
>>
>>
>>
>> On Thu, Jan 13, 2011 at 8:41 AM, Abhishek Kona> >wrote:
>>
>>  HI
>>>
>>> I am just starting off with JMeter.
>>> I need to monitor a JVM process ( a thrift service) while I load test it
>>> using a JUnit Test in Jmeter.
>>>
>>> Is there a way I can monitor the JVM process in Jmeter while I perform
>>> the
>>> test.
>>> What I need exactly is a plugin similar to Perfmon for Jmeter.
>>>
>>> Is there a way I can do it.
>>>
>>> Thanks a ton!
>>> -Abhishek Kona
>>>
>>>
>>> -
>>> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>>> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>>>
>>>
>>>
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>


Re: JMeter Monitor Results

2011-01-13 Thread Peter Lin
the mailing list strips attachments, so my suggestion is to open an
issue and attach the sample to the issue.

On Thu, Jan 13, 2011 at 9:39 AM, danimni  wrote:
>
> Hi Peter,
> thanks for the reply.
> I am using jboss.
> I've attached a sample of response.
> I guess the data is correct.
>
> thanks again!
>
> Dan.
>
>
> On Thu, Jan 13, 2011 at 4:16 PM, Peter Lin [via JMeter] <
> ml-node+3339817-2143494848-147...@n5.nabble.com
>> wrote:
>
>> are you using glassfish or jboss?
>>
>> the way it works is it looks at the stats coming back from the status
>> servlet in tomcat. If the data isn't correct, the health tab won't
>> show correct results.
>>
>> peter
>>
>>
>> On Thu, Jan 13, 2011 at 7:15 AM, danimni <[hidden 
>> email]>
>> wrote:
>>
>> >
>> > Hello everyone,
>> > I am not using Tomcat, but I can see response when I navigate to when I
>> > navigate to http://:8080/status?XML=true
>> > the results are seen properly in the 'View Results Tree'.
>> > Furthermore, I am able to see graphs (of the "Load", "Memory" and
>> > "Threads")in the 'Performance' tab, in the 'Monitor Results' listener.
>> >
>> > My problem is that the 'Health' tab shows the "DEAD" legend although the
>> > right pane is active (changes from green to yellow and vice versa). As a
>> > result, the green graph doesn't appear in the 'Performance' tab along
>> with
>> > the  "Load" and "Memory" graphs.
>> >
>> > Does anyone encounter this issue?
>> > Any ideas?
>> >
>> > Thanks,
>> > Dan.
>> >
>> > --
>> > View this message in context:
>> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339684.html
>> > Sent from the JMeter - User mailing list archive at Nabble.com.
>> >
>> > -
>> > To unsubscribe, e-mail: [hidden 
>> > email]
>> > For additional commands, e-mail: [hidden 
>> > email]
>> >
>> >
>>
>> -
>> To unsubscribe, e-mail: [hidden 
>> email]
>> For additional commands, e-mail: [hidden 
>> email]
>>
>>
>>
>> --
>>  View message @
>> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339817.html
>> To unsubscribe from JMeter Monitor Results, click 
>> here.
>>
>>
>
> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339863.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>

-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: JMeter Monitor Results

2011-01-13 Thread danimni

Hi Peter,
thanks for the reply.
I am using jboss.
I've attached a sample of response.
I guess the data is correct.

thanks again!

Dan.


On Thu, Jan 13, 2011 at 4:16 PM, Peter Lin [via JMeter] <
ml-node+3339817-2143494848-147...@n5.nabble.com
> wrote:

> are you using glassfish or jboss?
>
> the way it works is it looks at the stats coming back from the status
> servlet in tomcat. If the data isn't correct, the health tab won't
> show correct results.
>
> peter
>
>
> On Thu, Jan 13, 2011 at 7:15 AM, danimni <[hidden 
> email]>
> wrote:
>
> >
> > Hello everyone,
> > I am not using Tomcat, but I can see response when I navigate to when I
> > navigate to http://:8080/status?XML=true
> > the results are seen properly in the 'View Results Tree'.
> > Furthermore, I am able to see graphs (of the "Load", "Memory" and
> > "Threads")in the 'Performance' tab, in the 'Monitor Results' listener.
> >
> > My problem is that the 'Health' tab shows the "DEAD" legend although the
> > right pane is active (changes from green to yellow and vice versa). As a
> > result, the green graph doesn't appear in the 'Performance' tab along
> with
> > the  "Load" and "Memory" graphs.
> >
> > Does anyone encounter this issue?
> > Any ideas?
> >
> > Thanks,
> > Dan.
> >
> > --
> > View this message in context:
> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339684.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
> > -
> > To unsubscribe, e-mail: [hidden 
> > email]
> > For additional commands, e-mail: [hidden 
> > email]
> >
> >
>
> -
> To unsubscribe, e-mail: [hidden 
> email]
> For additional commands, e-mail: [hidden 
> email]
>
>
>
> --
>  View message @
> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339817.html
> To unsubscribe from JMeter Monitor Results, click 
> here.
>
>

-- 
View this message in context: 
http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339863.html
Sent from the JMeter - User mailing list archive at Nabble.com.


Re: JMeter Monitor Results

2011-01-13 Thread Peter Lin
are you using glassfish or jboss?

the way it works is it looks at the stats coming back from the status
servlet in tomcat. If the data isn't correct, the health tab won't
show correct results.

peter


On Thu, Jan 13, 2011 at 7:15 AM, danimni  wrote:
>
> Hello everyone,
> I am not using Tomcat, but I can see response when I navigate to when I
> navigate to http://:8080/status?XML=true
> the results are seen properly in the 'View Results Tree'.
> Furthermore, I am able to see graphs (of the "Load", "Memory" and
> "Threads")in the 'Performance' tab, in the 'Monitor Results' listener.
>
> My problem is that the 'Health' tab shows the "DEAD" legend although the
> right pane is active (changes from green to yellow and vice versa). As a
> result, the green graph doesn't appear in the 'Performance' tab along with
> the  "Load" and "Memory" graphs.
>
> Does anyone encounter this issue?
> Any ideas?
>
> Thanks,
> Dan.
>
> --
> View this message in context: 
> http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339684.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



New to JMeter

2011-01-13 Thread Lance Ingram
Hi All

I have downloaded jmeter svn into eclipse.

I want to write a custom JMS Listener class as a *plugin* for JMeter.

Where do I start?

Which class must I interact with?

Is there a practical example on how to do this?|
Thanks in advance


JMeter Monitor Results

2011-01-13 Thread danimni

Hello everyone, 
I am not using Tomcat, but I can see response when I navigate to when I
navigate to http://:8080/status?XML=true 
the results are seen properly in the 'View Results Tree'. 
Furthermore, I am able to see graphs (of the "Load", "Memory" and
"Threads")in the 'Performance' tab, in the 'Monitor Results' listener. 

My problem is that the 'Health' tab shows the "DEAD" legend although the
right pane is active (changes from green to yellow and vice versa). As a
result, the green graph doesn't appear in the 'Performance' tab along with
the  "Load" and "Memory" graphs. 

Does anyone encounter this issue? 
Any ideas? 

Thanks, 
Dan. 

-- 
View this message in context: 
http://jmeter.512774.n5.nabble.com/JMeter-Monitor-Results-tp3339684p3339684.html
Sent from the JMeter - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: Constant Throughput Timer confusion

2011-01-13 Thread rajivkumarnandvani

Thanks for the input,Again i tried the same as mentioned by you for 30
minutes  but still the same thing is happening. I am not sure is the result
is coming wrong or correct. Please let me know Ideal Throughput should be as
per Constant throughput timer (samples/DurationToRun(Sec)) is expecting by
me is correct or not.

Threads Loops DurationToRun(Sec) ConstantThroughPutTimer(Samples/minute)
Samples Throughput(Request/second) Ideal Throughput should be as per
Constant throughput timer (samples/DurationToRun(Sec))  50 1000 1800 sec -
9459 13.7/sec50 1000 1800 sec - 12448 17.9/sec50 1000 1800 sec 822
12046 18.4/sec 13.7/sec  50 1000 1800 sec 822 12020 17.1/sec 13.7/sec  50
1000 1800 sec 411 12111 17.9/sec 6.85/sec  50 1000 1800 sec 411 12219
19.1/sec 6.85/sec







On Wed, Jan 12, 2011 at 9:28 PM, sebb-2-2 [via JMeter] <
ml-node+3338389-2071182540-146...@n5.nabble.com
> wrote:

> On 12 January 2011 12:42, rajivkumarnandvani
> <[hidden email] >
> wrote:
>
> >
> > Hi All,
> >
> > I have done some analysis with Constant through put timer but it did not
> > work as per definition/my expectation:
> > Please see the below chart & let me knowIf it is fine Or Not.
> > Threads Loops   DurationToRun(Sec)
>  ConstantThroughPutTimer(Samples/minute)
> > Samples Throughput(Request/second)  Ideal Throughput should be as per
>
> > Constant throughput timer (samples/DurationToRun(Sec))
> > 50  1   60 sec  -   50  4.0/sec -
> > 50  1   60 sec  240 50  4.4/sec 4.0/sec
> > 50  1   60 sec  120 50  4.0/sec 2.0/sec
> > 100 1   60 sec  -   100 3.8/sec
> > 100 1   60 sec  228 100 3.9/sec 3.8/sec
> > 100 1   60 sec  114 100 3.8/sec 2.4/sec
>
> There's only a single loop, so it's impossible for the timer to adjust
> the throughput.
>
> You need to ensure that the test runs for long enough to allow steady
> state to be reached - several minutes as a minimum.
>
> 30 mins is more realistic for a meaningful test.
>
> >
> >
> http://jmeter.512774.n5.nabble.com/file/n3338043/ThroughPutTimerAnalyisis.xls
>
> > ThroughPutTimerAnalyisis.xls
> >
> > Constant throughput timer is not working as ecpected.
> >
> > -
> >
> > rajivkumarnandvani
> > --
> > View this message in context:
> http://jmeter.512774.n5.nabble.com/Constant-Throughput-Timer-confusion-tp3336268p3338043.html
> > Sent from the JMeter - User mailing list archive at Nabble.com.
> >
>
> -
> To unsubscribe, e-mail: [hidden 
> email]
> For additional commands, e-mail: [hidden 
> email]
>
>
>
> --
>  View message @
> http://jmeter.512774.n5.nabble.com/Constant-Throughput-Timer-confusion-tp3336268p3338389.html
>
> To unsubscribe from Constant Throughput Timer confusion, click 
> here.
>
>



-- 
RAJIV KUMAR





-

rajivkumarnandvani
-- 
View this message in context: 
http://jmeter.512774.n5.nabble.com/Constant-Throughput-Timer-confusion-tp3336268p3339681.html
Sent from the JMeter - User mailing list archive at Nabble.com.


Re: JVM Monitoring using JMETER

2011-01-13 Thread Abhishek Kona

Hi

@Adrian, Thanks, I have been using JConsole for monitoring Java 
Processes. But is there a way I can monitor the results in JMeter (like 
the Perfmon Plugin).


-Abhishek Kona

On 13/01/11 3:04 PM, Adrian Speteanu wrote:

The jdk comes bundled with the JConsole wich is meant for java profiling
(you can monitor java processes real-time). There are a lot of similar tools
out there (for free or payed), you can google it around, see which one has
what you need.



On Thu, Jan 13, 2011 at 8:41 AM, Abhishek Konawrote:


HI

I am just starting off with JMeter.
I need to monitor a JVM process ( a thrift service) while I load test it
using a JUnit Test in Jmeter.

Is there a way I can monitor the JVM process in Jmeter while I perform the
test.
What I need exactly is a plugin similar to Perfmon for Jmeter.

Is there a way I can do it.

Thanks a ton!
-Abhishek Kona


-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org





-
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org



Re: JVM Monitoring using JMETER

2011-01-13 Thread Adrian Speteanu
The jdk comes bundled with the JConsole wich is meant for java profiling
(you can monitor java processes real-time). There are a lot of similar tools
out there (for free or payed), you can google it around, see which one has
what you need.



On Thu, Jan 13, 2011 at 8:41 AM, Abhishek Kona wrote:

> HI
>
> I am just starting off with JMeter.
> I need to monitor a JVM process ( a thrift service) while I load test it
> using a JUnit Test in Jmeter.
>
> Is there a way I can monitor the JVM process in Jmeter while I perform the
> test.
> What I need exactly is a plugin similar to Perfmon for Jmeter.
>
> Is there a way I can do it.
>
> Thanks a ton!
> -Abhishek Kona
>
>
> -
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>