Download presentation
Presentation is loading. Please wait.
Published byTodd O’Connor’ Modified over 9 years ago
1
Introduction to JMeter Anton Nesterov
2
User profile Anton Nesterov QA Engineer at Sitecore 3+ years of experience in testing automation Skype: northfall
3
Agenda Introduction Configuring HTTP Requests Reporting Errors handling Additional elements Recording
4
JMeter usage Performance testing Load testing Stress testing Scalability testing Support tool
5
Protocol types HTTP(S) SOAP FTP Database SMTP/POP3/IMAP TCP etc.
6
HTTP Request GET - Requests data from a specified resource POST - Submits data to be processed to a specified resource POST /test/demo_form.asp HTTP/1.1 Host: w3schools.com name1=value1&name2=value2 /test/demo_form.asp?name1=value1&name2=value2
7
JMeter elements
8
Thread group The Thread Group is the basic element of a JMeter Test Plan Each thread represents a user setting a thread group to 1000 simulates 1000 users
9
Configuration Elements CSV Data Set HTTP Cookie Manager HTTP Header Manger etc.
10
Samplers Samplers do the actual work in JMeter and interact with the server you are loading There are a number Samplers in JMeter by default. For web testing, use ‘HTTP Request'
11
Listeners The information produced by Samplers is consumed by Listeners Popular listeners are: Graph Results View Results Tree Simple Data Writer
12
Logic Controllers Logic Controllers determine the order that Samplers are processed More complex scripts will make use of Loops IF Random etc.
13
Assertions A test isn’t a test unless it checks something. Assertions are what do the checking For web applications, these are the useful ones Response Duration etc.
14
HTTP Proxy Server
15
DEMO
16
Questions?
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.