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 23, 2008, 02:41:40 pm
Username: Password:
Login with username, password and session length

Forgot your password?
 
Latest posts of: Vallish Shankar
Welcome, Guest. Please login or register.
November 23, 2008, 02:41:40 pm
Home Help Search Login Register
News: The Forums are up! Welcome to eviware.

  Show Posts
Pages: [1]
1  soapUI / soapUI / Re: How to add a new Xpath Match assertion in Java on: July 25, 2008, 09:31:15 pm
This works! Thanks much!
2  soapUI / soapUI / How to add a new Xpath Match assertion in Java on: July 22, 2008, 09:16:54 pm
Hello:

I am having a bit of trouble setting the content for the xpath match assertion.

I have the following so far.

WsdlOperation operation = (WsdlOperation) iface.getOperationByName(operationName);
WsdlTestCase tc = testSuite.addNewTestCase("TestCase");
TestStepConfig config = WsdlTestRequestStepFactory.createConfig(operation, "TestStep1");
WsdlTestRequestStep ts = (WsdlTestRequestStep) tc.addTestStep(config);
TestAssertion ta = ts.addAssertion( "XPath Match" );   

I need to set the xpath expression to:
declare namespace ns='http://www.somecompany.com;
//code='123'

How do I set the expression in the TestAssertion? I did not find any methods to do this.

Thanks much!

3  soapUI / soapUI / Re: soapUI Pro license validation error using Java API on: May 28, 2008, 08:29:41 pm
Will do. Thanks!
4  soapUI / soapUI / 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!
5  soapUI / soapUI / soapUI Pro license validation error using Java API on: May 28, 2008, 04:28:45 pm
I am trying to create the soapUI Pro DataSource Test Step via the Java API and I keep getting an error about license validation. Should I be putting the license file somewhere specific?

Thanks!


10:21:24,698 ERROR [SoapUI] An error occured [java.lang.NullPointerException], see error log for details
java.lang.NullPointerException
   at com.eviware.soapui.SoapUIPro.validateLicense(SourceFile:357)
   at com.eviware.soapui.impl.wsdl.teststeps.registry.DataSourceStepFactory.createNewTestStep(SourceFile:37)
   at com.omx.esb.test.SOAPUIUtil.createProject(SOAPUIUtil.java:50)
   at com.omx.esb.test.TestMain.main(TestMain.java:32)

Pages: [1]


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