JMeter Tutorial | Jmeter Thread Group

Опубликовано: 21 Октябрь 2024
на канале: QA-Automated
804
10

Blog Post URL- https://www.qaautomated.com/2020/01/t...



With help of thread group jmeter script can simulate the number of users as per configured in thread group to access the server and perform specified actions. We can configure the users through Thread properties mentioned in diagram given below.


Number of Threads - Specify number of virtual users for which we want to execute the script.

Ramp-Up Period - The time to start all threads mentioned from 0 to specified number.

For example if we say 10 threads and 10 ram-up time means all 10 threads will be up and running by 10 seconds. The basic formula here us number of threads divided by ramp-up time.

Loop count- Number of iterations for each thread. The script will continue execution until for all threads all samplers are executed and there are no loops left. If loop count is set to forever then we can control the threads will continue execution until specified time in the Duration section.

Suppose we specify 10 mins as duration the the threads will continue execution until 10 mins.

Scheduler - This is used to set total duration of the test. Once we check Schedular Durationa field is available to edit. We can set any duration for our choice let us set to 60 secs.What if there is error we can select what actions we want to perform as shown in the below .

a. Continue - Continue the test even if there are failures.
b. Start Next Thread Loop - Stops the execution of current thread and starts next thread look execution.
c. Stop Thread - This will kill thread group
d. Stop Test - Stop test gracefully and allows current running operation to complete and then stop the test.
e. Stop Test Now - This will stop the test immediately respective of what operations are running.
Please subscribe my youtube channel and click on bell icon for notifications.

Github Link -https://github.com/qaautomated/Jmeter

For More Free Tutorials Visit - https://www.qaautomated.com/

For Jmeter Step by Step tutorial from beginner to advance -    • Jmeter Step by Step Tutorial  

Subscribe

Jmeter Step By Step Tutorial from beginner to advance level. Learn jmeter for performance testing as well as Jmeter For API testing.

Playlist Content -
1.Jmeter Installation for Windows -    • JMeter Tutorial | Jmeter Installation...  
2.Jmater Basic Building Blocks -Thread Group,Assertions, Controllers etc -    • JMeter Tutorial | JMeter Basic Buildi...  
3. JMeter Thread Groups -    • JMeter Tutorial | Jmeter Thread Group  
4.Jmeter Configuration Elements -    • JMeter Tutorial | JMeter Configuratio...  
5.JMeter Listeners -    • JMeter Tutorial | JMeter Listeners  
6.Jmeter Simple Controller and Transaction Controller -    • JMeter Tutorial | JMeter Simple Contr...  
7.Jmeter If controller and While Controller -    • JMeter Tutorial | JMeter If controlle...  
8.Jmeter Runtime Random Order and interleave Controller -    • JMeter Tutorial | JMeter Runtime Rand...  
9.Jmeter Pacing and Timers -    • JMeter Tutorial | JMeter Pacing and T...  
10.Jmeter Execution Order and Scoping Rule -    • JMeter Tutorial | Jmeter Execution or...  
11.Jmeter Utilizing Data Sets -    • JMeter Tutorial | Jmeter Utilizing Da...  
12.Jmeter Logging -    • Jmeter Tutorial | Jmeter Logging | Ho...  
13.Jmeter Post Processors -    • JMeter Tutorial | Jmeter Post Processors  
14.Jmeter Concurrency Thread Group -    • Jmeter Concurreny Thread Group  
15.Jmeter Set up and Tear Down Thread Group -    • Jmeter Tutorial | Jmeter Set up and T...  
16. Jmeter Ultimate Thread Group -    • JMeter Tutorial | Jmeter Ultimate Thr...  
17.Jmeter Functions with Examples -    • JMeter Tutorial | Jmeter Functions wi...  
18.Jmeter Throughput Controller and Weighted Switch Controller -   • JMeter Tutorial | Jmeter Throughput C...  
19.Jmeter Beanshell Sampler Vs JDR223 Sampler -    • JMeter Tutorial | Jmeter Beanshell Sa...  
20.How to Debug Jmeter Script? -    • JMeter Tutorial | How to Debug Jmeter...  
21. How to Reuse Code in Jmeter -    • JMeter Tutorial | How to Reuse Code i...