How it works with Linux Environment

1,225 views
Skip to first unread message

atul pant

unread,
Jan 3, 2012, 7:06:54 AM1/3/12
to jmeter-plugins
I need help to install Jmeter plugin in Linux Environment.

I have Jmeter in my local machine and generating load to application
server (IP address). But, in server machine i don't have Jmeter
installed.

Where i should install the Jmeter Plugin. So, that i can get the sever
metrics.i.e In local machine itself or i need to install it in
application server machine.

As, i have Linux Environment so i am having problem. Please, help me
out....

Andrey Pohilko

unread,
Jan 3, 2012, 1:49:39 PM1/3/12
to jmeter-...@googlegroups.com
You need to upload serverAgent files into any folder at linux server, and have Java installed on that server. 
Then you may start the agent with startAgent.sh script. If you have some specific problems, please post here your console output.

michalsen

unread,
Jan 5, 2012, 12:30:39 PM1/5/12
to jmeter-plugins
Perfmon issues, if I can jump into this thread.

Running JMeter on an Unbuntu machine where the apache is serving a
site.
startAgent is running and JMeter reads the Agent.
From the startAgent:
INFO 2012-01-05 11:14:27.787 [kg.apc.p] (): Binding TCP to 4450
INFO 2012-01-05 11:14:52.987 [kg.apc.p] (): Accepting new TCP
connection
INFO 2012-01-05 11:14:52.993 [kg.apc.p] (): Yep, we received the
'test' command
INFO 2012-01-05 11:14:59.591 [kg.apc.p] (): Client disconnected

Very occasionally the graph will show, but most of the times it just
states
"Waiting for samples..."

If it were not the several times the graph did show I would think
something is completely hosed,
but since it randomly shows I am completely at a loss.

One time the graph showed with I applied "Reset GUI".
Another time was when I first started JMeter.
Another time when I created a second Thread Group.

There is no pattern and I have re-installed JMeter several times.

From my time google'ing the issue I'm thinking I've quite the unique
issue.
Any ideas?

Thanks!
Eric

Andrey Pohilko

unread,
Jan 5, 2012, 2:18:42 PM1/5/12
to jmeter-...@googlegroups.com
Have you tried clean JMeter installation on separate machine? I wonder if the issue somehow related to the environment.

michalsen

unread,
Jan 5, 2012, 3:03:59 PM1/5/12
to jmeter-plugins
I am trying it on another unbuntu machine, same issue...however, I
have to pass -Xmx100M for java otherwise
it runs out of memory.

I'ill be trying this on a Windows machine tonight when I get home...
Will post my findings.

Thank you,
e/

Andrey Pohilko

unread,
Jan 6, 2012, 7:05:35 AM1/6/12
to jmeter-...@googlegroups.com
also, please, enable --loglevel DEBUG for server agent, it will print us some verbose info

michalsen

unread,
Jan 6, 2012, 9:37:38 AM1/6/12
to jmeter-plugins
Adventures in JMeter :)

Performance Monitor graph works great on my Windows7 laptop.
Only works sporadically in Unbuntu, both on my workstation and a VM
(Quickstart for Drupal development).

