jmeter中单独执行线程组

发布于 2024-09-26 07:52:06 字数 128 浏览 2 评论 0原文

我的测试用例中有 2 个线程组。 A 组应该在 B 组开始执行之前先完成(至少我认为这是它的工作方式)。

不幸的是,它们同时发射,并且两个胎面组的测试都在执行,我能做些什么来防止这种情况发生。在A组执行完毕之前不允许B组启动?

I have 2 thread groups in my test case. Group A should complete first before Group B starts to execute(at least I though this was the way it worked).

Unfortunately they are firing at the same time and tests from both tread groups are executing, what can I do to prevent this from happening. Not to allow group B to start before group A is done executing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

有深☉意 2024-10-03 07:52:06

转到测试计划元素并选中“连续运行线程组”框。这会给你你想要的。

http://jmeter.apache.org/usermanual/component_reference.html#Test_Plan

Go to the test plan element and check the box "Run Thread Groups consecutively". This will give you what you want.

http://jmeter.apache.org/usermanual/component_reference.html#Test_Plan

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文