Contributions
Re: It is not possible to deploy war for REST Mock Service
I had another problem when use deployed REST Mock service. it is an exception. I found the root cause of problem. I have several installed versions. SoapUI-5.0.0 SoapUI-5.0.0-m-SNAPSHOT SoapUI-Pro-5.1.1-m-SNAPSHOT I export project to WAR file in SOAPUI 5.1.1 and discovered that it contains several libs: soapui-5.0.0.jar soapui-5.1.1-m-20140807.160849-4.jar soapui-pro-5.1.1-m-SNAPSHOT.jar Obviously soapui-5.0.0.jar is extra. I deleted it from WAR file. Deployed REST Mock works fine.10 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.7KViews0likes0CommentsIt is not possible to deploy war for REST Mock Service
1. Take example project "Sample REST Project" Sample-REST-Project-soapui-project.xml 2. Select "Deploy As War" in context menu. An error message appears: project does not have any MockServices to deploy. the version is SOAPUI free 5.0.0 maintenance build 1533. in 5.1.1 PRO it works fine.10 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.3KViews0likes4CommentsRe: [R] exception in SOAP mock app in weblogic
I forgot to mention I use a version SOAPUI PRO 5.1.1. with a trial license. The solution has been found :-). I installed SOAPUI free 5.0.0 maintenance build and generated the war file there. All work fine in 5.0.0 nightly build. The war file is generated and deployed, soap mock service works successfully.10 years agoPlace ReadyAPI QuestionsReadyAPI Questions928Views0likes0Comments[R] exception in SOAP mock app in weblogic
I have an exception when i send a soap request to the mock service is deployed as a war into weblogic. 1. Take an example for soapui pro Sample-SOAP-Project-Pro (it is in an attachment). 2. Generate war file samplesoap.war 3. Deploy it into weblogic. 4. Request SOAP POST http://<your.server>:8001/samplesoap/mockServiceSoapBinding from Simple Sample-SOAP-Project-Pro/TestSuite/Simple Login and Logout w. Properties Steps The response is Error 500--Internal Server Error there are some exceptions in the log: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1407423029964> <BEA-101017> <[ServletContext@1452914277[app:samplesoap module:samplesoap.war path:/samplesoap spec-version:2.5]] Root cause of ServletException. java.lang.NoSuchMethodError: com.eviware.soapui.impl.wsdl.WsdlProjectPro.checkForEncodedData(Lcom/eviware/soapui/config/ProjectConfig;)Lcom/eviware/soapui/impl/wsdl/WsdlProject$ProjectEncryptionStatus; at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(SourceFile:205) inside of SOAPUI it works fine.10 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes2Commentspro maven plugin 5.1.0 org/reflections/Configuration missed
with new version (5.1.0 or 5.1.0-m-SNAPSHOT) of soapui-pro-maven-plugin i got a problem. with 5.0.0-m-SNAPSHOT it works fine. urls[103] = file:/opt/ci/jenkins/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar Number of foreign imports: 1 import: Entry[import from realm ClassRealm[maven.api, parent: null]] ----------------------------------------------------- at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:125) ... 20 more Caused by: java.lang.NoClassDefFoundError: org/reflections/Configuration at com.eviware.soapui.plugins.PluginManager.<init>(SourceFile:51) at com.eviware.soapui.SoapUIPro$SoapUIProCore.loadPlugins(SourceFile:809) at com.eviware.soapui.DefaultSoapUICore.init(DefaultSoapUICore.java:142) at com.eviware.soapui.SoapUIPro$SoapUIProCore.init(SourceFile:801) at com.eviware.soapui.SoapUIPro$SoapUIProCore.<init>(SourceFile:764) at com.eviware.soapui.SoapUIProTestCaseRunner.createSoapUICore(SourceFile:200) at com.eviware.soapui.tools.AbstractSoapUIRunner.run(AbstractSoapUIRunner.java:178) at com.eviware.soapui.maven2.TestMojo.execute(TestMojo.java:134) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) ... 20 more Caused by: java.lang.ClassNotFoundException: org.reflections.Configuration at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:244) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:230) ... 29 more [ERROR] pom, project and log are attached.10 years agoPlace ReadyAPI QuestionsReadyAPI Questions3.9KViews0likes3CommentsgetMockServiceByName returns NPE on REST mock
Version: nightly build 20140612-1506 Try to start REST mock service from groovy script: testRunner.testCase.testSuite.project.getMockServiceByName("REST MockService 1").start(); It works fine for SOAP mock. it is failed: Mon Jul 07 18:36:17 CEST 2014:ERROR:An error occurred [Cannot invoke method start() on null object], see error log for details BTW: getMockServiceCount() returns 0. Mon Jul 07 18:35:57 CEST 2014:ERROR:java.lang.NullPointerException: Cannot invoke method start() on null object java.lang.NullPointerException: Cannot invoke method start() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:45) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:32) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45) at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112) at Script3.run(Script3.groovy:1) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:100) at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:154) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:239) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:52) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:152) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:47) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:139) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)10 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.6KViews0likes5CommentsRe: Multiplication groovy logs in maven
Hello SOAPUI support, when are you going to fix this bug? if I have 2 and more "execution" for the <groupId>com.smartbear.soapui</groupId> <artifactId>soapui-pro-maven-plugin</artifactId> i have in the log several identical records for groovy log.11 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.3KViews0likes0Comments