Thursday 9 June 2011


  • Basic performance terminologies and their relationship.
  • What is Jmeter?
  • Recording a web application using Jmeter.
  • Parameterization using Jmeter.
  • Analyzing performance results.
  • Recording Flex applications using Jmeter       

What is Latency? 

Latency is the delay incurred in communicating a message (the time the message spends “on the wire”).
 The word latent means inactive or dormant, so the processing of a user action is latent while it is travelling across a network.
 Changes in latency are typically unavoidable through changes to your code. Latency is a resource issue, which is affected by hardware adequacy and utilization.
What is Processing Time?

  Processing time is the amount of time a system takes to process a given request, not including the time it takes the message to get from the user to the system or the time it takes to get from the system back to the user.
Processing time can be affected by changes to your code, changes to systems that your code depends on (e.g. databases), or improvements in hardware.


 
What is Response Time?

Response time is the total time it takes from when a user makes a request until they receive a response.
 
Response time can be affected by changes to the processing time of your system and by changes in latency, which occur due to changes in hardware resources or utilization.
What is the relationship between these terms?

Latency + Processing Time = Response Time
It is important in performance analysis to understand these different aspects of the system and know the key differences and the relationship between them. It may be useful to make a graph such as latency vs. response time, and it is very important to know the difference between the two.
What is Jmeter?
 
Jmeter is an Apache Jakarta project that can be     used as a load testing tool for analyzing and measuring the performance of a variety of services, with a focus on web applications.
Jmeter is a flexible tool that not only allows you to test the HTTP servers but also to load-test Web services.
Basic Arrangements in Jmeter
Start Jmeter with jmeter.bat on windows.
Right click on the “test plan” and add a new thread group: add -> thread group.
Right click on thread group “add -> sampler -> Http Request
Set the IP as “localhost” and port number as “8080” in the “HTTP Request”
Right click on the “Work bench” add “Http Proxy Server”.
Set the Target controller to “Test plan > Thread group” and Grouping to “Add separators between group”
Click the “Start” button 
Basic Arrangements in Browser 
Change the LAN settings to “Proxy server” with “localhost” and port number as ”8080” in the browser.
Navigate to different pages in the browser at the target web application.
 

No comments:

Post a Comment