Contributions
Re: SoapUI OpenSource Integration with Git
Hi Yogita, We faced lots of conflicts with GIT as SoapUI is creating only one XML file for one project. We ended up copying test cases to another project and merged the 2 version of project and add test cases again. If you want we can try github and find some solution by working on Sample project. Will update this thread if I find any solution. Amit10KViews0likes1CommentsoapUI is returning 500 but web service is works fine in postman and any other client
Hi, I am testing a service in soapUI but soapUI is returning incorrect response. It is returning HTTP/1.1 500 Internal Server Error while other tools like postman and Rest Clients works fine and returning in expected response code 200. Any idea, what could be the possible issue here?1.7KViews1like0CommentsRe: Property Transfer step is getting failed with maven
This issue is resolved after adding following dependencies and uploaded the JARs to our local Nexus server used by jenkins server. Thanksnmrao for looking into this. <dependency> <groupId>org.apache.xmlbeans</groupId> <artifactId>xmlbeans-xpath</artifactId> <version>2.4.0</version> </dependency> <dependency> <groupId>net.sf.saxon</groupId> <artifactId>saxon</artifactId> <version>9</version> </dependency> <dependency> <groupId>net.sf.saxon</groupId> <artifactId>saxon-xpath</artifactId> <version>8.7</version> </dependency> <dependency> <groupId>net.sf.saxon</groupId> <artifactId>saxon</artifactId> <version>9</version> </dependency> <dependency> <groupId>net.sf.saxon</groupId> <artifactId>saxon-dom</artifactId> <version>9</version> </dependency>3.8KViews0likes0CommentsRe: Property Transfer step is getting failed with maven
Here is one other example. Response of JDBC step. <Results> <ResultSet fetchSize="10"> <Row rowNumber="1"> <AUDIENCE_ATTRIBUTE_ID>35801365</AUDIENCE_ATTRIBUTE_ID> </Row> </ResultSet> </Results> Property Transfer Steps: Source: JDBC Step, Property: ResponseAsXML, Path language: XPath //AUDIENCE_ATTRIBUTE_ID Target: Another Get Call, Peroperty: aa_id,Path language: XPath You can see above property transfer step in attached screenshot. This is working fine in SOAP UI, bit getting earlier mentioned error on jenkins. Also I am getting same error for Script assertions and JSON path property transfer. Script Assertion for other step: import com.eviware.soapui.support.XmlHolder def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) def holder = groovyUtils.getXmlHolder ("getAttributeExportWithProviderName#ResponseAsXml") exportData= holder.getNodeValue ("//data") assert exportData != null Response for getAttributeExportWithProviderName step: <data contentType="text/csv;charset=utf-8" contentLength="34127"><![CDATA["Attribute ID","Full Path","Attribute Name","Provider","CPM","Internet","Owned","CRM","Internet ru4.com","Internet rfihub.com","Owned ru4.com","Owned rfihub.com","KeyChain Count", "55144320","Demographic>>Age Range>>Age Range By Provider>>18 to 19","18 to 19","Experian","0.75","0","0","0","0","0","0","0","0", "55144322","Demographic>>Age Range>>Age Range By Provider>>20 to 29","20 to 29","Experian","0.75","0","0","0","0","0","0","0","0", "55144324","Demographic>>Age Range>>Age Range By Provider>>30 to 39","30 to 39","Experian","0.75","34248000","0","0","1074000","33678000","0","0","0", "55144326","Demographic>>Age Range>>Age Range By Provider>>40 to 49","40 to 49","Experian","0.75","39954000","0","0","1161000","39357000","0","0","0", This script aseertion also passed in SOAPUI UI. Summary: All steps passed in SoapUI UI which contains Xpath Property Transfer, JSON Path property transfer, Script Assertion for Xpath and Json path. PS: I am using REST services, so most of the response are in JSON, but all DB steps has XML response and some of the API is returning XML Thanks Rao for looking into. Please let me know if you need anything else.3.8KViews0likes1CommentRe: Property Transfer step is getting failed with maven
Proprty Transfer XML <con:testStep type="transfer" name="segmentAttributeTRANS" id="e46c5881-2513-4ca7-b85a-4896f401b76d"> <con:settings/> <con:configxsi:type="con:PropertyTransfersStep"xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <con:transfers setNullOnMissingSource="true" transferTextContent="true" failOnError="true" ignoreEmpty="false" transferToAll="false" entitize="false" transferChildNodes="false"> <con:name>attributeid</con:name><con:sourceType>Response</con:sourceType><con:sourceStep>postSegmentAttribute</con:sourceStep><con:sourcePath>userstateid</con:sourcePath><con:targetType>attributeid</con:targetType><con:targetStep>verifySegment_DB</con:targetStep><con:type>JSONPATH</con:type><con:targetTransferType>JSONPATH</con:targetTransferType><con:upgraded>true</con:upgraded></con:transfers> Screenshot attached.3.8KViews0likes4CommentsProperty Transfer step is getting failed with maven
Hi, All my property transfer steps are getting failed on jenkins server running with maven, these steps are getting passed on my local system. I am getting following error on jenkins. Unable to fix this issue. java.lang.RuntimeException: Trying XBeans path engine... Trying XQRL... Trying delegated path engine... FAILED on //COUNT at org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:173) at org.apache.xmlbeans.impl.store.Path.getCompiledPath(Path.java:130) at org.apache.xmlbeans.impl.store.Cursor._selectPath(Cursor.java:902) at org.apache.xmlbeans.impl.store.Cursor._selectPath(Cursor.java:894) at org.apache.xmlbeans.impl.store.Cursor.selectPath(Cursor.java:2616) at com.eviware.soapui.support.xml.XmlUtils.selectFirstDomNode(XmlUtils.java:1187) at com.eviware.soapui.support.xml.XmlUtils.selectFirstNodeValue(XmlUtils.java:1169) at com.eviware.soapui.support.XmlHolder.getNodeValue(XmlHolder.java:72) at com.eviware.soapui.support.XmlHolder$getNodeValue.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at Script1.run(Script1.groovy:15) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:92) at com.eviware.soapui.impl.wsdl.teststeps.WsdlGroovyScriptTestStep.run(WsdlGroovyScriptTestStep.java:141) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:211) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:138) at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:46) at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:722) Any help would be appriciated.Solved3.8KViews0likes6CommentsClass Missing - org/apache/log4j/Layout
Hi, I am trying to execute soap ui test from Jenkins with maven commnd. But I am getting this error. [ERROR] Failed to execute goal com.smartbear.soapui:soapui-maven-plugin:5.2.1:test (default-cli) on project OrionAPITest: Execution default-cli of goal com.smartbear.soapui:soapui-maven-plugin:5.2.1:test failed: A required class was missing while executing com.smartbear.soapui:soapui-maven-plugin:5.2.1:test: org/apache/log4j/Layout My pom.xml <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>2.5</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>2.5</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-jcl</artifactId> <version>2.5</version> </dependency> <dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-api</artifactId> <version>1.7.2</version> </dependency> <dependency> <groupId>org.ops4j.pax.logging</groupId> <artifactId>pax-logging-service</artifactId> <version>1.7.2</version> </dependency> Does anybody has any idea about this error?1.1KViews0likes0Comments