Performance test study notes (20201119)

Logic controller

Insert picture description here
if: The A sampler is executed if the condition is met, and the B sampler is executed if the condition is not met. The
default is, the result of expression is true

Loop control:
LoopController loop controller-generator
ForEachController foreach controller-iterator
python: for xxxx in generator
for xxx in iterator
transaction controller:
1. In jmeter by default, 1 sampler is 1 transaction
2. When there is a transaction controller, the number of samplers controlled by the transaction controller is 1 transaction.
Under a transaction controller, there can be multiple samplers. When Generate parent sample is checked, all sub-samplers will be merged into one transaction
transaction controller itself. Also a business

In the aggregate report of jmeter, each row is a transaction

In performance testing, do not use assertions and beanshell
assertions as much as possible : Expected results vs. actual results. It
actually consumes your native
beanshell: Because the performance of this component itself is very poor.
View the result tree:
The results displayed are based on the order in which the requests and responses are received. |

Key controllers:
1. Loop controller, foreach controller
2, if controller
3, transaction control
4. Only once control
: each thread user runs only once
Insert picture description here
Insert picture description here

Guess you like

Origin blog.csdn.net/mbrs_311723/article/details/110356075
Recommended