交错控制器问题 - JMeter
我试图通过将几个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
交错控制器正在正常运行。每次迭代将交替使用一个 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?
何塞
感谢您的回答。将它们直接放在线程组下并不会按顺序调用它们。你可以尝试一下。我目前有大约 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.