J meter understanding

Preview:

Citation preview

NuevoThoughts Technologies

Jmeter Understanding

By shubhenduDate:26-apr-2013 V1

www.NuevoThoughts.com

NuevoThoughts Technologies

www.NuevoThoughts.com

Summary of what we discussed:

What is Jmeter?

Why only jmeter?

How it works?

NuevoThoughts Technologies

www.NuevoThoughts.com

What is Jmeter?:

An Apache Project, used as a load testing tool.

Analyze and measure the performance of variety of services.

Java based Application

May be used to test application both static and dynamic(HTTP or FTP or SOAP)

Full Multithreading framework allows concurrent sampling by many threads.

Performance Testing Parameters: Load Stress Scalability Volume Endurance

NuevoThoughts Technologies

www.NuevoThoughts.com

Why Only Jmeter?:

Open source

Free

Can test multiple user concurrently.

Has lots of options

Easy to use and install

NuevoThoughts Technologies

www.NuevoThoughts.com

How it Works?:

For testing any sample first we have to take some steps:

Create HTTP Proxy

Create Logical Controller

Add Listeners

NuevoThoughts Technologies

www.NuevoThoughts.com

Create HTTP Proxy:Steps to follow:1-Right click on work space 2- Add->Non-Test Element->HTTP Proxy Server

NuevoThoughts Technologies

www.NuevoThoughts.com

Set Proxy into browser:

NuevoThoughts Technologies

www.NuevoThoughts.com

Start Proxy:

NuevoThoughts Technologies

www.NuevoThoughts.com

Browse Testing Site:

NuevoThoughts Technologies

www.NuevoThoughts.com

Recording Samples and stop Proxy:

NuevoThoughts Technologies

www.NuevoThoughts.com

Create Simple Logical Controller and cut paste samples into this:Steps to follow:1-Right click on workspace 2-Add->Logical controller->simple controller

NuevoThoughts Technologies

www.NuevoThoughts.com

Create a Thread Group and insert simple controller: Steps to follow:1-Right click on Test Plan 2-Add->Threads->Thread Group 3-Enter no. of users4- Enter Ramp-up Period

NuevoThoughts Technologies

www.NuevoThoughts.com

Listeners:Graphs:

Aggregate Graph

Spline visualizer

Response Time Graph

Reports:

Aggregate Report

Statistical Aggregate ReportData:

View Results in Table

View Results in Tree

NuevoThoughts Technologies

www.NuevoThoughts.com

Add a Listener: Steps to follow:1-Right click on Thread group 2-Add->Listeners->Aggregate graph

NuevoThoughts Technologies

www.NuevoThoughts.com

Start Testing: Click on Play

NuevoThoughts Technologies

www.NuevoThoughts.com

Aggregate Graph:

NuevoThoughts Technologies

www.NuevoThoughts.com

Aggregate Report:

NuevoThoughts Technologies

www.NuevoThoughts.com

View Results in Table:

NuevoThoughts Technologies

Thanks

www.NuevoThoughts.com

Recommended