事务控制器会产生一个额外的取样器(sampler),用来计算衡量它所包含的所有单元(比如包含2个http采样器)。
注意的是,并不只是可以包含采样器,可以包含所有的可以处理的单元。 使用事务器的具体教程,请猛击这里
For JMeter versions after 2.3, there are two modes of operation
additional sample is added after the nested samples
additional sample is added as a parent of the nested samples
The generated sample time includes all the times for the nested samplers, and any timers etc. Depending on the clock resolution, it may be slightly longer than the sum of the individual samplers plus timers. The clock might tick after the controller recorded the start time but before the first sample starts. Similarly at the end.
The generated sample is only regarded as successful if all its sub-samples are successful.
In parent mode, the individual samples can still be seen in the Tree View Listener, but no longer appear as separate entries in other Listeners. Also, the sub-samples do not appear in CSV log files, but they can be saved to XML files.
Control Panel ![]()
| ||||||||||||