Skip to main content

Posts

Showing posts from February, 2013

Elements of a Test Plan in Jmeter

A typical test plan will consist of one or more Thread Groups, logic controllers, listeners, timers, assertions, and configuration elements: a.Thread Group—each thread simulates a single user. All elements of a test plan must be under a thread group. 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: 1.Number of threads (users) - multiple threads are used to simulate concurrent connections to server application.
2.Ramp-up period (in seconds) – tells JMeter how long to take to "ramp-up" to the full number of threads chosen.
E.g. If 50 threads are used, and the ramp-up period is 200 seconds, then JMeter will take 200 seconds to get all 50 threads up and running. Each thread will start 4 (200/50) seconds after the previous thread was begun.
3.Loop count or number of times to execute the test - If the number is set, and then JMeter will execute the test for given number of times before stopping.…