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, 11:40:40 am
Username: Password:
Login with username, password and session length

Forgot your password?
 
Invoking TestRunner from web application
Welcome, Guest. Please login or register.
November 22, 2008, 11:40:40 am
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

+  Eviware Forum
|-+  soapUI
| |-+  soapUI
| | |-+  Invoking TestRunner from web application
« previous next »
Pages: [1] Print
Author Topic: Invoking TestRunner from web application  (Read 343 times)
Tareque
Newbie
*
Posts: 17


« on: February 14, 2008, 04:18:19 pm »

Hi,
I am creating a web application which will allow users to execute testRunner from a browser. Is there any way this can be achieved? Currently I am using the following piece of code in my Webapplication. This starts a new command window and executes the WebRunnerTestCase.

String cmdLine = "cmd /c start testrunner.bat -r -c WebRunnerTestCase D:/soapUIprojects/DBDrivenTest-soapui-project.xml";
       Process proc = Runtime.getRuntime().exec(commandLine.toString(), null, soapUIBinDir);

The problem with this solution is that if the server is running on some remote system this will not work. Is there any way i can trigger the execution of com.eviware.soapui.SoapUIProTestCaseRunner from a Web Application?

Would appreciate any suggestion.
Regards
T
Logged
omatzura
Administrator
Hero Member
*****
Posts: 1,425


« Reply #1 on: February 19, 2008, 12:30:10 am »

Hi Tareque,

try linking to the soapui jars and running the SoapUIProTestCaseRunner class directly!?

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