Jmeter- Feature Summary

1, Jmeter tool part

  (1) Resource Generator: generating source code for the server during the test, the dynamometer. (VuGen LR in)

  (2) User runner: usually a script engine to simulate the behavior of the user specified by the script requires. (Controller LR in)

  (3) Report Generator: generating a report based on the test data in real time, provide a visual display of data. (Analysis LR in)

  (4) load generator: means for generating a load, typically a multi-mode or multi-thread process simulated user behavior. (Load Generators LR in)

  Test Plan (Test Plan): used to describe a performance test that contains this performance test all functions. That is all the contents of the performance test is based on a plan. (LR equivalent of a test scenario)

 

2, Threads (Users) threads, user

  (1) Thread Group (thread group):

    This is what we usually add a running thread. It can be seen as a virtual user group, thread group Each thread can be understood as a virtual user. The number of threads in the thread group is not included in the change during test execution. LR of similar action ()

  (2)setUp Thread Group:

    A special type of ThreadGroup, may be used to perform pre-test operation. The behavior of these threads exactly like a normal thread group elements. The difference is that these types of threads perform regular thread group before test execution. Similar LR, init (), the pre-condition framework unit testing unittest

  (3)tearDown Thread Group:

    A special type of ThreadGroup, may be used to perform the test operation. The behavior of these threads exactly like a normal thread group elements. The difference is that the thread group to perform on a regular basis after the end of these types of threads execute the test. LR is similar to the end (), postcondition frame unit testing unittest

3, test sequences (Test Fragment):

  Test element segment is a special thread group on the controller, it is a thread group level in the test tree. It is different with the thread group, because it is not executed, will be executed unless it is a controller or module is being referenced when the controller.

4, configuration elements (Config Element):

  Elements configured to provide for static configuration data. The CSV Data Set Config can form a data pool of local data files (Data Pool)

5, timer (Timer):

  Set a timer for the waiting time between operations, the waiting time is a means of performance tests commonly used to control QPS clients, similar to the LR think time. Jmeter defines different types of Bean Shell Timer, Constant Throughput Timer, fixed timers Timer

6, pre-processor (Per Processors):

   A request for the forthcoming issue of the request for special treatment before the actual issue. For example, the HTTP URL rewriting repair symbols can be achieved URL rewriting, when the URL information of the session with a sessionID a class, the processor can issue a request by the actual filling sessionID

7, post-processor (Post Processors):

   After a request for a server response to obtain Sample processing. Generally used to extract specific data response (LR associated conceptually similar test tools)

8, assertion (Assertions):

 

   Assertion checking whether the respective data obtained in the test is expected, for typically asserted checkpoint to guarantee that the data interaction during performance testing is consistent with the expected

9, the listener (Listener):

   Test result data is used to perform a series of processing elements and a visual display. Graphical results, view the results tree, polymerization report. They are frequently used elements. NOTE: This is not a listener listens to a system resource element

  There are two types of Jmeter controller: sampler (the Sample) and a logic controller (Logic Controller) to a drive processing of these test elements

10, the sampler (sample):

  取样器是性能测试中向服务器发送请求,记录响应信息,记录响应时间的最小单元,Jmeter原生支持多种不同的sample,如HTTP Request Sample、FTP Request Sample、TCP Request Sample、JDBC Request Sample等,每一种不同类型的Sampler可以根据设置的参数向服务器发出不同类型的请求

11、逻辑控制器(Logic Controller):

 

   逻辑控制器,包括俩类元件,一类是用于控制Test Plan中Sampler节点发送请求的逻辑顺序的控制器,常用的有如果(if)控制器、switch Controller、Runtime Controller、循环控制器等。另一类是用来组织控制Sampler节点的,如事务控制器、吞吐量控制器。

Guess you like

Origin www.cnblogs.com/katyhudson/p/12229992.html