Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
5Activity
P. 1
JMETER

JMETER

Ratings: (0)|Views: 1,108 |Likes:
Published by neovik82

JMETER, API Testing , WEBSERVICE Testing ,Web Testing, Database testing , Performance testing , SMTP , FTP ,

JMETER, API Testing , WEBSERVICE Testing ,Web Testing, Database testing , Performance testing , SMTP , FTP ,

More info:

Published by: neovik82 on Jan 16, 2013
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

01/02/2014

pdf

text

original

 
 
Jmeter UnderstandingDocument
 
Document Revision History
 
Created/ Modified By Reviewed By Date
Vikas Singh
 
2
Table of Contents
 
Introduction ................................................................................................................................................................... 3Getting Started .......................................................................................................................................................... 3Requirements ............................................................................................................................................................ 3Apache JMeter Step-by-step ......................................................................................................................................... 3Basic Proxy Instructions ............................................................................................................................................ 3Configure your browser to use the JMeter HTTP Proxy ............................................................................................ 7Record your navigation ............................................................................................................................................. 9Start the test ........................................................................................................................................................... 10Building a Web Test Plan ............................................................................................................................................. 11Adding Users ........................................................................................................................................................... 11Adding Default HTTP Request Properties................................................................................................................ 12Adding Cookie Support ............................................................................................................................................ 12Adding HTTP Requests ............................................................................................................................................ 12Adding a Listener to View Store the Test Results .................................................................................................... 14Building an API Test Plan ............................................................................................................................................. 14Adding Users ........................................................................................................................................................... 15Adding the Http Sampler ......................................................................................................................................... 15Adding the CSV Data Set Config .............................................................................................................................. 17Add Assertions ........................................................................................................................................................ 18Building a WebService Test Plan .................................................................................................................................. 21Adding Users ........................................................................................................................................................... 21Adding WebService Requests .................................................................................................................................. 21Adding a Listener to View Store the Test Results .................................................................................................... 22Building a Database Test Plan ...................................................................................................................................... 22Adding Users ........................................................................................................................................................... 22Adding JDBC Requests ............................................................................................................................................. 23Adding a Listener to View/Store the Test Results ................................................................................................... 26Correlation in Jmeter ................................................................................................................................................... 26Steps of Correlation: ............................................................................................................................................... 27Jmeter Parameterization ............................................................................................................................................. 29Apache Jmeter Advantages ......................................................................................................................................... 31
 
3
Introduction
Apache Jmeter
is a 100% pure Java desktop application designed to load test client/server software(such as a web application). It may be used to test performance both on static and dynamic resourcessuch as static files, Java Servlets, CGI scripts, Java objects,databases,FTP servers, and more. Jmeter canbe used to simulate a heavy load on a server, network or object to test its strength or to analyze overallperformance under different load types.Additionally, Jmeter can help you regression test your application by letting you create test scriptswithassertions to validate that your application is returning the results you expect. For maximumflexibility, Jmeter lets you create these assertions using regular expressions.
Getting Started
The easiest way to begin using JMeter is to firstdownload the latest production releaseand install it.The release contains all of the files you need to build and run most types of tests, e.g. Web(HTTP/HTTPS), FTP, JDBC, LDAP, Java, and JUnit.
Requirements
 
JMeter requires a fully compliant JVM 1.5 or higher.
 
JMeter is a 100% Java application and should run correctly on any system that has a compliantJava implementation.
 
Operating systems tested with JMeter can be view onthis pageon JMeter wiki.
 
 
Even if your OS is not listed on the wiki page, JMeter should run on it provided that the JVM iscompliant.
Apache JMeter Step-by-step
Basic Proxy Instructions
1. Go to JMETER_HOME/bin and start JMeter with jmeter.bat on Windows
2. Select “Test Plan” on the tree
 
3. Right click on the “Test Plan”
and add a new thread group:
 Add > Threads (Users) >Thread Group

Activity (5)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
1 thousand reads
neovik82 liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->