Forum Discussion

biiincheeen's avatar
biiincheeen
Occasional Contributor
13 years ago

Test automation: same tescase, different number of threads

Hello everybody,

I want to set up a test automation and test the same testcase multiple times, just with a different number of threads.

I was wondering, whether I have to create a new Loadui Test for every Case (so once with 1 Thread, with 10 Threads and so on) or whether I can maybe change the number of threads send directly in the cmd (for example through Property Expansion)?

I would be very glad if somebody here can give me some advise.

Thanks!!!

3 Replies

  • biiincheeen's avatar
    biiincheeen
    Occasional Contributor
    Ok, here is what I did right now, but unfortunatley it is not working so far.
    Maybe you can give some advice for improvement:

    I imported a testcase in Loadui. The test is standartconfigured to run with the Load 1. I would like to change the property load from the cmd.

    loadui-cmd.bat -F PDF -L 10:0:0 -l -nofx -Dloadui.property.load=10 -p c:\users\B\.loadui\READ_1Thread.xml -r c:\users\B\.loadui

    But this is not working in the way i expect it to work: The testcas itself runs, but still with the Load of 1.
    Load is a predefined property of the fixed load component in loadui.

    Thanks for your help!
  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Hi!

    This is not supported currently, but we are seriously considering adding it.

    Regards

    Henrik
    SmartBear Software