JMeter事务控制器(Transaction controller)

JMeter事务控制器(Transaction controller)

事务控制器会产生一个额外的取样器(sampler),用来计算衡量它所包含的所有测试组件(比如包含2个http采样器)的总体时间。在”查看结果树”监听器中,事务控制器只有在其子采样器都成功的情况下才显示成功。

注意:不只是采样器,包含该控制器范围内的所有测试组件。这个时间可能略大于单个采样器的时间之和.

Transaction-controller

Generate Parent Sample:默认不勾选,聚合报告(Aggregate Report)中显示如下:

jmeter-Transaction

勾选Generate Parent Sample后,聚合报告仅显示事务采样器采集的数据,而不会显示子采样器采集的数据,聚合报告(Aggregate Report)中显示如下:

jmeterTransaction

勾选Generate Parent Sample后,事务控制器下的各个采样器只有在the Tree View Listener里才能看到。同时,子采样器的数据也不会在CSV文件中显示,但是在XML文件中可以看到。

include duration of timer and pre-post processors in generated sample:该项默认勾选

6san.com

发表评论