The basic concept of the control Jmeter

1. Using JMeter test plan is the starting point for the test, which is a container for other JMeter test element.

2. Thread Group: behalf of a certain number of concurrent users, it can be used to simulate the transmission request concurrent users. The actual definition of the requested content in the Sampler,
which is a thread group comprises. In the "Test Plan -> Add -> Thread Group" to build it, then there are several input fields in the Thread Group panel: the number of threads,
Ramp-Up Period (in seconds The), number of cycles, which Ramp-Up Period ( in seconds) indicate you have created all the threads within this time.
If eight threads, Ramp-Up = 200 seconds, the start time for a thread interval is 200/8 = 25 seconds, so that the benefits are: the beginning will not
have too much load on the server. Thread group is designed to simulate concurrent load.

3, the sampler (Sampler): simulate various requests. All tasks are handled by the actual test sampler assume that there are many requests. Such as: the HTTP,
FTP requests the like.

4, listener: responsible for collecting the test results, but also was told the way results are displayed. Function is a request to display the results of the sampler, a statistical
These data (throughput, KB / S ......) and the like.

6, asserts: means for determining whether the result request response as desired by the user, is correct. It can be used to isolate problem domain, that ensure the functionality
to perform stress tests correct premise. The limit for effective testing is very useful.

7, the timer: between successive requests is responsible for defining the request (thread) delay interval, the analog to the server.

5, the logic controller: JMeter logic allows custom behavior transmission request, the request can simulate complex sequence it used in conjunction with Sampler.

8, configuration information element Sampler maintenance required, and change the content of the request according to actual needs.

9, pre-processor and post-processor is responsible for generating requests before and after the work is completed. Pre-processor is often used to modify setting request,
the post processor are often used to process the response data.

Guess you like

Origin www.cnblogs.com/xly22/p/11375377.html