Test automation: same tescase, different number of threads

Free for all.

Test automation: same tescase, different number of threads

Postby biiincheeen » 08 Feb 2012 08:04

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!!!
biiincheeen
User
 
Posts: 15
Joined: 26 Jan 2012 05:37

Re: Test automation: same tescase, different number of threa

Postby biiincheeen » 09 Feb 2012 07:33

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!
biiincheeen
User
 
Posts: 15
Joined: 26 Jan 2012 05:37

Re: Test automation: same tescase, different number of threa

Postby SmartBear Support » 10 Feb 2012 10:18

Hi!

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

Regards

Henrik
SmartBear Software
SmartBear Support
Administrator
Administrator
 
Posts: 6705
Joined: 16 Feb 2009 10:53

Re: Test automation: same tescase, different number of threa

Postby biiincheeen » 13 Feb 2012 06:12

Thanks, that solves my question :)
biiincheeen
User
 
Posts: 15
Joined: 26 Jan 2012 05:37


Return to LoadUI