startAgent.sh DEBUG:
-bash-3.2$ ./startAgent.sh --tcp-port 4450 --loglevel DEBUG
DEBUG 2012-01-06 09:35:34.417 [kg.apc.p] (): Start accepting
connections
INFO 2012-01-06 09:35:34.432 [kg.apc.p] (): Binding UDP to 4444
INFO 2012-01-06 09:35:35.433 [kg.apc.p] (): Binding TCP to 4450
INFO    2012-01-06 09:35:56.776 [kg.apc.p] (): Accepting new TCP
connectionDEBUG   2012-01-06 09:35:56.779 [kg.apc.p] (): Creating new
metric getterDEBUG   2012-01-06 09:35:56.783 [kg.apc.p] (): Read:
java.nio.DirectByteBuffer[pos=0 lim=5 cap=1024]DEBUG   2012-01-06
09:35:56.783 [kg.apc.p] (): Command line is: test
DEBUG   2012-01-06 09:35:56.783 [kg.apc.p] (): Got command line:
testINFO    2012-01-06 09:35:56.783 [kg.apc.p] (): Yep, we received
the 'test' commandDEBUG   2012-01-06 09:35:56.784 [kg.apc.p] (): Done
executing commandDEBUG   2012-01-06 09:35:56.784 [kg.apc.p] ():
Command line is: DEBUG   2012-01-06 09:35:56.876 [kg.apc.p] (): Read:
java.nio.DirectByteBuffer[pos=0 lim=22 cap=1024]DEBUG   2012-01-06
09:35:56.877 [kg.apc.p] (): Command line is: metrics:memory: cpu:
DEBUG   2012-01-06 09:35:56.877 [kg.apc.p] (): Got command line:
metrics:memory: cpu: DEBUG   2012-01-06 09:35:56.881 [kg.apc.p] ():
Creating metric: memory with params: DEBUG   2012-01-06 09:35:56.885
[kg.apc.p] (): Have metric object:
kg.apc.perfmon.metrics.MemTotalMetric@122e7820DEBUG   2012-01-06
09:35:56.885 [kg.apc.p] (): Creating metric: cpu with params: DEBUG  
2012-01-06 09:35:56.886 [kg.apc.p] (): Have metric object:
kg.apc.perfmon.metrics.CPUTotalMetric@eb64435DEBUG   2012-01-06
09:35:56.886 [kg.apc.p] (): Done executing commandDEBUG   2012-01-06
09:35:56.887 [kg.apc.p] (): Command line is: DEBUG   2012-01-06
09:35:57.480 [kg.apc.p] (): Building metricsDEBUG   2012-01-06
09:35:57.986 [kg.apc.p] (): Metrics line: 7781.0605868479115 0.0
DEBUG   2012-01-06 09:35:58.483 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:35:58.483 [kg.apc.p] (): Metrics line: 7780.680175496437
0.0
DEBUG   2012-01-06 09:35:59.486 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:35:59.486 [kg.apc.p] (): Metrics line: 7780.595639640554
0.0
DEBUG   2012-01-06 09:36:00.488 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:00.488 [kg.apc.p] (): Metrics line:
7781.9482133346855 0.1997336884154461
DEBUG   2012-01-06 09:36:01.491 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:01.491 [kg.apc.p] (): Metrics line: 7879.544858951924
10.309278350515463
DEBUG   2012-01-06 09:36:02.492 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:02.493 [kg.apc.p] (): Metrics line: 7896.536565984462
8.99234693877551
DEBUG   2012-01-06 09:36:03.494 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:03.495 [kg.apc.p] (): Metrics line: 8114.765877947131
25.471085120207924
DEBUG   2012-01-06 09:36:04.496 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:04.497 [kg.apc.p] (): Metrics line: 8591.674908912615
39.02284263959391
DEBUG   2012-01-06 09:36:05.498 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:05.499 [kg.apc.p] (): Metrics line: 9365.38932988427
44.303797468354425
DEBUG   2012-01-06 09:36:06.500 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:06.501 [kg.apc.p] (): Metrics line: 9319.739967707304
45.28813559322034
DEBUG   2012-01-06 09:36:07.502 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:07.503 [kg.apc.p] (): Metrics line: 9255.577253091898
44.34447300771208
DEBUG   2012-01-06 09:36:08.504 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:08.505 [kg.apc.p] (): Metrics line: 9179.579518652836
39.72081218274111
DEBUG   2012-01-06 09:36:09.506 [kg.apc.p] (): Building metricsDEBUG  
2012-01-06 09:36:09.506 [kg.apc.p] (): Metrics line: 9128.51986169934
35.38067818298145
DEBUG   2012-01-06 09:36:10.443 [kg.apc.p] (): Read:
java.nio.DirectByteBuffer[pos=0 lim=5 cap=1024]DEBUG   2012-01-06
09:36:10.444 [kg.apc.p] (): Command line is: exit
DEBUG   2012-01-06 09:36:10.444 [kg.apc.p] (): Got command line:
exitINFO    2012-01-06 09:36:10.444 [kg.apc.p] (): Client
disconnectedDEBUG   2012-01-06 09:36:10.444 [kg.apc.p] (): Done
executing commandDEBUG   2012-01-06 09:36:10.444 [kg.apc.p] ():
Command line is:

