cancel
Showing results for 
Search instead for 
Did you mean: 

TestCase Run Status

alibaba82
Super Contributor

TestCase Run Status

Hello,
I have a test case with multiple requests. I am running this test case via command line. At the end of the testcase run, soapUI create a 'results' folder with logfile for each of the request. I am interested in finding if the 'testcase' passed. The only way I can think of is to scan the results folder and figure out if any of the files names contains 'FAILED' indicating that the test case failed.

Is there any other way I can know if the test case failed?

THanks

ALi
4 REPLIES 4
omatzura
Super Contributor

Re: TestCase Run Status

Hi,

hmm.. I can only think of directing the testrunner output to a file and then grep:ing that file for status info.. not the easiest of solutions..

what if we export a testcase log just as the one in the UI into a file named -log-.log?

ie

TestCase-1-log-FAILED.log

would that help you? Are would you prefer some other kind of marker/signal?

regards,

/Ole
eviware.com
alibaba82
Super Contributor

Re: TestCase Run Status

Ole,
A testcase log which would contain the testcase status (pass/Failed), along with all the status for all the request in the test case would be really helpful.

example log file:

- Failed
Steps
- Passed
- Failed
- Not Run
- Not Run

Thanks

Ali
omatzura
Super Contributor

Re: TestCase Run Status

Hi Ali,

In that case I suggest we create an xml-file for this, so it can be transformed/validated/etc by some post-processor.. maybe something like


  TestCase 1
  FAILED
  ..
  ..
  etc..
 
     
          TestStep name
          ...
         
              ...
         

     
      ...
   


     
what do you think?

regards,

/Ole
eviware.com

 
alibaba82
Super Contributor

Re: TestCase Run Status

even better Ole
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors