Forum Discussion
AndyHughes
15 years agoRegular Contributor
Still thinking about the best way to approach this. I've come up with the idea of running it all from the command line.
From a previous post I made, I'm under the impression that each line in the command prompt is executed (and finished) before the next one is started. So in the example below, they would be done sequentially.
loadUI-cmd.bat "-DmyCustomEndpoint=http://myWebSite.com" -p my-loadui-project.xml
loadUI-cmd.bat "-DmyCustomEndpoint=http://myWebSite.com/admin.php" -p my-loadui-project.xml
loadUI-cmd.bat "-DmyCustomEndpoint=http://foo.bar"-p project1.xml -r c:\reports -F PDF
loadUI-cmd.bat "-DmyCustomEndpoint=http://twitter.com/eviware" -p testSLA1.xml
So what I'm trying to work out is.......
1. Is there any way I can use property transfers/expansion to reference a specific SOAPUI test case within LOADUI so that I only need 1 LOADUI test case. Then I can run it from the command line as follows loadui-cmd.bat -p my-loadui-project.xml -t MyLoadUITestCase -L 3600:0:0 but every time I run this line I want to be able to specify a different SOAPUI test case within MyLoadUITestCase's runner.
So to recap, is there any way to run loadui passing through parameters which i can pickup in loadui, at the moment i can only see how to pick them up in SOAPUI
From a previous post I made, I'm under the impression that each line in the command prompt is executed (and finished) before the next one is started. So in the example below, they would be done sequentially.
loadUI-cmd.bat "-DmyCustomEndpoint=http://myWebSite.com" -p my-loadui-project.xml
loadUI-cmd.bat "-DmyCustomEndpoint=http://myWebSite.com/admin.php" -p my-loadui-project.xml
loadUI-cmd.bat "-DmyCustomEndpoint=http://foo.bar"-p project1.xml -r c:\reports -F PDF
loadUI-cmd.bat "-DmyCustomEndpoint=http://twitter.com/eviware" -p testSLA1.xml
So what I'm trying to work out is.......
1. Is there any way I can use property transfers/expansion to reference a specific SOAPUI test case within LOADUI so that I only need 1 LOADUI test case. Then I can run it from the command line as follows loadui-cmd.bat -p my-loadui-project.xml -t MyLoadUITestCase -L 3600:0:0 but every time I run this line I want to be able to specify a different SOAPUI test case within MyLoadUITestCase's runner.
So to recap, is there any way to run loadui passing through parameters which i can pickup in loadui, at the moment i can only see how to pick them up in SOAPUI