apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.34k stars 2.09k forks source link

Jmeter Launch slow in GUI MODE after updating JDK 1.7 from JDK 1.6 #3426

Closed asfimport closed 10 years ago

asfimport commented 10 years ago

abhishek (Bug 56932): I am having this issue in both Jmeter 2.10 and Jmeter 2.11 version.

Running in Sles 11.2, 32G RAM

I am doing SSH over X11 via ubuntu 12.0.4 box to Sles 11.2 Jmeter Box.

When I install java 1.6 on Sles Box and launch jmeter on the Ubuntu box via SSH X11 it takes only 10 seconds to launch Jmeter in GUI mode.

However, if I update it to Java 1.7 on Sles Box and launch jmeter on the Ubuntu box via SSH X11 it takes 15 Minutes to launch Jmeter in GUI mode and it's still responds slowly.

If I Launch with Java 1.7 on Sles Box and launch jmeter on Mac via SSH X11 it still responds in 15 seconds to launch Jmeter in GUI mode.

I have to update to Java 1.7 as I am having GC issues on Jmeter and have to use G1GC.

Please let me know if further details are required.

abhishek.bhasin@gmail.com

Severity: normal OS: Linux

asfimport commented 10 years ago

abhishek (migrated from Bugzilla): 2014/09/08 20:34:00 INFO - jmeter.util.JMeterUtils: Setting Locale to en_US 2014/09/08 20:34:00 INFO - jmeter.JMeter: Loading user properties from: /common/galedev/apache-jmeter-2.11/bin/user.properties 2014/09/08 20:34:00 INFO - jmeter.JMeter: Loading system properties from: /common/galedev/apache-jmeter-2.11/bin/system.properties 2014/09/08 20:34:00 INFO - jmeter.JMeter: Copyright (c) 1998-2014 The Apache Software Foundation 2014/09/08 20:34:00 INFO - jmeter.JMeter: Version 2.11 r1554548 2014/09/08 20:34:00 INFO - jmeter.JMeter: java.version=1.7.0_04 2014/09/08 20:34:00 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM 2014/09/08 20:34:00 INFO - jmeter.JMeter: os.name=Linux 2014/09/08 20:34:00 INFO - jmeter.JMeter: os.arch=amd64 2014/09/08 20:34:00 INFO - jmeter.JMeter: os.version=3.0.58-0.6.6-default 2014/09/08 20:34:00 INFO - jmeter.JMeter: file.encoding=UTF-8 2014/09/08 20:34:00 INFO - jmeter.JMeter: Default Locale=English (United States) 2014/09/08 20:34:00 INFO - jmeter.JMeter: JMeter Locale=English (United States) 2014/09/08 20:34:00 INFO - jmeter.JMeter: JMeterHome=/common/galedev/apache-jmeter-2.11 2014/09/08 20:34:00 INFO - jmeter.JMeter: user.dir =/common/galedev 2014/09/08 20:34:00 INFO - jmeter.JMeter: PWD =/common/galedev 2014/09/08 20:34:00 INFO - jmeter.JMeter: IP: XXXXXX Name: tg-lxjmeter5 FullName: XXXXXX 2014/09/08 20:34:00 INFO - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 2014/09/08 20:34:39 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.' 2014/09/08 20:34:39 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 2014/09/08 20:34:41 INFO - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform, System] 2014/09/08 20:35:19 INFO - jmeter.gui.util.MenuFactory: Skipping kg.apc.jmeter.config.VariablesFromCSVFile 2014/09/08 20:42:08 INFO - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22 2014/09/08 20:42:08 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default 2014/09/08 20:42:08 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is 2014/09/08 20:42:08 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is 2014/09/08 20:42:08 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is 2014/09/08 20:42:08 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is 2014/09/08 20:42:08 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 2014/09/08 20:42:09 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui 2014/09/08 20:42:09 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui 2014/09/08 20:42:09 INFO - jorphan.exec.KeyToolUtils: keytool found at 'keytool' 2014/09/08 20:42:09 INFO - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file /common/g aledev/apache-jmeter-2.11/bin/proxyserver.jks 2014/09/08 20:42:10 INFO - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 2014/09/08 20:42:10 INFO - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 2014/09/08 20:42:10 INFO - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true 2014/09/08 20:42:10 INFO - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000

asfimport commented 10 years ago

Sebb (migrated from Bugzilla): Please remove any 3rd party add-ons and try again.

The slowness appears to be associated with a JMeter add-on.

