Forum Discussion

NewAutoTester's avatar
NewAutoTester
Contributor
4 years ago

Does the ReadyAPI3.5.1 version support the use of import com.eviware.soapui.impl.wsdl.*?

Hi Team,

 

We use ReadyAPI 3.0.0 integrated with cucumber 4.2.0 (as stated below). Now there is a upgrade available. Does the latest version support the use of import as mentioned below.

 

import com.eviware.soapui.impl.wsdl.WsdlProjectPro;
import com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase;

 

WsdlProjectPro project = new WsdlProjectPro("src/test/resources/xml/SoapUI");
project.setActiveEnvironment(set_Env());


WsdlTestCase testCase = project.getTestSuiteByName(transactionRequest).getTestCaseByName(scenario);
testCase.setPropertyValue("maxDuration", durationInMinutes);
testCase.setPropertyValue("traceId", java.util.UUID.randomUUID().toString());

2 Replies

    • NewAutoTester's avatar
      NewAutoTester
      Contributor

      Below is the error seen


      [ERROR] error reading C:\Users\M2Repo\org\codehaus\groovy\groovy-all\3.0.6\groovy-all-3.0.6.jar; error in opening zip file
      [ERROR] /C:/Users/ReadyAPI 3.5.1/src/main/java/com/Reporter.java:[8,45] cannot access com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner
      [ERROR] bad class file: C:\Users\M2Repo\com\smartbear\ready-api-soapui\3.5.1\ready-api-soapui-3.5.1.jar(com/eviware/soapui/impl/wsdl/testcase/WsdlTestCaseRunner.class)
      [ERROR] class file has wrong version 55.0, should be 52.0
      [ERROR] Please remove or make sure it appears in the correct subdirectory of the classpath.

       

      HimanshuTayal - Any idea how to fix this?