JMeter NaN issue in reports - jmeter

I have used jmeter 2.5 and ANT 1.8.2 and jdk 1.6. Also, I have used latest .xsl file path in build.xml.
Issue is iam getting NaN value for Min, Max in html reports.
Please let me know any solutions.

This problem is encountered in newer versions of Java.
I faced the same problem and this solution worked for me - Copy xalan-2.7.1.jar and serializer-2.7.1.jar from the apache-jmeter/lib folder and include it in apache-ant/lib folder of ant.

Somehow it's a problem related to newer Java versions: If you use Java 1.5 or higher it wont work out of the box, unless you:
Use the build file: http://svn.apache.org/repos/asf/jmeter/trunk/extras/build.xml
Include xalan.jar and serializer.jar both in jmeter lib directory
There are two bugs in apache bugzilla regarding this issue. More info:
http://vishnuagrawal.blogspot.com/2009/04/jmeter-run-tests-using-ant.html
http://jmeter.512774.n5.nabble.com/Min-and-Max-times-are-returning-NaN-td525870.html

Given it works in XP and not windows 7, try running in either:
As Administrator
Compatibility mode

Related

Apache-JMeter 5.4

I set an open JDK version in my pc to run JMeter. I was confirmed that jdk installation is fine by "java -version" command. Till now, all going well. But when I tried to run Jmeter.bat file a cmd interface appears that is irreversible.
Here is the screenshot. (https://prnt.sc/x8endi)
Is JMeter 5.4 is compatible with Open JDK version(11.0.2)?
Have you tried to click "Alt-Tab" to switch to JMeter GUI?
I think you're suffering from a side-effect of fixing bugs 62179 and 64658 so now JMeter doesn't bring itself into focus. If you don't think this behaviour is acceptable you can raise an issue
Alternatively you can downgrade to JMeter 5.3, previous versions of JMeter can be obtained from JMeter Archives page

kg/apc/jmeter/gui/IntegerInputVerifier error when i try to load templates

I am using JMeter version 5.1.1 and when i want to open templates i get this error:
I already tried this, however the error still appears. This error appears when i try to open any template. As far as i know this means that class is not found. Can someone explain what exactly it means and what can i do to resolve it?
Install clean JMeter 5.1.1 (or whatever is the latest version available at JMeter Downloads page)
Verify that Templates features is working as expected
Install JMeter Plugins Manager
Repeat step 2
Install plugins you need one by one (only ones you need as the more plugins you install - the slower JMeter startup would be). Repeat step 2 after each plugin installation.
If finally you will get templates feature working - that would be it. If not - consider reporting the issue to JMeter Plugins Support Forum and don't forget to include the content of the jmeter.log file
Most probably the issue is cause by the Variables From CSV File however I cannot reproduce it on my system.
I had the exact same issue, I had some corrupt plugins installed. I uninstalled JMeter and installed verified plugins.
Make sure you download your JMeter plugin manager from https://jmeter-plugins.org/get/
Before copy jmeter-plugins-manager-1.3 to JMeter's lib/ext folder:
Make sure there's no duplicate/older jar which start with jmeter-plugins-manager
If such jar exists -> remove it.
If it doesn't work check bin\jmeter.log for exceptions and edit your question

While trying to open jmeter through .bat it displays error

I am Krishna Moorthy. I was trying to download and install jmeter in my 64 bit laptop with windows 10. It got downloaded and I have extracted the file.
Not able to find Java executable or version. Please check your Java installation.enter image description here
errorlevel=2
Press any key to continue . . .
I tried with the setting the path, copying "findstr" from windows32 from C.
But it still shows the same. Path in the environment variable is also properly setenter link description here
I am not able to understand this. do i need to uninstall and try it again? Already I have done it once.
Please help.
As per Apache JMeter main page:
The Apache JMeter™ application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance.
It means that you need a Java Runtime Environment in order to be able to run JMeter so make sure to download a 64-bit version of JRE for Windows version 8 or higher and once done you should be able to launch JMeter.
More information and detailed steps just in case: How to Get Started With JMeter: Part 1 - Installation & Test Plans

Liferay ext plugin is not (fully) working on CentOS but it does on Windows, why?

I've already posted my problem in the Liferay's forum, this is the link in case that you want to post an answer also there.
My ext-plugin is working partially on dev environment (CentOS) but in my laptop (Windows 7) there is no problem, I mean partially because with the project I'm modifying two classes and I see changes reflected of one but not of the other.
The classes belong to different packages:
bad:
/projectname-ext-util-taglib/src/main/java/com/liferay/taglib/ui/BreadcrumbTag.java
good:
/projectname-ext-impl/src/main/java/com/liferay/portal/repository/cmis/CMISAtomPubRepository.java
Other relevant information:
Liferay 6.2 GA6
Oracle JDK 8
WildFly 10.1.0
CentOS 7
I compared files from application servers and I didn't find significant differences.
Could it be a platform problem? what do you suggest me to try?
Thank you.

Exporting eclipse plugin fails under Mountain Lion

I'm developing a plugin for Eclipse Juno under Mountain Lion.
I can test my plugin without problem by doing run as > Eclipse application.
However when I try to export the plugin by doing the following action it fails.
Open plugin.xml
Go to the tab Overview
Select Export Wizard
It returns the following error:
/Users/luca/Documents/University/PhD/FODA/.metadata/.plugins/org.eclipse.pde.core/temp/org.eclipse.pde.container.feature/compile.org.eclipse.pde.container.feature.xml:4: The following error occurred while executing this line:
/Users/luca/Documents/University/PhD/FODA/it.unibg.robotics.featuremodels.model/build.xml:31: /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/Classes does not exist.
The following error occurred while executing this line:
/Users/luca/Documents/University/PhD/FODA/it.unibg.robotics.featuremodels.model/build.xml:31: /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/Classes does not exist.
What's the problem?
Just ran into this problem myself today. As far as I understood, it comes from the fact that recently Apple stopped maintaining their version of Java in favor of an official version for the MacOS X from Oracle. The Oracle version, however, doesn't have the same directory structure as before, and the build script generated by Eclipse assumes the old structure.
You can see many bug reports related to this. E.g.,
https://bugs.eclipse.org/bugs/show_bug.cgi?id=371215
https://bugs.eclipse.org/bugs/show_bug.cgi?id=378596
https://bugs.eclipse.org/bugs/show_bug.cgi?id=385077
I heard that switching to using Java 6 would solve the issue, as MacOS X still has the Apple Java 6 installation with the old directory structure. I didn't want to go back to Java 6, so I didn't try this.
Instead, I tried creating the directory that is reported missing (i.e., /Library/Java/JavaVirtualMachines/jdk1.7.0_07.jdk/Contents/Home/Classes), with nothing in it. Oddly, it seems to have worked.
Let me know if it works out for you as well... Future updates of Eclipse might also fix this (I updated mine today, but the problem was still there).
This is fixed in Eclipse 3.8.2 and 4.3.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=392434

Resources