交错控制器问题 - JMeter

发布于 2024-09-25 03:08:13 字数 145 浏览 5 评论 0原文

我试图通过将几个 Web 服务置于 Interleave 控制器下来模拟对它们的顺序调用。尽管我未选中“忽略子控制器块”,但 jmeter 仍然仅运行交错控制器下的控制器之一,并在每次迭代时交替使用它。我需要的是对 all 的顺序调用。

任何帮助表示赞赏。干杯

I am trying to simulate a sequential call to couple of webservices by putting them under Interleave controller. Although I have unchecked "ignore sub-controller blocks", jmeter still runs only one of the controllers living under interleave controller and alternates it for each iteration. What I need is a sequential call to all .

Any help is appreciated. Cheers

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

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

发布评论

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

评论(2

溺深海 2024-10-02 03:08:13

交错控制器正在正常运行。每次迭代交替使用一个 Web 服务

如果您希望在每个请求上顺序调用这两个 Web 服务,那么只需将它们直接放在线程组下 - 无需任何逻辑控制器或保留 简单控制器

除非我误解了你的问题,为什么需要交错控制器?

The Interleave Controller is running as it should do. It will alternate through one web service for each iteration

If you want a Sequential call to both web services on each request, then just put them directly under the Thread Group - without any logic controller or keep a Simple Controller

Unless I'm misunderstanding your question, why do you need the Interleave Controller?

铃予 2024-10-02 03:08:13

何塞

感谢您的回答。将它们直接放在线程组下并不会按顺序调用它们。你可以尝试一下。我目前有大约 10 个 Web 服务(让我们称之为 1..10),有些很重,有些很轻,从而导致不同的响应时间。但是,我想按从 1 到 10 的顺序运行它们。

直接将它们放在线程组下并不会按顺序调用它们,因此我使用交错控制器,并未选中“忽略子控制器块”。

Jose

Thanks for the answer. Keeping them directly under thread group did not call them sequentially. You can try it. I currently have about 10 webservices (let us call them 1..10) some are heavy and some are light there by resulting in different response times. However, I would like to run these in order that is from 1 to 10.

Directly placing them under thread group did not call them sequentially, so I used interleave controller with "ignore sub-controller blocks" unchecked.

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