Andrey Pohilko

unread,
Jan 6, 2012, 10:45:43 AM1/6/12
to jmeter-...@googlegroups.com
Huh, I just tested Win7 to Ubuntu and reverse direction - everything worked fine, no failures.
What do I miss? Can anyone give me simple reproduction test plan?

Andrey Pohilko

unread,
Jan 6, 2012, 10:48:01 AM1/6/12
to jmeter-...@googlegroups.com
Also , is everything clean in jmeter.log? Any errors?

shankar kurella

unread,
Jan 6, 2012, 11:51:39 AM1/6/12
to jmeter-...@googlegroups.com
@ atul just for information.... can i know the server details and your ubuntu version (client system)???.....  


  regards  
shankar k b
shankarkurella.blogspot.com

michalsen

unread,
Jan 6, 2012, 12:36:47 PM1/6/12
to jmeter-plugins
well, I think I boned my system.
went through and did apt-get remove jmeter, then install jmeter, then
update, upgrade...just a bunch...
and...it stopped working.
If I remove perfmon listener it works, but as soon as I add it jmeter
fails.
the error is:

2012/01/06 11:30:09 INFO  - kg.apc.perfmon.client.TransportFactory:
Can't connect UDP transport for host: /[IPADDRESS]:4450
java.io.IOException: Agent is unreachable via UDP at
kg.apc.perfmon.client.TransportFactory.getTransport(TransportFactory.java:
34) at
kg.apc.jmeter.perfmon.PerfMonCollector.getConnector(PerfMonCollector.java:
193) at
kg.apc.jmeter.perfmon.PerfMonCollector.initiateConnector(PerfMonCollector.java:
175) at
kg.apc.jmeter.perfmon.PerfMonCollector.initiateConnectors(PerfMonCollector.java:
152) at
kg.apc.jmeter.perfmon.PerfMonCollector.testStarted(PerfMonCollector.java:
110) at
org.apache.jmeter.reporters.ResultCollector.testStarted(ResultCollector.java:
260) at
org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:
275) at
org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:
413) at java.lang.Thread.run(Unknown Source)
2012/01/06 11:30:09 INFO  - kg.apc.perfmon.client.TransportFactory:
Can't connect TCP transport for host: /[IPADDRESS]:4450
java.io.IOException: Agent is unreachable via TCP at
kg.apc.perfmon.client.TransportFactory.getTransport(TransportFactory.java:
43) at
kg.apc.jmeter.perfmon.PerfMonCollector.getConnector(PerfMonCollector.java:
193) at
kg.apc.jmeter.perfmon.PerfMonCollector.initiateConnector(PerfMonCollector.java:
175) at
kg.apc.jmeter.perfmon.PerfMonCollector.initiateConnectors(PerfMonCollector.java:
152) at
kg.apc.jmeter.perfmon.PerfMonCollector.testStarted(PerfMonCollector.java:
110) at
org.apache.jmeter.reporters.ResultCollector.testStarted(ResultCollector.java:
260) at
org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart(StandardJMeterEngine.java:
275) at
org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:
413) at java.lang.Thread.run(Unknown Source)




On Jan 6, 10:51 am, shankar kurella <shankarkurella...@gmail.com>
wrote:
> @ atul just for information.... can i know the server details and your
> ubuntu version (client system)???.....
>
>   regards *  *

