Prerequisites
In order to
use that application during this training, you will need to install and
configure JMeter on an environment that contain a computer that run the
application and a single Web Server that we can use while running our tests.
My suggestion
is to build your testing environment on a basic virtualization server
(ESXI/Hyper-v) that can host both the JMeter / Web Server that we want to
examine during our test examples.
In my
tutorials I will use a Microsoft server and excluded the Linux/Mac configurations,
if you need further information about this architecture, please contact me and
I will advise.
So let's
start with the basic preparations that we need, prior to the JMeter
implementation:
Step 1:
Install the latest JDK version, available at:
After the
download and installation process, please verify that the system is updated
with the version that you just installed:
Open command
console ->
Type: java –Version
The
output:
Java version
"1.7.0_79"
Java(TM) SE
Runtime Environment (build 1.7.0_79-b15)
Java
HotSpot(TM) 64-Bit Server VM (build 24.79-b02, mixed mode)
Step 2: Configure
the JAVA environment
Add the
"JAVA_HOME" environment variable to direct to the based directory
(the location that host your JAVA configuration files).
In our
case:
C:\Program
Files\Java\jdk1.7.0_79
Install JMeter
You can get
the latest JMeter version at the Apache software foundation site at:
After the
download is finished, just extract the Archive file and put the files in any
location on your file system (in my case I put it on the root folder)
How to Run JMeter?
Now, to run
JMeter, you need to open the command console and type:
%JMeter
Location%\bin\JMeter
No comments:
Post a Comment