gpt4 book ai didi

performance - 如何多次连续运行多个http请求

转载 作者:行者123 更新时间:2023-11-28 21:17:10 24 4
gpt4 key购买 nike

我正在使用 jmeter 进行测试。我在该线程组下有 1 个线程组设置和多个 http 请求。 Jmeter 将按顺序运行这些请求。但如何让它们按顺序多次运行?

我的设置如下:线程组-http 请求 1 * 变量 * 保存存档 * 结果树-http 请求 2 * 变量 * 保存存档 * 结果树-http 请求 3 * 变量 * 保存存档 * 结果树

我希望 jmeter 按顺序多次运行它们。例如,我希望它们运行两次。所以我希望请求 1 运行,然后请求 2,然后请求 3。然后我希望请求 1 运行,然后请求 2,最后请求 3。 jmeter test plan updated test plan

http request defaults http request defaults variables

http request 1 http request 1 variables

http request 2 htpp request 2 variables

最佳答案

在线程组中将循环次数设置为2,然后依次运行两次。

请检查以下内容:- enter image description here enter image description here

更新:- enter image description here

关于performance - 如何多次连续运行多个http请求,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55959369/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com