Andrey Pohilko

unread,
Jan 6, 2012, 1:07:31 PM1/6/12
to jmeter-...@googlegroups.com
There is no need to reinstall JMeter itself, only plugins and agent.

I tested under Wireshark network sniffer and everything seems to be ok with agent communications. 

Can anyone test with --udp-port 0 setting to disable UDP usage?  

michalsen

unread,
Jan 6, 2012, 2:31:26 PM1/6/12
to jmeter-plugins
reinstalled all the software. same issue
here is the startup, jmeter.log file and .jmx file for reference

STARTAGENT
./startAgent.sh --tcp-port 4450 --udp-port 0 --loglevel DEBUG
DEBUG 2012-01-06 14:26:47.978 [kg.apc.p] (): Start accepting
connections
INFO 2012-01-06 14:26:48.010 [kg.apc.p] (): Binding TCP to 4450
INFO 2012-01-06 14:27:04.478 [kg.apc.p] (): Accepting new TCP
connection
DEBUG 2012-01-06 14:27:04.480 [kg.apc.p] (): Creating new metric
getter
DEBUG 2012-01-06 14:27:04.484 [kg.apc.p] (): Read:
java.nio.DirectByteBuffer[pos=0 lim=5 cap=1024]
DEBUG 2012-01-06 14:27:04.484 [kg.apc.p] (): Command line is: test

DEBUG 2012-01-06 14:27:04.484 [kg.apc.p] (): Got command line: test
INFO 2012-01-06 14:27:04.485 [kg.apc.p] (): Yep, we received the
'test' command
DEBUG 2012-01-06 14:27:04.485 [kg.apc.p] (): Done executing command
DEBUG 2012-01-06 14:27:04.485 [kg.apc.p] (): Command line is:
DEBUG 2012-01-06 14:27:04.508 [kg.apc.p] (): Read:
java.nio.DirectByteBuffer[pos=0 lim=14 cap=1024]
DEBUG 2012-01-06 14:27:04.509 [kg.apc.p] (): Command line is:
metrics:cpu:

DEBUG 2012-01-06 14:27:04.509 [kg.apc.p] (): Got command line:
metrics:cpu:
DEBUG 2012-01-06 14:27:04.513 [kg.apc.p] (): Creating metric: cpu
with params:
DEBUG 2012-01-06 14:27:04.516 [kg.apc.p] (): Have metric object:
kg.apc.perfmon.metrics.CPUTotalMetric@59c9b9ca
DEBUG 2012-01-06 14:27:04.517 [kg.apc.p] (): Done executing command
DEBUG 2012-01-06 14:27:04.517 [kg.apc.p] (): Command line is:
DEBUG 2012-01-06 14:27:04.987 [kg.apc.p] (): Read:
java.nio.DirectByteBuffer[pos=0 lim=5 cap=1024]
DEBUG 2012-01-06 14:27:04.987 [kg.apc.p] (): Command line is: exit

DEBUG 2012-01-06 14:27:04.988 [kg.apc.p] (): Got command line: exit
INFO 2012-01-06 14:27:04.988 [kg.apc.p] (): Client disconnected
DEBUG 2012-01-06 14:27:04.988 [kg.apc.p] (): Done executing command
DEBUG 2012-01-06 14:27:04.988 [kg.apc.p] (): Command line is:

JMETER LOG FILE

