Forum Discussion

pascalSoap's avatar
pascalSoap
Occasional Contributor
14 years ago

Questions about using and options in command-line launcher

Hello,

I'm beginner at using Soap UI command-line launcher, the only documentation I know is the one of your WebSite, very good but sometimes not enough precise for my use. I'd like to have some more précisions

1 / About the following options :

"-a" means "Turns on exporting of all test results, not only errors"; however in my tests, when "-a" is not present in the command line, no log is ever created ; even if the request of the WebService returns a SoapFault. Where have I been wrong according to you ? By the way is it necessary to put assertion(s) to obtain an error-log file ?

"-j" means "Turns on exporting of JUnit-compatible reports"; in two words what is JUnit ?

Which are the various possible values of "-R" option ? Project, TestSuite, TestCase ? other values ?

2 / When using the launcher :

- Is it possible to automatically create a file that contains the log of the Soap UI treatement displayed on the screen by the launcher ? Does an option exist for that ? (*)

- I don't understand what is the use of the "Test Runner Path" field ? When is it necessary ? is it important ?

- In the report generated by the -a option, in the beginning the status I have obtained is always "UNKNOWN"; how can I obtain a more precise status ?

- I'd like a lot if it were possible to obtain 3 distinct log-files :
- one which would contain the error of the Request and which would exist only in case of failure of the Request
- another one which would contain the result of the Request (just like the one generated by the "-a" option)
- and a third which would contain (*)

Thanks by advance for your answers (even if it's about only one point ; any new information is welcome particularly concerning reports production)

Pascal (from France)

1 Reply

  • pascalSoap's avatar
    pascalSoap
    Occasional Contributor
    Sorry,

    1 / When "-a" is absent I get an Error Log file (report) if the testCase has failed provided I put an(several) assertion(s) (whih fails in case of error)

    So this point is solved and closed

    2 / In the report generated by the "-a" option, I can get a well-valued status (OK/FAILED) provided I use an(several) assertion(s) joined to the testCase

    So this point is also solved and closed

    Pascal