Jay SenSharma

Jay SenSharma

In this demonstration we are going to see How can we use the Jakarta JMeter to monitor the Performance of WLS of any Server with a Great Performance Statistics/Graph and throughput analysis. In order to achieve this first of all we need to download Jakarta JMeter from the below link: http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi


Place the Jakarta JMeter in your file system somewhere ..
Example: C:jakarta-jmeter-2.3.4


Develop a Simple WebApplication ..Just for testing we can have wther an existing application deployed on WebLogic Server… Or we can put a Simple JSP page inside our application which takes some time to process the clients request …we can achieve this by putting some SLEEP in our code.


<%! static int requestCounter=0; %>
session.setAttribute(“RequestDetails”,”requestNumber:”+requestCounter+” arrived at :”+new java.util.Date());
System.out.println(“nPage has got a Fresh request from :  “+(String)session.getAttribute(“RequestDetails”));
for (int i=0;i<60;i++)
System.out.println(“nt Processing request for : “+(String)session.getAttribute(“RequestDetails”));
catch(Exception e)
System.out.println(“nnt Something Unexpected happened …Please investigete yourself : “+e);
out.println(“<h2>REQUEST Processd for “+(String)session.getAttribute(“RequestDetails”));


Wrap & Deploy the above JSP page inside any dummy application/ existing Application …sothat we can hit it using JMeter.


Move inside the “C:jakarta-jmeter-2.3.4bin” and then run “jmeter.sh” or “jmeter.bat” to start the JMeter.


Create a “ThreadGroup” to define the Load on the Server…
Edit (Menu)—> Add—-> ThreadGroup
Number Of Threads (Means Users)= 15
Rampup period (means how much duration the request should be sent):1
Loop Count : 1   (Means once only send these 15 Requests to the server ..donot repeat forever)

You can even check the Schedule Check Box to decide the Time (Duration) In which you want to your Testing should be done.

ThreadGroup Creation


Right click on the “MyThreadGroup”. Create a New “Http request HttpClient” like following :

Creating JMeter Sampler

JMeter HttpClient Configuration


To analyze the Throughput …better if you add a “Summary Report” as well. like following.

Configuring JMeter SummaryReport


Click (select) on the “MyThreadGroup” from left panel and then click on the “Run” Menu …to start the Load test.

Running The Load Test Using JMeter


As soon as you try to run the Load test…Jmeter will ask …where to save your JMX plan file…Provide a Location and File name to your Loadtest File for future references. As soon as you save the file …The Load Test Begins…


Analyze the Summary Report to understand your Servers Performance




Jay SenSharma

If you enjoyed this post, please considerleaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.