weixin_33743880 2014-04-23 08:39 采纳率: 0%
浏览 322

JMeter中有4个并行请求

I have 1 usual request and 3 additional requests which should be perform in parallel with the first one:

usual request:

URL=.../search?folder_Id=${folder_id}

Parallel requests:

URL=.../search?folder_Id=${folder_id}&facet=company
URL=.../search?folder_Id=${folder_id}&facet=date
URL=.../search?folder_Id=${folder_id}&facet=author

Could you please write helpfull information what is the best and easiest way to implement this in JMeter? All 4 requests should be in parallel for 1 user! Is it possible to do with JMeter or not?

UPD. These requests should be placed into controller - they are only one small but important part of huge script, so I can't use them as Thread group due to script logic, only inside of controller!!!

  • 写回答

1条回答 默认 最新

  • weixin_33728268 2014-04-23 12:59
    关注

    There is even a Parallel Controller Feature Request which isn't resolved for the moment.

    As an option, JMeter provides Synchronizing Timer which will will pause threads until specified number will be active. You may consider having separate thread group with 4 threads orchestrated by Synchronizing Timer to fire off concurrently.

    Hope this helps.

    评论

报告相同问题?

悬赏问题

  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分
  • ¥15 delphi webbrowser组件网页下拉菜单自动选择问题
  • ¥15 linux驱动,linux应用,多线程