Forum Discussion

sbanala0322's avatar
sbanala0322
New Contributor
15 years ago

loadUI command line interface

How Do I work with the loadUI from the command line.

I basically want to make a batch file , that should invoke the loadUI (with my preferred settings) and run the tests as I want with the URL as an input.

Please help me with this.

Thanks
Shravan

2 Replies

  • As Andy said, you can use a soapUI Runner and refer to the link he mentioned. That will do the trick.

    However, this is not supported by the Web Page Runner. Luckily it can easily be achieved anyway by creating a custom component that reads a System Property and pass it along in a message to the Web Page Runner. Or you can modify the existing Web Page Runner to do this.

    Here's how to get a System Property from within a component (assuming that you started loadUI with the command line option -Dloadui.myURL=http://www.someURL.com):
    System.getProperty("loadui.myURL");


    Regards!

    /Henrik
    eviware.com