Getting exception while using jp#gc Graphs Generator - jmeter

I am new to Jmeter and getting java.lang.ClassNotFoundException:kg.apc.jmeter.vizualizers.SynthesisReportGui when using jp#gc Graph generator plugin in Jmeter v 3.0. Please help.
I am trying to run Jmeter in GUI mode.Jmeter configuration Image
I have placed following jars in lib:
jmeter-plugins-graphs-ggl-2.0.jar
cmdrunner-2.0.jar
jmeter-plugins-cmn-jmeter-0.3.jar
and following in ext folder:
jmeter-plugins-graphs-ggl-2.0.jar
jmeter-plugins-manager-0.10.jar
cmdrunner-2.0.jar
jmeter-plugins-cmn-jmeter-0.3.jar
jmeter-plugins-cmd-2.1.jar
Following is the log:
2017/02/13 18:31:09 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-2
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-1
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-5
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-3
2017/02/13 18:31:09 INFO - jmeter.threads.JMeterThread: Thread started: CIC_Perf_Wall 1-4
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-3
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-3
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-1
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-1
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-4
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-4
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-2
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-2
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread is done: CIC_Perf_Wall 1-5
2017/02/13 18:31:18 INFO - jmeter.threads.JMeterThread: Thread finished: CIC_Perf_Wall 1-5
2017/02/13 18:31:18 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2017/02/13 18:31:18 INFO - jmeter.config.KeystoreConfig: Destroying Keystore
2017/02/13 18:31:18 INFO - kg.apc.jmeter.PluginsCMDWorker: Using JMeterPluginsCMD v. N/A
2017/02/13 18:31:18 WARN - kg.apc.jmeter.JMeterPluginsUtils: JMeter env exists. No one should see this normally.
2017/02/13 18:31:18 WARN - jmeter.engine.StandardJMeterEngine: Error encountered during shutdown of kg.apc.jmeter.listener.GraphsGeneratorListener#215ff3c0 java.lang.RuntimeException: java.lang.ClassNotFoundException: kg.apc.jmeter.vizualizers.SynthesisReportGui
at kg.apc.jmeter.PluginsCMDWorker.getGUIObject(PluginsCMDWorker.java:237)
at kg.apc.jmeter.PluginsCMDWorker.getGUIObject(PluginsCMDWorker.java:234)
at kg.apc.jmeter.PluginsCMDWorker.setPluginType(PluginsCMDWorker.java:73)
at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:221)
at kg.apc.jmeter.listener.GraphsGeneratorListener.testEnded(GraphsGeneratorListener.java:137)
at org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:215)
at org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.java:436)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: kg.apc.jmeter.vizualizers.SynthesisReportGui
2017/02/13 18:31:18 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
Jmeter configuration Image

The error you're getting is about missing Synthesis Report plugin, you need to:
download it from https://jmeter-plugins.org/?search=jpgc-synthesis
drop to lib/ext folder of your JMeter installation
restart JMeter to pick up the plugin
Another (better) way of installing the plugins and keeping them up-to-date is using JMeter Plugins Manager

Related

HTTP Request Sampler not working

I am using windows7 and the latest version of Jmeter. I created a simple HTTP Request Sampler and in the server name I added google.com
When I ran it I got the following error:
2015/11/30 14:15:32 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2015/11/30 14:15:32 INFO - jmeter.samplers.SampleEvent: List of sample_variables: []
2015/11/30 14:15:32 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2015/11/30 14:15:32 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2015/11/30 14:15:32 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2015/11/30 14:15:32 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2015/11/30 14:15:32 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2015/11/30 14:15:32 INFO - jmeter.threads.ThreadGroup: Started thread group number 1
2015/11/30 14:15:32 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2015/11/30 14:15:32 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2015/11/30 14:15:33 INFO - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1
2015/11/30 14:15:33 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2015/11/30 14:15:33 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2015/11/30 14:15:33 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
This is normal output of JMeter, it indicates that JMeter started and finished one thread one time.
You can visualize test results with Listeners, in particular View Results Tree is extremely useful for test script development and debugging.
As you can see at below image:
the request is successful (green triangle)
google search page is displayed at "Response data" tab
log viewer contains the same entries as you posted
Don't forget to disable listeners for the actual test execution, they consume a lot of resources. You'll be able to open results file after test run using "Browse" button and perform analysis.
See How to debug your Apache JMeter script article for detailed information on getting to the bottom of JMeter test script problem.

