Jmeter Plugin Error

2,439 views
Skip to first unread message

karthick sugumaran

unread,
Dec 13, 2012, 12:17:53 AM12/13/12
to jmeter-...@googlegroups.com

Hi everyone,

I have installed apache-Jmeter 2.8 in my Windows 7 64-bit machine.I have to check the server metrics so I downloaded the JMeterPlugins-0.5.5.server and installed the server-agent plugin in Windows server Enterprise without Hyper-V 64 bit. I have uploaded the JMeterPlugins.jar file from JMeterPlugins-VERSION.zip inside JMETER_INSTALL_DIR/lib/ext. After I
restarted the Jmeter I got jp@gc-prefixesd plugins.

I installed jdk1.7.0_07 in my machine and in server I have installed jdk1.7.0_03. I have set the environment variabes for the both.
Windows machine :  C:\Program Files\Java\jre7\bin
Windows server  :  C:\Program Files\Java\jdk1.7.0_03\bin

Now, When I check the Server metrics using jp@gc-PerfMon Metrics Collector after adding the server in the row I got this error.

C:\JMeterPlugins-0.5.5\serverAgent>startAgent.bat
INFO    2012-12-12 12:53:52.714 [kg.apc.p] (): Binding UDP to 4444
INFO    2012-12-12 12:53:52.790 [kg.apc.p] (): Binding TCP to 4444
INFO    2012-12-12 12:53:52.795 [kg.apc.p] (): JP@GC Agent v2.1.2 started
INFO    2012-12-12 12:54:05.574 [kg.apc.p] (): Connecting new UDP client
INFO    2012-12-12 12:54:05.579 [kg.apc.p] (): Yep, we received the 'test' command
INFO    2012-12-12 12:54:05.580 [kg.apc.p] (): Starting measures: cpu:
INFO    2012-12-12 12:54:05.662 [kg.apc.p] (): Client disconnected

And in Jmeter I am getting ERROR: java.net.ConnectException: Connection refused: connect

Please help on this. I facing this issue past two days.

Thanks & Regards,
Karthick

Andrey Pohilko

unread,
Dec 13, 2012, 7:40:56 AM12/13/12
to jmeter-...@googlegroups.com
It seems your test have no duration, so agent have no time to collect even single data point. 

четверг, 13 декабря 2012 г., 9:17:53 UTC+4 пользователь karthick sugumaran написал:

karthick sugumaran

unread,
Dec 14, 2012, 1:17:06 AM12/14/12
to jmeter-...@googlegroups.com


Hi Andrey,

Thanks for your reply and I apologies for posting the same topic three times.

I am a newbie to Testing and Jmeter too. I couldn't understand about test have no duration, so agent have no time to collect even single data point
. Could you please explain about that and suggest me what I need to do get the server metrics now.

In Jmeter I have added Testplan-->Listener-->jp@gc - PerfMon Metrics Collector. After that i have added the row then provided the server ip address, save and run.

I got the following error in log viewer.

2012/12/14 11:37:35 INFO  - jmeter.engine.StandardJMeterEngine: Running the test!
2012/12/14 11:37:35 INFO  - kg.apc.jmeter.perfmon.PerfMonCollector: PerfMon metrics will be stored in C:\Users\22786\AppData\Local\Temp\perfmon_3223782070371268204.jtl
2012/12/14 11:37:35 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2012/12/14 11:37:36 INFO  - jmeter.engine.StandardJMeterEngine: No enabled thread groups found
2012/12/14 11:37:36 INFO  - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2012/12/14 11:37:36 INFO  - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)



Please help me what i need to do now.

Thanks & Regards
Karthick




Andrey Pohilko

unread,
Dec 15, 2012, 2:21:22 AM12/15/12
to jmeter-...@googlegroups.com
What you see is not errors, just info messages, the errors will be marked as ERROR.

I suggest you to start with this example test plan: http://jmeter-plugins.googlecode.com/svn/trunk/examples/NewPerfMonTest.jmx

Try to run it and tell me if you see any graphs.

пятница, 14 декабря 2012 г., 10:17:06 UTC+4 пользователь karthick sugumaran написал:

