0% found this document useful (0 votes)
21 views34 pages

Jmeter and Blaze Meter

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views34 pages

Jmeter and Blaze Meter

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 34

WHAT IS JMETER

Open source application used for non functional


testing like performance and load testing by
analyzing and measuring the performance of a
variety of services, with a focus on web applications

An open source tool by Apache.

Java based run on linux, mac and windows


CONTINUE

We are using apache Jmeter version 3.3

you can also download it from the link


http://jmeter.apache.org/download_jmeter.cgi

Requires Java 8. JMeter 3.3 does not yet support


Java 9.
INTERFACE
HOW IT WORKS

JMeter sends a request (Http request)

Server responds (here is your Html, images,ect)

JMeter prases response (optional)

Record the test scripts and can also generate the


report by showing the performance result

 blaze meter can take the test script to show the


result in more presentable way.
JMETER VOCABULARY

 Test Plan (JMeter Plan)


 Thread Group (thread=user)
 Sampler (make a request)
 Timer (add a delay)
 Config elements
 Listener (reporting, logging and debugging)
 Assertion (error checking)
 Pre processor (modify the request)
 Post processor (parse the request)
 Logic Controller
 WorkBench (temp working space)
JMETER VS LOAD RUNNER

 The Jmeter and Load-Runner both are the Performance


Testing tools and are very much well known among various
load testing tools

 Due to the high cost of Load-Runner performance testing, the


JMeter performance testing tool came into existence also
known as apache load testing tool, and has been quite active
over the past few years.

 JMeter testing tool is an application written in java and is very


much popular among java performance testing tools, which
means load testing using jmeter can run on any machine such
as Linux, Windows or Mac.
ELEMENTS OF TEST PLANS

 Thread Group
I. Setup number of thread
II. Set up ramp up period
III. No. of times test executes
 Controller
I. Sampler (Send Request to Server)
II. Logical Controller (Customize logic to send request
 Listener
 Graph Result
 View Results Tree and many more
 Timers
• Delay next request for certain amount of ti me
STATIC-LOGIN TEST

 Add a blaze meter plugin to chrome browser from web store


GENERATE TEST SCRIPT WITH BLAZE
METER API
 To record test Script with blaze meter plugin press the first
button and stop when done. By clicking .jmx button script will
be downloaded
IMPORT JMX FILE

 Import jmx file in jmeter to analyze either it is working or not


ADDING VIEW RESULT TREE

 Add view result tree in thread group, by viewing listener


RUN THE TEST VIEW RESULT IN VIEW
RESULT TREE
 Play test, tick mark shows that it has been ready for
visualizing it in blaze meter so save test script from menue
IMPORT JMX/SCRIPT FILE IN BLAZE
METER BY CREATING NEW TEST
 For this you have u visit a.blazemeter.com and signup with
google+ account
 Click on the test button you can also create separate project
and add test in it
CLICK JMETER TEST TO UPLOAD FILE
CONTINUE…

Step1: press save button S te p 2 : p r e s s n ew t s t w h i c h i s j m x a n d wait


for result
BLAZE METER SUMMARY
EXECTIVE SUMMARY

 Click on summary button which in right most area of page


DYNAMIC TEST

 Open a website where you can upload a file in it


 Inspect the input type element and get its name from the
scriptt
CONTINUE…

 Create a new test plan add thread group in it by right clicking


the test plan
 Add http and view result tree in thread group by viewing
listener and sampler
 Add server in my case it is tinyupload.com and method should
be POST
 Click on file upload then click browse to add the path of file
you want to upload
CONTINUE…
CONTINUE….

 Copy the name of input type


 Paste it in parameter name i.e uploaded_file
 MIME T YPR can be selected from the link
https://www.freeformatter.com/mime-types-list.html if your
input type file is a jpg image then its mime type is image/jpg
CONTINUE…

 Run the test it will save the test script and view result in view
result elemen
 Test has been successfully run
CONTINUE…

 Now test script has been generated and you can upload it in
blaze meter for efficient visualization
 I have already done it in static test you can see from there
 Static test: analyzing static content of page
 Dynamic test: analyzing dynamic content of a web page
RESPONSE DATA
SAMPLER RESULT
STEPPING THREAD GROUP

 New plugin for thread group have scheduling power of thread


WORK BENCH

Used by jmeter to record the test script

For this we have to manage proxy setting

We have to import a certificate which allow the


browser to provide navigation

We often use blaze meter Api’s to record the test


script instead of Work Bench
BLAZE METER

 A tool which support the jmeter script to present it in visually


efficient way.

 You can create project in it.

 Can execute the test

 Maintain log of each project containing tests

 Provide the result report

 Executive summary

 Api’s are available to integrated with web browser


INTERFACE
PROJECT-LOG
TEST RESULT
SUMMARY
WHY BLAZE METER ?

 CSV / .jmx file generated by the jmeter can be upload on


blaze meter
 For the visual presentation of data more efficiently then
jmeter
 Blaze Meter made it possible for anyone to run frequent load
tests whether by using your existing JMeter scripts or simply
be entering a domain name
THANK YOU ;)

You might also like