Contact Us
About Us
News
Home
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome,
Guest
. Please
login
or
register
.
September 08, 2008, 05:19:33 am
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forgot your password?
SOAP Response Assertion to a TestStep using Java API?
Welcome,
Guest
. Please
login
or
register
.
September 08, 2008, 05:19:33 am
News:
The Forums are up! Welcome to eviware.
Eviware Forum
soapUI
soapUI
SOAP Response Assertion to a TestStep using Java API?
« previous
next »
Pages:
[
1
]
Author
Topic: SOAP Response Assertion to a TestStep using Java API? (Read 208 times)
Vallish Shankar
Newbie
Posts: 5
SOAP Response Assertion to a TestStep using Java API?
«
on:
May 28, 2008, 08:28:14 pm »
How can I add a SOAPResponseAssertion to a TestStep using Java API?
I am able to create the testcase and teststep programmatically using the following.
WsdlProject project = new WsdlProject(projectFilePath);
WsdlTestSuite testSuite = project.addNewTestSuite("TestSuite");
WsdlTestCase tc = testSuite.addNewTestCase("TestCase" + (i+1));
TestStepConfig config = WsdlTestRequestStepFactory.createConfig(operation, "TestStep1");
WsdlTestStep ts = tc.addTestStep(config);
How do I now add a SOAP Response assertion?
Thanks much in advance!
Logged
omatzura
Administrator
Hero Member
Posts: 1,210
Re: SOAP Response Assertion to a TestStep using Java API?
«
Reply #1 on:
May 28, 2008, 08:47:07 pm »
Hi!
try the following:
Code:
...
WsdlTestRequestStep ts = (WsdlTestRequestStep) tc.addTestStep(config);
ts.addAssertion( "SOAP Response" );
works ok?
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...