karthick sugumaran

unread,
Dec 21, 2012, 12:44:26 AM12/21/12
to jmeter-...@googlegroups.com

Hi Andrew,

Thanks for your valuable support. Now I can able to get server metrics of the server. I haven't add the applications in Thread group for the server. Once I added the applications in Thread groups I can see the graph for the server. 

Thanks & Regards,
Karthick





Vaibhav Jain

unread,
Jan 14, 2013, 2:55:55 AM1/14/13
to jmeter-...@googlegroups.com
Hi All,

Getting the following error:
---- Debugging information ----
message             : kg.apc.jmeter.perfmon.PerfMonCollector
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : kg.apc.jmeter.perfmon.PerfMonCollector
class               : org.apache.jorphan.collections.ListedHashTree
required-type       : org.apache.jorphan.collections.ListedHashTree
converter-type      : org.apache.jmeter.save.converters.HashTreeConverter
path                : /jmeterTestPlan/hashTree/hashTree/kg.apc.jmeter.perfmon.PerfMonCollector
line number         : 20
------------------------------- : kg.apc.jmeter.perfmon.PerfMonCollector : kg.apc.jmeter.perfmon.PerfMonCollector
---- Debugging information ----
message             : kg.apc.jmeter.perfmon.PerfMonCollector
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : kg.apc.jmeter.perfmon.PerfMonCollector
class               : org.apache.jorphan.collections.ListedHashTree
required-type       : org.apache.jorphan.collections.ListedHashTree
converter-type      : org.apache.jmeter.save.converters.HashTreeConverter
path                : /jmeterTestPlan/hashTree/hashTree/kg.apc.jmeter.perfmon.PerfMonCollector
line number         : 20
-------------------------------
message             : kg.apc.jmeter.perfmon.PerfMonCollector : kg.apc.jmeter.perfmon.PerfMonCollector
---- Debugging information ----
message             : kg.apc.jmeter.perfmon.PerfMonCollector
cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
cause-message       : kg.apc.jmeter.perfmon.PerfMonCollector
class               : org.apache.jorphan.collections.ListedHashTree
required-type       : org.apache.jorphan.collections.ListedHashTree
converter-type      : org.apache.jmeter.save.converters.HashTreeConverter
path                : /jmeterTestPlan/hashTree/hashTree/kg.apc.jmeter.perfmon.PerfMonCollector
line number         : 20
-------------------------------
cause-exception     : com.thoughtworks.xstream.converters.ConversionException
cause-message       : kg.apc.jmeter.perfmon.PerfMonCollector : kg.apc.jmeter.perfmon.PerfMonCollector
first-jmeter-class  : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:65)
class               : org.apache.jmeter.save.ScriptWrapper
required-type       : org.apache.jorphan.collections.ListedHashTree
converter-type      : org.apache.jmeter.save.ScriptWrapperConverter
path                : /jmeterTestPlan/hashTree/hashTree/kg.apc.jmeter.perfmon.PerfMonCollector
line number         : 20
version             : 2.8 r1393162
------------------------------- 
2013/01/14 13:23:32 WARN  - jmeter.gui.action.Load: Unexpected error java.lang.Exception: Error in TestPlan - see log file
at org.apache.jmeter.gui.action.Load.insertLoadedTree(Load.java:156)
at org.apache.jmeter.gui.action.Load.loadProjectFile(Load.java:111)
at org.apache.jmeter.gui.action.Load.doAction(Load.java:90)
at org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:79)
at org.apache.jmeter.gui.action.ActionRouter.access$000(ActionRouter.java:40)
at org.apache.jmeter.gui.action.ActionRouter$1.run(ActionRouter.java:61)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90)


Don't know how to proceed further.

Andrey Pohilko

unread,
Jan 24, 2013, 6:05:34 AM1/24/13
to jmeter-...@googlegroups.com
This may be because you have old plugins version on the machine where you try to start test plan.

понедельник, 14 января 2013 г., 11:55:55 UTC+4 пользователь Vaibhav Jain написал:

Vaibhav Jain

unread,
Mar 12, 2013, 2:23:41 AM3/12/13
to jmeter-...@googlegroups.com
Hi Andrey,

