Forum Discussion

f497's avatar
f497
New Contributor
9 years ago
Solved

Access thread count number

Hi. Is there a possibility to acces the current thread count as a property or something else? I would like to write some properties into an external file, but I also have to know the actual thread c...
  • rupert_anderson's avatar
    9 years ago

    Hi,

     

    When scripting in the context of a Load Test, have you seen the ThreadIndex property RunCount properties?

     

    You can use them like:

     

    log.info "ThreadIndex="+context["ThreadIndex"]+" RunCount: "+context["RunCount"]

     

    Is this what you need?

     

    For more see:

     

    http://www.soapui.org/load-testing/scripting-possibilities.html

     

    Cheers,

    Rup