cancel
Showing results for 
Search instead for 
Did you mean: 

Ready APi Plugin loading plugin from Eclipse

subhaPrdhn
Occasional Contributor

Ready APi Plugin loading plugin from Eclipse

Hi All,

 

I am executing READY API test project from with in application server(tomcat) from Eclipse for my application. I observer from the logs that DefaultSoapUICore tries to copy plugin from eclipse. Logs as follows:

 

 

14:53:25,645 WARN com.smartbear.ready.core.ReadyApiPaths:104 - System property 'soapui.home' is not set! Using this directory instead: .
14:53:25,779 WARN com.netflix.governator.lifecycle.ClasspathScanner:119 - No base packages specified - no classpath scanning will be done
14:53:27,375 INFO org.hibernate.validator.util.Version:56 - Hibernate Validator 4.1.0.Final
14:53:27,590 INFO com.netflix.governator.guice.ModuleListBuilder:275 - Adding module 'com.smartbear.ready.cmd.CommandLineModule
14:53:29,550 WARN [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
14:53:29,574 WARN [SoapUI] Missing folder [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\ext] for external libraries
14:53:30,102 INFO [DefaultSoapUICore] initialized soapui-settings from [C:\Users\user\soapui-settings.xml]
14:53:30,321 INFO [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\Program Files\SmartBear\ReadyAPI-1.5.0\bin\scripts]
14:53:30,329 WARN [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
14:53:39,373 WARN [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
14:53:39,448 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\ch.qos.logback.classic_1.0.7.v20121108-1250.jar]
14:53:39,450 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\ch.qos.logback.core_1.0.7.v20121108-1250.jar]
14:53:39,471 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\ch.qos.logback.slf4j_1.0.7.v20121108-1250.jar]
14:53:39,472 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\com.google.guava_15.0.0.v201403281430.jar]
14:53:39,518 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\com.ibm.icu_52.1.0.v201404241930.jar]
14:53:39,520 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\com.jcraft.jsch_0.1.50.v201403120620.jar]
14:53:39,538 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\com.sun.el_2.2.0.v201303151357.jar]
14:53:39,554 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javaewah_0.7.9.v201401101600.jar]
14:53:39,569 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.activation_1.1.0.v201211130549.jar]
14:53:39,580 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.annotation_1.2.0.v201401042248.jar]
14:53:39,592 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.el_2.2.0.v201303151357.jar]
14:53:39,603 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.inject_1.0.0.v20091030.jar]
14:53:39,615 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.jws_2.0.0.v201005080400.jar]
14:53:39,624 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.mail_1.4.0.v201005080615.jar]
14:53:39,643 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.persistence_2.1.0.v201304241213.jar]
14:53:39,659 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.servlet.jsp_2.2.0.v201112011158.jar]
14:53:39,668 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.servlet_3.0.0.v201112011016.jar]
14:53:39,685 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.wsdl_1.5.1.v201012040544.jar]
14:53:39,696 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.wsdl_1.6.2.v201012040545.jar]
14:53:39,715 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.xml.bind_2.1.9.v201005080401.jar]
14:53:39,723 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.xml.rpc_1.1.0.v201209140446]
14:53:39,725 WARN [DefaultSoapUICore] Could not load plugin from file [.\plugins\javax.xml.rpc_1.1.0.v201209140446]
14:53:39,725 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.xml.soap_1.2.0.v201005080501]
14:53:39,725 WARN [DefaultSoapUICore] Could not load plugin from file [.\plugins\javax.xml.soap_1.2.0.v201005080501]
14:53:39,726 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.xml.stream_1.0.1.v201004272200.jar]
14:53:39,735 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.xml.ws_2.1.0.v200902101523.jar]
14:53:39,746 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\javax.xml_1.3.4.v201005080400.jar]
14:53:39,759 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\java_cup.runtime_0.10.0.v201005080400.jar]
14:53:39,773 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\net.sourceforge.lpg.lpgjavaruntime_1.1.0.v201004271650.jar]
14:53:39,791 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.ant_1.9.2.v201404171502]
14:53:39,792 WARN [DefaultSoapUICore] Could not load plugin from file [.\plugins\org.apache.ant_1.9.2.v201404171502]
14:53:39,792 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.axis_1.4.0.v201005080400]
14:53:39,793 WARN [DefaultSoapUICore] Could not load plugin from file [.\plugins\org.apache.axis_1.4.0.v201005080400]
14:53:39,793 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.batik.css_1.7.0.v201011041433.jar]
14:53:39,815 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.batik.util.gui_1.7.0.v200903091627.jar]
14:53:39,832 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.batik.util_1.7.0.v201011041433.jar]
14:53:39,847 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.bcel_5.2.0.v201005080400.jar]
14:53:39,868 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.codec.source_1.6.0.v201305230611.jar]
14:53:39,887 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.codec_1.6.0.v201305230611.jar]
14:53:39,898 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.collections_3.2.0.v2013030210310.jar]
14:53:39,928 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.compress_1.6.0.v201310281400.jar]
14:53:39,941 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.discovery_0.2.0.v201004190315]
14:53:39,942 WARN [DefaultSoapUICore] Could not load plugin from file [.\plugins\org.apache.commons.discovery_0.2.0.v201004190315]
14:53:39,942 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.httpclient_3.1.0.v201012070820.jar]
14:53:39,959 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.io_2.0.1.v201105210651.jar]
14:53:39,972 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.lang_2.6.0.v201404270220.jar]
14:53:39,985 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.logging.source_1.1.1.v201101211721.jar]
14:53:39,999 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.logging_1.0.4.v201101211617.jar]
14:53:40,013 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.logging_1.1.1.v201101211721.jar]
14:53:40,022 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.commons.net_3.2.0.v201305141515.jar]
14:53:40,042 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.felix.gogo.command_0.10.0.v201209301215.jar]
14:53:40,061 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.felix.gogo.runtime_0.10.0.v201209301036.jar]
14:53:40,091 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.felix.gogo.shell_0.10.0.v201212101605.jar]
14:53:40,105 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.httpcomponents.httpclient.source_4.2.6.v201311072007.jar]
14:53:40,128 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.httpcomponents.httpclient_4.2.6.v201311072007.jar]
14:53:40,154 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.httpcomponents.httpcore.source_4.2.5.v201311072007.jar]
14:53:40,176 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.httpcomponents.httpcore_4.2.5.v201311072007.jar]
14:53:40,195 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.jasper.glassfish_2.2.2.v201205150955.jar]
14:53:40,231 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.log4j_1.2.15.v201012070815.jar]
14:53:40,247 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.lucene.analysis_3.5.0.v20120725-1805.jar]
14:53:40,267 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.lucene.core_3.5.0.v20120725-1805.jar]
14:53:40,286 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.velocity_1.5.0.v200905192330.jar]
14:53:40,324 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.ws.commons.util_1.0.1.v20100518-1140.jar]
14:53:40,345 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.wsil4j_1.0.0.v200901211807.jar]
14:53:40,358 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.xalan_2.7.1.v201005080400.jar]
14:53:40,386 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.xerces_2.9.0.v201101211617.jar]
14:53:40,387 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.xml.resolver_1.2.0.v201005080400.jar]
14:53:40,402 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.xml.serializer_2.7.1.v201005080400.jar]
14:53:40,411 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.apache.xmlrpc_3.0.0.v20100427-1100.jar]
14:53:40,426 INFO [DefaultSoapUICore] Adding plugin from [C:\Users\user\Downloads\eclipse-jee-luna-R-win32-New\eclipse\.\plugins\org.eclipse.ant.core_3.3.0.v20140518-0042.jar]

