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

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.

    评论

报告相同问题?