2014/09/08 20:34:41 INFO - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform, System] 2014/09/08 20:35:19 INFO - jmeter.gui.util.MenuFactory: Skipping kg.apc.jmeter.config.VariablesFromCSVFile 2014/09/08 20:42:08 INFO - jmeter.util.BSFTestElement: Registering JMeter version

asfimport commented 10 years ago

Shailendra (migrated from Bugzilla): I removed Additional Add on (Google Plugin) and launched Jmeter in Java 1.7.... There was a bit improvement but still it took almost 5 minutes to launch where as Using Java 1.6 and with Plugin it was around 10 sec.

Also on Ubuntu 14.04 machine I am not getting any issues.

2014/09/09 09:11:45 INFO - jmeter.util.JMeterUtils: Setting Locale to en_US 2014/09/09 09:11:45 INFO - jmeter.JMeter: Loading user properties from: /common/home/galedev/apache-jmeter-2.11_9Sept/bin/user.properties 2014/09/09 09:11:45 INFO - jmeter.JMeter: Loading system properties from: /common/home/galedev/apache-jmeter-2.11_9Sept/bin/system.properties 2014/09/09 09:11:45 INFO - jmeter.JMeter: Copyright (c) 1998-2014 The Apache Software Foundation 2014/09/09 09:11:45 INFO - jmeter.JMeter: Version 2.11 r1554548 2014/09/09 09:11:45 INFO - jmeter.JMeter: java.version=1.7.0_04 2014/09/09 09:11:45 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) 64-Bit Server VM 2014/09/09 09:11:45 INFO - jmeter.JMeter: os.name=Linux 2014/09/09 09:11:45 INFO - jmeter.JMeter: os.arch=amd64 2014/09/09 09:11:45 INFO - jmeter.JMeter: os.version=3.0.58-0.6.6-default 2014/09/09 09:11:45 INFO - jmeter.JMeter: file.encoding=UTF-8 2014/09/09 09:11:45 INFO - jmeter.JMeter: Default Locale=English (United States) 2014/09/09 09:11:45 INFO - jmeter.JMeter: JMeter Locale=English (United States) 2014/09/09 09:11:45 INFO - jmeter.JMeter: JMeterHome=/common/home/galedev/apache-jmeter-2.11_9Sept 2014/09/09 09:11:45 INFO - jmeter.JMeter: user.dir =/common/home/galedev 2014/09/09 09:11:45 INFO - jmeter.JMeter: PWD =/common/home/galedev 2014/09/09 09:11:45 INFO - jmeter.JMeter: IP: 10.160.12.5 Name: tg-lxjmeter5 FullName: 10.160.12.5 2014/09/09 09:11:45 INFO - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties 2014/09/09 09:12:00 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.' 2014/09/09 09:12:00 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.' 2014/09/09 09:12:01 INFO - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform, System] 2014/09/09 09:12:15 INFO - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22 2014/09/09 09:12:16 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default 2014/09/09 09:12:16 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
2014/09/09 09:12:16 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is
2014/09/09 09:12:16 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is
2014/09/09 09:12:16 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
2014/09/09 09:12:16 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser 2014/09/09 09:12:16 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.control.gui.WebServiceSamplerGui 2014/09/09 09:12:16 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui 2014/09/09 09:12:17 INFO - jorphan.exec.KeyToolUtils: keytool found at 'keytool' 2014/09/09 09:12:17 INFO - jmeter.protocol.http.proxy.ProxyControl: HTTP(S) Test Script Recorder SSL Proxy will use keys that support embedded 3rd party resources in file /common/home/galedev/apache-jmeter-2.11_9Sept/bin/proxyserver.jks 2014/09/09 09:12:18 INFO - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times 2014/09/09 09:12:18 INFO - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1 2014/09/09 09:12:18 INFO - jmeter.samplers.SampleResult: sampleresult.useNanoTime=true 2014/09/09 09:12:18 INFO - jmeter.samplers.SampleResult: sampleresult.nanoThreadSleep=5000

(In reply to Sebb from comment 2)

Please remove any 3rd party add-ons and try again.

The slowness appears to be associated with a JMeter add-on.

2014/09/08 20:34:41 INFO - jmeter.gui.action.LookAndFeelCommand: Using look and feel: javax.swing.plaf.metal.MetalLookAndFeel [Metal, CrossPlatform, System] 2014/09/08 20:35:19 INFO - jmeter.gui.util.MenuFactory: Skipping kg.apc.jmeter.config.VariablesFromCSVFile 2014/09/08 20:42:08 INFO - jmeter.util.BSFTestElement: Registering JMeter version

asfimport commented 10 years ago

Sebb (migrated from Bugzilla): This does not appear to be a JMeter problem.

Try to reduce the number of variables by not using SSH and X11.