Forum Discussion

anon1's avatar
anon1
New Contributor
11 years ago

SOAP UI integration with Junit-Error!

I'm trying below code simply...

SoapUITestCaseRunner runner = new SoapUITestCaseRunner();
runner.setProjectFile(getProjectDirectory());
runner.setPrintReport(true); //Outputs a small table to stdout of test results.
runner.run();

I'm using TIBCO Designer 5.7.1.3 to invoke the java code.The library includes all the SOAPUI4.5.2/bin and SOAPUI4.5.2/lib path.
But I'm getting below error.I can't seem to move past this one.

While executing [invoke] encountered [java.lang.NoSuchMethodError] : [org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem; at com.eviware.soapui.config.SoapuiSettingsDocumentConfig.<clinit>(Unknown Source)]

Please advise.

2 Replies

  • SmartBear_Suppo's avatar
    SmartBear_Suppo
    SmartBear Alumni (Retired)
    Are you referencing the needed SoapUI Jars in your TIBCO Designer?

    Thanks,
    Michael Giller
    SmartBear Software
  • anon1's avatar
    anon1
    New Contributor
    Hi,

    Thanks for the reply.I'm referencing all the jars from \lib and soapui4.5.2.jar from \bin.