19
NuevoThoughts Technologies Jmeter Understanding By shubhendu Date:26-apr-2013 V1 www.NuevoThoughts.com

J meter understanding

Embed Size (px)

Citation preview

Page 1: J meter understanding

NuevoThoughts Technologies

Jmeter Understanding

By shubhenduDate:26-apr-2013 V1

www.NuevoThoughts.com

Page 2: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

Summary of what we discussed:

What is Jmeter?

Why only jmeter?

How it works?

Page 3: J meter understanding

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

Page 4: J meter understanding

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

Page 5: J meter understanding

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

Page 6: J meter understanding

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

Page 7: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

Set Proxy into browser:

Page 8: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

Start Proxy:

Page 9: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

Browse Testing Site:

Page 10: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

Recording Samples and stop Proxy:

Page 11: J meter understanding

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

Page 12: J meter understanding

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

Page 13: J meter understanding

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

Page 14: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

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

Page 15: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

Start Testing: Click on Play

Page 16: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

Aggregate Graph:

Page 17: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

Aggregate Report:

Page 18: J meter understanding

NuevoThoughts Technologies

www.NuevoThoughts.com

View Results in Table:

Page 19: J meter understanding

NuevoThoughts Technologies

Thanks

www.NuevoThoughts.com