Jmeter thread execution internal process?

when i ran jmeter script , i can see the below logs: Why it is repeatedly printed thread group 1-1,1-1,1-1...1-2 ?? I understood that 1-1 means first thread group - first thread but it is printed again and again what does that mean in execution side??
2014/11/27 03:45:59 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:00 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:02 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:03 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:05 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1 2014/11/27 03:46:06 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:08 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:09 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:11 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:12 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2 2014/11/27 03:46:14 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-3 jmeter.threads.JMeterThread: Thread finished: Thread Group 1-3 2014/11/27 03:47:51 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-3
I
From what i understand. Since you have only 1 thread group in your test plan, That is why your Log shows
014/11/27 03:45:59 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-1 2014/11/27 03:46:00 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2014/11/27 03:46:02 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-1 2014/11/27 03:46:03 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2014/11/27 03:46:05 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-1 2014/11/27 03:46:06 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-2
2014/11/27 03:46:08 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-2 2014/11/27 03:46:09 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-2
2014/11/27 03:46:11 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-2 2014/11/27 03:46:12 INFO -
jmeter.threads.JMeterThread: Thread started: Thread Group 1-2
2014/11/27 03:46:14 INFO - jmeter.threads.JMeterThread: Thread
started: Thread Group 1-3
The first number represent the Thread group started: Thread Group 1-1, Thread Group 1-2, Thread Group 1-3 ..........
The second number represents the user.

How to solve this error an jmetere

2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2015/06/12 11:00:11 INFO - jmeter.samplers.SampleEvent: List of sample_variables: []
2015/06/12 11:00:11 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2015/06/12 11:00:11 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2015/06/12 11:00:11 INFO - jmeter.threads.ThreadGroup: Started thread group number 1
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2015/06/12 11:00:11 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2015/06/12 11:00:11 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.IllegalStateException: The driver executable does not exist: D:\Mm performance\apache-jmeter-2.13\apache-jmeter-2.13\bin
at com.google.common.base.Preconditions.checkState(Preconditions.java:197)
at org.openqa.selenium.remote.service.DriverService.checkExecutable(DriverService.java:117)
at org.openqa.selenium.chrome.ChromeDriverService.access$000(ChromeDriverService.java:39)
at org.openqa.selenium.chrome.ChromeDriverService$Builder.usingDriverExecutable(ChromeDriverService.java:116)
at com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig.getThreadService(ChromeDriverConfig.java:72)
at com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig.createBrowser(ChromeDriverConfig.java:53)
at com.googlecode.jmeter.plugins.webdriver.config.ChromeDriverConfig.createBrowser(ChromeDriverConfig.java:18)
at com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig.getPreparedBrowser(WebDriverConfig.java:233)
at com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig.threadStarted(WebDriverConfig.java:220)
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:610)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:998)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:980)
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:579)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:567)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:257)
at java.lang.Thread.run(Thread.java:745)
2015/06/12 11:00:11 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2015/06/12 11:00:11 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2015/06/12 11:00:11 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
Download the latest version of ChromeDriver from http://chromedriver.storage.googleapis.com/index.html (if not yet)
Add the following line to system.properties file (the file lives under /bin folder of your JMeter installation)
webdriver.chrome.driver=d:/chromedriver.exe
You may have to substitute d:/chromedriver.exe with actual path to the ChromeDriver binary. Remember to use either forward slashes c:/somefoler/someotherfolder or escaped back slashes c:\\somefolder\\someotherfolder if you use Windows
Restart JMeter
ChromeDriver should work normally.
See Apache JMeter Properties Customization Guide for advanced information on various JMeter properties and ways of setting, using and overriding them.

