JMeter setup procedure

Although it is not difficult installing/setting up JMeter; I'd like to list the procedure here for a smooth setup and to save time, for whomever may need the steps.


-> Download JMeter zips of the binary and src directories from JMeter hompage.
-> Extract it to C:\
-> Go to the bin dir on the command prompt and run the "jmeter.bat" file.
-> Make sure JDK version higher than JDK 1.4 is installed on the system for the relevant processor type (https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter), otherwise the following error will be thrown:

C:\JMeter\bin>jmeter.bat
'java.exe' is not recognized as an internal or external command,
operable program or batch file.
errorlevel=9009
Press any key to continue . . .
 
-> To check whether Java is installed or not, Open a command window to try the java command-
>c:\
>cd \Program Files\Java\jdk1.5.0_09\bin
>java -version

If you are getting the following output, your Java installation is ok:

>C:\JMeter\bin>java -version
java version "1.5.0-rc"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-rc-b63)
Java HotSpot(TM) Client VM (build 1.5.0-rc-b63, mixed mode, sharing)

-> After running the batch file if you get an error-

"Unrecognized VM option '+HeapDumpOnOutOfMemoryError' Could not create the Java virtual machine. errorlevel=1"

Then comment the line:

"set DUMP=-XX:+HeapDumpOnOutOfMemoryError" in the jmeter batch file. After that the JMeter console should open successfully!
 
-> The JMeter UI should display now.

Comments

The link is not working https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter

Popular Posts