Need help in Jmeter : 

How to handle dynamically generated values during run time via Jmeter


I am recording a script which is fetching values from CSV name and email. I have used${email} and ${name} at the time which candidate is registering. Every time candidate register, unique instance Id is generated on the basis of which further action is performed. Ex: Candidate registers-> Unique Id(say 12345) -> ST : Start some test on the website -> Some responses saved for 12345 ->FT : Finish test on website

Need to perform the same for say 500 candidates. I am fetching unique email and name from csv. How do i store/handle unique instance Id for each candidate dynamically and perform the entire operation. Currently each operation is getting performed for same unique instance Id(12345) with 0% error.

Let me know if any other details needed for the same.

--
Regards,
Vaibhav Jain

er.har...@gmail.com

unread,
Feb 12, 2017, 9:23:02 PM2/12/17
to jmeter-plugins
Hi

It says file not found. Could you please upload another test plan

er.har...@gmail.com

unread,
Feb 12, 2017, 11:51:37 PM2/12/17
to jmeter-plugins
Hi

I got the solution. I haven't added https request to the thread group. It started working as soon as i added HTTPS request sampler to it

rishi...@travisperkins.co.uk

unread,
Feb 15, 2017, 4:46:58 AM2/15/17
to jmeter-plugins
Did you fix this issues? 

If not you just need to use a regex extractor to extract the value from the page as it is generated then use it as a variable further down.. 

renukak...@gmail.com

unread,
Feb 20, 2017, 7:45:37 AM2/20/17
to jmeter-plugins
Hi,

I am very new to Jmeter. Now i am trying to exploring Jmeter. while opening "Plugins manager" from options in Jmeter getting the below error. first time is opening and immediately getting this error every time. please check the below

java.net.ConnectException: Connection refused: connect
at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:542)
at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:412)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:179)
at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:328)
at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:612)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:447)
at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:884)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
at org.jmeterplugins.repository.JARSourceHTTP.getJSON(JARSourceHTTP.java:104)
at org.jmeterplugins.repository.JARSourceHTTP.getRepo(JARSourceHTTP.java:135)
at org.jmeterplugins.repository.PluginManager.load(PluginManager.java:49)
at org.jmeterplugins.repository.PluginManagerDialog.componentShown(PluginManagerDialog.java:203)
at java.awt.Component.processComponentEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Window.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

Andrey Pokhilko

unread,
Feb 20, 2017, 7:51:58 AM2/20/17
to jmeter-...@googlegroups.com

Hi,

Most likely, you are using corporate proxy. In that case, please use this instruction from doc: https://jmeter-plugins.org/wiki/PluginsManager/#Using-Behind-the-Proxy

Andrey Pokhilko

--
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.

Rishi Davda

unread,
Feb 20, 2017, 7:53:18 AM2/20/17
to jmeter-...@googlegroups.com

--
You received this message because you are subscribed to a topic in the Google Groups "jmeter-plugins" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jmeter-plugins/34xSvxSFM0Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jmeter-plugins+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Rishi Davda

Performance Tester

IT Engineering

Travis Perkins plc


www.travisperkinsplc.co.uk




This e-mail and any attachments are confidential and intended solely for the use of the addressee only. If you have received this message in error, you must not copy, distribute or disclose the contents; please notify the sender immediately and delete the message.


This message is attributed to the sender and may not necessarily reflect the view of Travis Perkins Trading Company Limited, 733503, Lodge Way House, Lodge Way, Harlestone Road, Northampton, NN5 7UG or its parent company Travis Perkins plc (Registered in England No. 824821; Lodge Way House, Lodge Way, Harlestone Road, Northampton, NN5 7UG; VAT number 408556737) and any of its subsidiaries. Agreements binding Travis Perkins Trading Company Limited may not be concluded by means of e-mail communication.


E-mail transmissions are not secure and Travis Perkins Trading accepts no responsibility for changes made to this message after it was sent. Whilst steps have been taken to ensure that this message is virus free, Travis Perkins Trading accepts no liability for infection and recommends that you scan this e-mail and any attachments.
Reply all
Reply to author
Forward
0 new messages