Forum Discussion

shiva_kakarla's avatar
shiva_kakarla
Contributor
17 years ago

Execution of Testcases in UI and in commandline result varies

Hi,
I have some test cases which are to be run in commandline. When I run in the tool UI they work fine but when I execute in commandline I see errors related to my application.

For ex. I have below test case order.

TestCase 1 :adds some things into db
TestCase 2 : gets data from db
TestCase 3: deletes data from db

Could you clarify me if I execute above tests in commandline will the SoapProTestCaseRunner wait for TestCase 1 response before executing TestCase 2?

When I execute in UI it waits for the TestCase 1 response before firing 2.

Thanks

Shiva

3 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi,

    hmm.. the command-line runner prints some info before running a TestSuite, something in the line of "Running soapUI suite [], runType = ", where runType can be either PARALLELL or SEQUENTIAL. What are you seeing for your TestSuite ?

    regards,

    /Ole
    eviware.com
  • Hi Ole,

    Execution of Testcases in UI and command line are similar i.e., After the response of TestCase subsequent test cases are executed.

    I guess commandline execution is little faster than UI.  In my application there is asynchronous layer and I introduced a delay step to accommodate it and now everything works.

    Thanks
    Shiva
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi,

    great!.. I'm glad you solved it :-)

    regards,

    /Ole
    eviware.com