How can i avoid this? Alternatively, when i call the same Util method as a java application, these plugins are not loaded. Logs as follows:

14:57:53,435  WARN com.smartbear.ready.core.ReadyApiPaths:104 - System property 'soapui.home' is not set! Using this directory instead: .
14:57:54,018  WARN com.netflix.governator.lifecycle.ClasspathScanner:119 - No base packages specified - no classpath scanning will be done
14:57:57,091  INFO org.hibernate.validator.util.Version:56 - Hibernate Validator 4.1.0.Final
14:57:57,179  INFO com.netflix.governator.guice.ModuleListBuilder:275 - Adding module 'com.smartbear.ready.cmd.CommandLineModule
14:57:59,985 WARN  [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
14:57:59,989 WARN  [SoapUI] Missing folder [D:\Workspace\Project\ext] for external libraries
14:58:00,533 INFO  [DefaultSoapUICore] initialized soapui-settings from [C:\Users\user\soapui-settings.xml]
14:58:01,180 INFO  [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\Program Files\SmartBear\ReadyAPI-1.5.0\bin\scripts]
14:58:01,194 WARN  [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
14:58:21,103 WARN  [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
14:58:21,785 INFO  [PluginManager] 0 plugins loaded in 1 ms
14:58:21,785 INFO  [DefaultSoapUICore] All plugins loaded
14:58:22,590 WARN  [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
14:58:22,590 WARN  [SoapUI] Missing folder [D:\Workspace\Project\ext] for external libraries
14:58:22,592 INFO  [DefaultSoapUICore] initialized soapui-settings from [C:\Users\user\soapui-settings.xml]
14:58:22,598 WARN  [ReadyApiPaths] System property 'soapui.home' is not set! Using this directory instead: .
14:58:22,619 INFO  [PluginManager] 0 plugins loaded in 0 ms
14:58:22,619 INFO  [DefaultSoapUICore] All plugins loaded
14:58:23,065 INFO  [SoapUIProTestCaseRunner] Running tests in project [null]
14:58:23,068 INFO  [SoapUIProTestCaseRunner] Running Project [null], runType = SEQUENTIAL
14:58:23,249 INFO  [SoapUIProTestCaseRunner] Project [null] finished with status [FINISHED] in 3ms
14:58:23,537 INFO  [WsdlProject] Loaded project from [file:/D:/Workspace/Project/TestProject.xml]
14:58:23,883 INFO  [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\Program Files\SmartBear\ReadyAPI-1.5.0\bin\scripts]

I am using the following dependency in pom.xml

 

<dependency>
	<groupId>com.smartbear</groupId>
	<artifactId>ready-api-maven-plugin</artifactId>
	<version>1.5.0</version>
</dependency>

The init() method as below:

public static void init() {
try {
			SoapUIProTestCaseRunner runner = new SoapUIProTestCaseRunner();
			runner.run();
		} catch (Exception ex) {
			ex.printStackTrace();
		}
	}

 

 

 

 

New Here?
Join us and watch the welcome video:
Building with the Collaborator API

Help Documenation
The Collaborator API is a JSON-RPC API that lets you integrate with Collaborator 9.0 and above. For more information about how the API works, check out the API description here:


Sample Plugins
For an example of an add-in that uses the API, take a look at the Microsoft Word Add-in for Collaborator:


We list all the great plugins our network has already built on this page on the SmartBear website.