Forum Discussion

larryx's avatar
larryx
Frequent Contributor
11 years ago

[Resolved]unique request/thread ID in SoapUI Pro load test

Hello,
I run load test (multi-thread) with JMS groovyScript in SoapUI pro and need to get unique-ID from each thread (or JMS request). Does SoapUI pro provide this feature? If so, how can I get it?
Thanks,
Larry

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    There's no IDs for the SoapUI requests.
    Also, there's unfortunately no easy way to hook into the threads running the load tests either, and thus using it's IDs.
    What you could do is to try to implement some custom solution using the RequestFilter.filterRequest event handler which is called once for each request.
    Have a look at http://www.soapui.org/Scripting-Propert ... dlers.html

    --
    Regards

    Erik
    SmartBear Sweden
  • larryx's avatar
    larryx
    Frequent Contributor
    Great info. Thanks Erik.
    I also figured out to use threadIndex to partially implement it in alternative way.
    Thanks,
    Larry