Contact Us
About Us
News
Home
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
.
January 09, 2009, 07:44:04 am
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forgot your password?
Need to run specific Test Step through JUNIT test
Welcome,
Guest
. Please
login
or
register
.
January 09, 2009, 07:44:04 am
News:
The Forums are up! Welcome to eviware.
Eviware Forum
soapUI
soapUI
Need to run specific Test Step through JUNIT test
« previous
next »
Pages:
[
1
]
Author
Topic: Need to run specific Test Step through JUNIT test (Read 384 times)
Lior Kinsbruner
Newbie
Posts: 4
Need to run specific Test Step through JUNIT test
«
on:
August 10, 2008, 02:45:19 pm »
Hi,
I Need to run specific Test Step through JUNIT and I only saw a way to run a whole Test Case (which obviously has multiple test steps).
This is my code:
assertNotNull("Please set the SoapUI project file", soapUIProject);
WsdlProject project = new WsdlProject(soapUIProject.getAbsolutePath());
printProjectTestInfo(project);
TestSuite testSuite = project.getTestSuiteByName(suiteName);
TestCase testCase = testSuite.getTestCaseByName(caseName);
testCase.addTestRunListener(this);
// create empty properties and run synchronously
TestRunner runner = testCase.run(new PropertiesMap(), false);
Status status = runner.getStatus();
Logged
omatzura
Administrator
Hero Member
Posts: 1,666
Re: Need to run specific Test Step through JUNIT test
«
Reply #1 on:
August 11, 2008, 07:24:55 am »
Hi!
hmm.. maybe you could just disable all the other teststeps with testStep.setDisabled( true ) before running the testcase?
regards,
/Ole
eviware.com
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> eviware general
-----------------------------
soapUI
-----------------------------
=> soapUI
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.2
|
SMF © 2006-2007, Simple Machines LLC
Loading...