Skip to content Skip to sidebar Skip to footer

Java(tm) Binary Has Stopped Working While Ant Converts .jmx To .jtl

I'm trying to generate HTML reports of jmeter files using apache ant. while running the test .jmx file tries to convert itself into .jtl file, at that time java binary has not work

Solution 1:

According to the output it fails during execution of the JMeter test, most likely due to low Java Heap Size value (-Xmx256M). Check out jmeter.log file - it usually contains all the necessary information.

Add the following line to <jmeter> section of your build.xml file:

<jvmargvalue="-Xmx1234M"/>

or set it via ANT_OPTS environment variable on OS level like:

set ANT_OPTS=-Xmx1234M

Replace 1234 with memory size (in megabytes) you want to make available to JMeter (I would go for 70% - 80% of your total physical RAM amount)

See 9 Easy Solutions for a JMeter Load Test “Out of Memory” Failure guide for more JMeter tweaks, tips and tricks

Solution 2:

Increasing the RAM size works fine.

Solution 3:

Please check about Test.jtl file which is created in apacheant\bin. You might have created a new test documet and replaced its name with Test.jtl simply... Try to open it and save as it with .jtl extension... Make sure you've removed .txt.

Post a Comment for "Java(tm) Binary Has Stopped Working While Ant Converts .jmx To .jtl"