Jmeter + Chrome driver config: empty page while processing

I configured jmeter to run tests using Chrome Driver Config.
Test run with no errors:
2015/06/01 20:14:14 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2015/06/01 20:14:14 INFO - jmeter.samplers.SampleEvent: List of sample_variables: []
2015/06/01 20:14:14 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2015/06/01 20:14:14 INFO - jmeter.engine.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2015/06/01 20:14:14 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Thread Group.
2015/06/01 20:14:14 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2015/06/01 20:14:14 INFO - jmeter.threads.ThreadGroup: Starting thread group number 1 threads 1 ramp-up 1 perThread 1000.0 delayedStart=false
2015/06/01 20:14:14 INFO - jmeter.threads.ThreadGroup: Started thread group number 1
2015/06/01 20:14:14 INFO - jmeter.engine.StandardJMeterEngine: All thread groups have been started
2015/06/01 20:14:14 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-1
2015/06/01 20:14:16 INFO - com.googlecode.jmeter.plugins.webdriver.config.WebDriverConfig: iterationStart()
2015/06/01 20:14:43 INFO - jmeter.threads.JMeterThread: Thread is done: Thread Group 1-1
2015/06/01 20:14:43 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2015/06/01 20:14:44 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2015/06/01 20:14:44 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
But within the execution i see empty page only: http://screencast.com/t/REd78GizooEl
What can be the reason?
Solved the problem, by adjusting preferences (can't remember clear steps)

How jmeter execute threads?

I have set as per following :
**
- Users : 20 Ramp-up Period : 30 Loop count :1
**
What actually it means Thread group 1-2 , 1-3 ... How jmeter consider my 20 user to execute request?
When my jmeter script runs , I can see following in Log viewer :
2014/11/27 03:45:59 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-2
2014/11/27 03:46:00 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-3
2014/11/27 03:46:02 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-4
2014/11/27 03:46:03 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-5
2014/11/27 03:46:05 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-6
2014/11/27 03:46:06 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-7
2014/11/27 03:46:08 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-8
2014/11/27 03:46:09 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-9
2014/11/27 03:46:11 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-10
2014/11/27 03:46:12 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-11
2014/11/27 03:46:14 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-12
2014/11/27 03:46:15 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-13
2014/11/27 03:46:17 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-1
2014/11/27 03:46:17 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-14
2014/11/27 03:46:18 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-15
2014/11/27 03:46:20 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-16
2014/11/27 03:46:21 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-17
2014/11/27 03:46:22 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-2
2014/11/27 03:46:23 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-18
2014/11/27 03:46:24 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-19
2014/11/27 03:46:26 INFO - jmeter.threads.JMeterThread: Thread started: Thread Group 1-20
2014/11/27 03:46:27 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-3
2014/11/27 03:46:37 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-4
2014/11/27 03:46:41 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-5
2014/11/27 03:46:43 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-6
2014/11/27 03:47:09 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-7
2014/11/27 03:47:25 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-8
2014/11/27 03:47:26 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-9
2014/11/27 03:47:32 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-10
2014/11/27 03:47:40 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-11
2014/11/27 03:47:51 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-12
2014/11/27 03:47:58 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-13
2014/11/27 03:48:06 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-15
2014/11/27 03:48:07 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-14
2014/11/27 03:48:11 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-16
2014/11/27 03:48:15 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-17
2014/11/27 03:48:16 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-18
2014/11/27 03:48:17 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-19
2014/11/27 03:48:18 INFO - jmeter.threads.JMeterThread: Thread finished: Thread Group 1-20
Jmeter is a Java application which uses multithreading.
Since your Thread Group settings are: Users : 20 Ramp-up Period : 30 Loop count :1
So it will create 20 threads representing 20 Users, and each user will execute your thread group 1 time.
Since you have only 1 thread group in your test plan, That is why your Log shows
Thread started: Thread Group 1-1, Thread Group 1-2, Thread Group 1-3 ..........
The second number represents the user.
hope this will help.

Resources