Forum Discussion

elecmindjus's avatar
elecmindjus
New Contributor
14 years ago

How To Create and Run Test Suites From command Line

Hi,
This is my Scenario. We have created a test suite and generated around 50 requests and response XML's. The testing is not automated. We have saved all requests in a specific folder. Next time when we have to run a regression we have to do the entire process again.

My Query.

Is there any way that I can create dynamic test suites in command line and use existing requests and use new endpoints and generate new response xml's without opening SOAPUI.

Note.

Each time we get new endpoints and WSDL's

Thanx for the help in advance...

4 Replies

  • Hi ,

    Thanx a lot for the reply..

    The functional tests from the command-line gives clear idea on running existing test suites and tests with overrided properties.

    But our requirement is to do everything from command line

    1. Create a testsuite from commandline using the wsdl given as input in the commandline parameter.
    2. Generate a mock request.
    3. Take the request XML's stored in a folder one by one and supply as requests and run it against the endpoint supplied.
    4. Store the response XML's in the output folder.

    All the above to be done without using SOAPUI or with minimum intervention
  • All the above to be done without opening* SOAPUI or with minimum intervention

    apologies typo error
  • Hello,

    that is not supported currently - but you should be able to use Groovy scripts (script test step) to read wsdl, create projects, mocks and run the tests.

    Regards,
    Vladimir
    SmartBear Software