2012/01/06 13:27:04 INFO - jmeter.engine.StandardJMeterEngine:
Running the test!
2012/01/06 13:27:04 INFO - kg.apc.perfmon.client.TransportFactory:
2012/01/06 13:27:04 INFO - jmeter.gui.util.JMeterMenuBar:
setRunning(true,*local*)
2012/01/06 13:27:04 INFO - jmeter.engine.StandardJMeterEngine:
Starting 1 threads for group Thread Group. Ramp up = 1.
2012/01/06 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: Thread
will continue on error
2012/01/06 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: All
threads have been started
2012/01/06 13:27:04 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-1
2012/01/06 13:27:04 INFO - jmeter.threads.JMeterThread: Thread
finished: Thread Group 1-1
2012/01/06 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: Ending
thread Thread Group 1-1
2012/01/06 13:27:04 INFO - jmeter.engine.StandardJMeterEngine:
Stopping test
2012/01/06 13:27:04 INFO - jmeter.engine.StandardJMeterEngine:
Notifying test listeners of end of test
2012/01/06 13:27:04 INFO - jmeter.gui.util.JMeterMenuBar:
setRunning(false,*local*)
2012/01/06 13:27:04 INFO - jmeter.engine.StandardJMeterEngine: Test
has ended

JMX FILE
<?xml version="1.0" encoding="UTF-8"?>
<jmeterTestPlan version="1.2" properties="2.1">
<hashTree>
<TestPlan guiclass="TestPlanGui" testclass="TestPlan"
testname="Test Plan" enabled="true">
<stringProp name="TestPlan.comments"></stringProp>
<boolProp name="TestPlan.functional_mode">false</boolProp>
<boolProp name="TestPlan.serialize_threadgroups">false</
boolProp>
<elementProp name="TestPlan.user_defined_variables"
elementType="Arguments" guiclass="ArgumentsPanel"
testclass="Arguments" testname="User Defined Variables"
enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="TestPlan.user_define_classpath"></stringProp>
</TestPlan>
<hashTree>
<ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup"
testname="Thread Group" enabled="true">
<elementProp name="ThreadGroup.main_controller"
elementType="LoopController" guiclass="LoopControlPanel"
testclass="LoopController" testname="Loop Controller" enabled="true">
<boolProp name="LoopController.continue_forever">false</
boolProp>
<stringProp name="LoopController.loops">1</stringProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">1</stringProp>
<stringProp name="ThreadGroup.ramp_time">1</stringProp>
<longProp name="ThreadGroup.start_time">1325877864000</
longProp>
<longProp name="ThreadGroup.end_time">1325877864000</longProp>
<boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.on_sample_error">continue</
stringProp>
<stringProp name="ThreadGroup.duration"></stringProp>
<stringProp name="ThreadGroup.delay"></stringProp>
</ThreadGroup>
<hashTree>
<ConfigTestElement guiclass="HttpDefaultsGui"
testclass="ConfigTestElement" testname="HTTP Request Defaults"
enabled="true">
<elementProp name="HTTPsampler.Arguments"
elementType="Arguments" guiclass="HTTPArgumentsPanel"
testclass="Arguments" testname="User Defined Variables"
enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="HTTPSampler.domain">[IPADDRESS]</
stringProp>
<stringProp name="HTTPSampler.port"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></
stringProp>
<stringProp name="HTTPSampler.protocol"></stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path"></stringProp>
</ConfigTestElement>
<hashTree/>
<HTTPSampler guiclass="HttpTestSampleGui"
testclass="HTTPSampler" testname="HTTP Request" enabled="true">
<elementProp name="HTTPsampler.Arguments"
elementType="Arguments" guiclass="HTTPArgumentsPanel"
testclass="Arguments" testname="User Defined Variables"
enabled="true">
<collectionProp name="Arguments.arguments"/>
</elementProp>
<stringProp name="HTTPSampler.domain"></stringProp>
<stringProp name="HTTPSampler.port"></stringProp>
<stringProp name="HTTPSampler.connect_timeout"></stringProp>
<stringProp name="HTTPSampler.response_timeout"></
stringProp>
<stringProp name="HTTPSampler.protocol"></stringProp>
<stringProp name="HTTPSampler.contentEncoding"></stringProp>
<stringProp name="HTTPSampler.path">/</stringProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.follow_redirects">false</
boolProp>
<boolProp name="HTTPSampler.auto_redirects">true</boolProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</
boolProp>
<stringProp name="HTTPSampler.FILE_NAME"></stringProp>
<stringProp name="HTTPSampler.FILE_FIELD"></stringProp>
<stringProp name="HTTPSampler.mimetype"></stringProp>
<boolProp name="HTTPSampler.monitor">false</boolProp>
<stringProp name="HTTPSampler.embedded_url_re"></stringProp>
</HTTPSampler>
<hashTree/>
<ResultCollector guiclass="StatVisualizer"
testclass="ResultCollector" testname="Aggregate Report"
enabled="true">
<boolProp name="ResultCollector.error_logging">false</
boolProp>
<objProp>
<name>saveConfig</name>
<value class="SampleSaveConfiguration">
<time>true</time>
<latency>true</latency>
<timestamp>true</timestamp>
<success>true</success>
<label>true</label>
<code>true</code>
<message>true</message>
<threadName>true</threadName>
<dataType>true</dataType>
<encoding>false</encoding>
<assertions>true</assertions>
<subresults>true</subresults>
<responseData>false</responseData>
<samplerData>false</samplerData>
<xml>true</xml>
<fieldNames>false</fieldNames>
<responseHeaders>false</responseHeaders>
<requestHeaders>false</requestHeaders>
<responseDataOnError>false</responseDataOnError>
<saveAssertionResultsFailureMessage>false</
saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
</value>
</objProp>
<stringProp name="filename"></stringProp>
</ResultCollector>
<hashTree/>
<kg.apc.jmeter.perfmon.PerfMonCollector
guiclass="kg.apc.jmeter.vizualizers.PerfMonGui"
testclass="kg.apc.jmeter.perfmon.PerfMonCollector" testname="jp@gc -
PerfMon Metrics Collector" enabled="true">
<boolProp name="ResultCollector.error_logging">false</
boolProp>
<objProp>
<name>saveConfig</name>
<value class="SampleSaveConfiguration">
<time>true</time>
<latency>true</latency>
<timestamp>true</timestamp>
<success>true</success>
<label>true</label>
<code>true</code>
<message>true</message>
<threadName>true</threadName>
<dataType>true</dataType>
<encoding>false</encoding>
<assertions>true</assertions>
<subresults>true</subresults>
<responseData>false</responseData>
<samplerData>false</samplerData>
<xml>true</xml>
<fieldNames>false</fieldNames>
<responseHeaders>false</responseHeaders>
<requestHeaders>false</requestHeaders>
<responseDataOnError>false</responseDataOnError>
<saveAssertionResultsFailureMessage>false</
saveAssertionResultsFailureMessage>
<assertionsResultsToSave>0</assertionsResultsToSave>
<bytes>true</bytes>
</value>
</objProp>
<stringProp name="filename"></stringProp>
<longProp name="interval_grouping">1000</longProp>
<boolProp name="graph_aggregated">false</boolProp>
<collectionProp name="metricConnections">
<collectionProp name="-1792713120">
<stringProp name="-1168106392">[IPADDRESS]</stringProp>
<stringProp name="1600795">4450</stringProp>
<stringProp name="66952">CPU</stringProp>
<stringProp name="0"></stringProp>
</collectionProp>
</collectionProp>
</kg.apc.jmeter.perfmon.PerfMonCollector>
<hashTree/>
</hashTree>
</hashTree>
</hashTree>
</jmeterTestPlan>

