JMeter Performance Testing Tutorial 4 - Understanding of JMeter Elements

Testing Funda by Zeeshan Asghar
Testing Funda by Zeeshan Asghar
3.5 هزار بار بازدید - 3 سال پیش - #jmeter
#jmeter #performancetesting #loadtesting #stresstesting
Understanding of JMeter Elements
-------------------------------------------------------
Thread Groups - Thread group elements are the beginning points of any test plan. All controllers and samplers must be under a thread group. Other elements, e.g. Listeners, may be placed directly under the test plan, in which case they will apply to all the thread groups. As the name implies, the thread group element controls the number of threads JMeter will use to execute your test. The controls for a thread group allow you to:

Set the number of threads
Set the ramp-up period
Set the number of times to execute the test

Controllers - JMeter has two types of Controllers: Samplers and Logical Controllers. These drive the processing of a test.

Sampler - Samplers tell JMeter to send requests to a server. For example, add an HTTP Request Sampler if you want JMeter to send an HTTP request. You can also customize a request by adding one or more Configuration Elements to a Sampler

Test Fragments - The Test Fragment element is a special type of controller that exists on the Test Plan tree at the same level as the Thread Group element. It is distinguished from a Thread Group in that it is not executed unless it is referenced by either a Module Controller or an Include_Controller.

This element is purely for code re-use within Test Plans

Listeners- Listeners provide access to the information JMeter gathers about the test cases while JMeter runs. The Graph Results listener plots the response times on a graph.

Timers - By default, a JMeter thread executes samplers in sequence without pausing. We recommend that you specify a delay by adding one of the available timers to your Thread Group. If you do not add a delay, JMeter could overwhelm your server by making too many requests in a very short amount of time.

Assertions - Assertions allow you to assert facts about responses received from the server being tested. Using an assertion, you can essentially "test" that your application is returning the results you expect it to.

Pre-Processor - A Pre-Processor executes some action prior to a Sampler Request being made. If a Pre-Processor is attached to a Sampler element, then it will execute just prior to that sampler element running. A Pre-Processor is most often used to modify the settings of a Sample Request just before it runs, or to update variables that aren't extracted from response text.

Post Processors - A Post-Processor executes some action after a Sampler Request has been made. If a Post-Processor is attached to a Sampler element, then it will execute just after that sampler element runs. A Post-Processor is most often used to process the response data, often to extract values from it.

Subscribe our channel for latest videos
==================================
testingfunda

#selenium #tutorials #free #2022 #training
Watch more free Selenium Tutorials
Selenium WebDriver with Java Tutorial...

#JMeter #performance #testing #tutorials #free #2022 #training
Step by step free JMeter performance tutorials
Postman API Testing Tutorial for Begi...

#postman #API #testing #tutorial #manual #automation #free #2022 #training
Step by step free postman API manual and Automation Testing tutorials
Postman API Testing Tutorials for Beg...

#java #programming #tutorials #free #2022 #training
Step by step free Java programming tutorials
Java tutorial 1 - What is Java | How ...

#cypress.io #automation #testing #tutorials #free #2022 #training
Step by step free cypress.io automation testing tutorials
Cypress tutorial 1 - What is Cypress ...

#agile #Youtube #series #free #2022 #training
Learn about agile from free YouTube series
Agile

#learn #software #testing #innovative #animated #videos #free #2022
Learn software testing free from innovative animated videos
Boundary Value Analysis | Black Box T...
3 سال پیش در تاریخ 1400/01/06 منتشر شده است.
3,554 بـار بازدید شده
... بیشتر