Execute all Teststeps of the Testcase with Testrunner on the command line

This is community board for the soapUI Community. Here the members can exchange experiences and help each other improve their soapUI testing.

Execute all Teststeps of the Testcase with Testrunner on the command line

Postby m felsch » 24 Jan 2008 22:24

Hi,

I have in my soapui project one testsuite with several testcases. Under each testcase I made several teststeps which are all from the type "Test Request". Each teststep creates a SOAP Requests and checks the results with some assertions.

testsuite
    - testcase
                - teststep 1
                - teststep 2
                ...
                - teststep n
 
I want to do an automated test over the console with the testrunner.bat. When I use the command as described in the docu testrunner.bat -j -fg:\\reports g:\\projects\\sample-soapui-project.xml only the first teststept is executed.

Has anyone of you an idea how I can call all Teststeps of my Testcase over the commandline with testrunner.bat?

Thanks in Advance
martin
m felsch
User
 
Posts: 3
Joined: 24 Jan 2008 22:08

Re: Execute all Teststeps of the Testcase with Testrunner on the command line

Postby Manoj » 25 Jan 2008 07:07

Hi ,

I hope you can try with the options -c (Test case) and -s (testsuite) option.

Hope that helps..
Manoj
User
 
Posts: 42
Joined: 08 Jan 2008 08:04

Re: Execute all Teststeps of the Testcase with Testrunner on the command line

Postby m felsch » 25 Jan 2008 14:15

thanks for the hint. but its still only the first teststep which is executed.

Has anyone futher ideas for that problem?
m felsch
User
 
Posts: 3
Joined: 24 Jan 2008 22:08

Re: Execute all Teststeps of the Testcase with Testrunner on the command line

Postby omatzura » 25 Jan 2008 14:44

Hi!

sounds strange, are your assertions maybe failing in the first step? Can you show the entire output of the testrunner?

regards!

/Ole
eviware.com
omatzura
Administrator
Administrator
 
Posts: 1918
Joined: 05 Jan 2007 23:39

Re: Execute all Teststeps of the Testcase with Testrunner on the command line

Postby m felsch » 29 Jan 2008 20:09

Hi,

I have tried it again. In the first teststep the assertion is failing. Is there a possibility to execute all teststeps of a testcase doesn't matter if the assertion is failing or if its ok?

Thanks
martin
m felsch
User
 
Posts: 3
Joined: 24 Jan 2008 22:08

Re: Execute all Teststeps of the Testcase with Testrunner on the command line

Postby omatzura » 30 Jan 2008 01:33

Hi Martin,

yes, there is an option for this in the TestCase Options dialog called "Abort on Error"; uncheck this option to make soapUI ignore failed assertions.

Hope this helps!

regards,

/Ole
eviware.com
omatzura
Administrator
Administrator
 
Posts: 1918
Joined: 05 Jan 2007 23:39


Return to soapUI Community Board