Andrey Pohilko

unread,
Jan 6, 2012, 2:45:50 PM1/6/12
to jmeter-...@googlegroups.com
michalsen,
Now I see by your DEBUG server agent log that agent receive 'exit' command immediately after it starts working. And your test plan confirms it - you have single thread with single iteration and single sampler. Thus your test have no time duration and metric collector have no time to get some metrics from your host.

Try setting iteration count in Thread Group to some large value, and repeat your test.

michalsen

unread,
Jan 6, 2012, 3:24:07 PM1/6/12
to jmeter-plugins
I originally set the Thread Group to the following, and have just
reset and rerun to the same issue:
Number of Threads: 10
Ramp-up Period: 2
Loop Count: 10

The reason I set them to 1 is so that the copied and pasted data
wouldn't be as long.

so...same issue.
I'm going to owe you some beers for all this help :)

michalsen

unread,
Jan 6, 2012, 4:53:32 PM1/6/12
to jmeter-plugins

update.
I created a virtual CentOS machine and setup JMeter as I did on the
Ubuntu.
Works perfectly.

I think we can stop all this and either I have something hosed in my
Ubuntu's...or JMeter is having an issue with it.
Either way, I have it working so that's a plus.

Thank you very much for all your ideas and help!

Andrey Pohilko

