美文网首页
jMeter transaction Controller ge

jMeter transaction Controller ge

作者: 华山令狐冲 | 来源:发表于2021-11-14 09:27 被阅读0次

(1) 如果不勾上 generate parent sample,则 transaction controller 这个 wrapper 本身,会作为一个单独的 sample,出现在统计结果里。

下图 transaction controller 所在的绿色高亮的 sample time,bytes,sent bytes 等数据,均是其包含的子 sample 的数据之和。

(2) 同时,我们仔细观察 transaction controller 内部的 子 sample,发现它们是串行而非并行发送的,即前一个 sample 执行成功返回后,第二个 sample 才被发送。

为了更明显看到这个 transaction controller 串行请求发送特征,我们把第一个请求的 url 改成 google:


由此可见,如果 transaction controller 里任意一个请求失败,则整个请求被当成失败处理。

更多Jerry的原创文章,尽在:"汪子熙":


相关文章

网友评论

      本文标题:jMeter transaction Controller ge

      本文链接:https://www.haomeiwen.com/subject/lwheoltx.html