header
header
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome, Guest. Please login or register.
November 22, 2008, 12:07:33 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Execute all Teststeps of the Testcase with Testrunner on the command line
Welcome, Guest. Please login or register.
November 22, 2008, 12:07:33 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Execute all Teststeps of the Testcase with Testrunner on the command line
« previous next »
Pages: [1] Print
Author Topic: Execute all Teststeps of the Testcase with Testrunner on the command line  (Read 499 times)
m felsch
Newbie
*
Posts: 3


« on: January 24, 2008, 10:24:14 pm »

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
Logged
Manoj
Newbie
*
Posts: 24


« Reply #1 on: January 25, 2008, 07:07:15 am »

Hi ,

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

Hope that helps..
Logged
m felsch
Newbie
*
Posts: 3


« Reply #2 on: January 25, 2008, 02:15:26 pm »


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

Has anyone futher ideas for that problem?
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,425


« Reply #3 on: January 25, 2008, 02:44:07 pm »

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
Logged
m felsch
Newbie
*
Posts: 3


« Reply #4 on: January 29, 2008, 08:09:50 pm »

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

Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,425


« Reply #5 on: January 30, 2008, 01:33:27 am »

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
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
header header
header
header