unread,
Jan 7, 2012, 3:25:33 AM1/7/12
to jmeter-...@googlegroups.com
allright!

good luck!

cjjosep...@gmail.com

unread,
Mar 26, 2015, 10:26:59 AM3/26/15
to jmeter-...@googlegroups.com
Hi Andrey


Facing the Below exception when i run the StartAgent.sh 

./startAgent.sh --udp-port 0 --tcp-port 3450
ERROR: java.lang.NoClassDefFoundError: org/apache/jorphan/logging/LoggingManager
*** Problem's technical details go below ***
Home directory was detected as: /juv/apache-jmeter-2.9/bin/BillingServices/ServerAgent-2.2.1
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/jorphan/logging/LoggingManager
        at kg.apc.perfmon.AgentTool.<clinit>(AgentTool.java:17)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at java.lang.Class.newInstance0(Class.java:372)
        at java.lang.Class.newInstance(Class.java:325)
        at kg.apc.cmdtools.PluginsCMD.getToolInstance(PluginsCMD.java:113)
        at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:51)
        at kg.apc.cmdtools.PluginsCMD.processParams(PluginsCMD.java:23)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at kg.apc.cmd.UniversalRunner.main(UniversalRunner.java:175)
Caused by: java.lang.ClassNotFoundException: org.apache.jorphan.logging.LoggingManager
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)

Andrey Pokhilko

unread,
Mar 26, 2015, 12:50:55 PM3/26/15
to jmeter-...@googlegroups.com, cjjosep...@gmail.com
Don't hijack the topics, please

четверг, 26 марта 2015 г., 17:26:59 UTC+3 пользователь cjjosep...@gmail.com написал:

hema...@esyasoft.com

unread,
Sep 15, 2015, 2:06:20 AM9/15/15
to jmeter-plugins, atulp...@gmail.com
hi friends,
i am working on windows environment.so jmeter is on windows environment,but i want to monitor CPU Utilization of Linux system using jmeter which is on windows.
can you please help me

Pratapi Hemant Patel

unread,
Sep 15, 2015, 2:17:11 AM9/15/15
to jmeter-...@googlegroups.com, atulp...@gmail.com
Follow the steps 20 onwads in the link https://knowledgeworldforyou.wordpress.com/2015/01/23/jmeter-performance-of-cpu-and-memory-usage-using-perfmon-plugin/

1. Install a server agent (a script, can be downloaded from jmeter plugins site, download link is mentioned in above steps) on the server(to be monitored).

2. Add a perfmon metrics collector on your jmeter gui, provide configuration.

You will be able to see CPU, memory usage of your server.
You don't need to install whole jmeter on server just a server agent


Thanks and Regards
Hemant
9810752184 / 9013982184


-------------------------------------------------------------------------------------------------------------
Disclaimer

This information contained in this email communication, including attachments is solely intended for the use of the individual to whom it is addressed and others authorized to receive it. It may contain confidential and/or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. The sender is not responsible for timely, secure, error-free, virus free, proper and complete transmission of the information contained in this communication.  

--
You received this message because you are subscribed to the Google Groups "jmeter-plugins" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jmeter-plugin...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages