JMeter Configuration in Linux


LINUX
1. Download JMeter
a. http://www.bizdirusa.com/mirrors/apache//jmeter/binaries/apache-jmeter-2.8.tgz

2. Unzip the file and move it to your convenient directory
3. Use Jdk 1.5 or higher version
4. Set environment variables JAVA_HOME, JMETER_HOME, PATH
5. Create the test plan (jmx file) and place it in a folder
Here we are going to use /extras / est.jmx for execution
6. Create a sh file for executing the jmx “jmeter.sh”, I created in extras
7. If you are not able to set the environment variable you can define that in sh file
JAVA_HOME=/local/apps/3rdparty/java
JMETER_HOME=/local/apps/3rdparty/jmeter/apache-jmeter-2.8
JVM_ARGS=”-Xms512m -Xmx512m”
# Add Mac-specific property – should be ignored elsewhere (Bug 47064)
$JAVA_HOME/bin/java -jar $JMETER_HOME/bin/ApacheJMeter.jar -n -t Test.jmx
8. Its time to run sh jmeter.sh
9. You can edit jmx in vi editor it’s a form of xml

Advertisements

About Praveen Orathel

I am a java web application developer.
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s