Include Controller Jmeter logic controllers

First, recognize Include Controller

Include Controller: translated includes a controller for adding Test Fragment (test sequences). Specifically what does it mean, let's understand the next Test Fragment (test sequences).

1, be understood that Test Fragment (test sequences)

The following is to create a Test Fragment.

Once created, discovered Test Fragment thread group in the same level, but is not enabled by default. As shown below:

Test Fragment can see the setup screen in addition to names and comments, no other settings, then it is in the end is doing with it. Select Test Fragment, click Help (the question mark icon in the book) Jmeter on the menu, check out the official explanation.

Found, T EST Fragment needs to include Controller Module Controller, or with the use of, Test Fragment is introduced as a test segment . Specifically, we'll look to include Controller of it.

 

 

 

2, recognizing Include Controller 

Add thread group under Include Controller,

 

 

 

 For the interface, only a file name settings.

 

 

 Since the introduction of the test plan to file, we first create a separate test plan.

Two, Include Controller used in conjunction with the Test Fragment

1, first create a separate test with a Test Fragment program and save it as follows

 

 

2, introduced into the test plan include control

 

 

 Results of the:

 

 

Here, we should understand Include Controller and Test Fragment of the bar. My understanding is, Test Fragment equivalent of a separate part, can be referenced by other test plans, to achieve a fragmented sample, modular, encountered repeated need, such as login, sign-up, you can use Test Fragment and the Include Controller.

 

Guess you like

Origin www.cnblogs.com/sandymonk/p/11585322.html