Groovy script for JDBS request assertion. Unexpected element: CDATA
Hello!
I just started to use SOAPUI
I have a script assertion for JDBC request:
import com.eviware.soapui.support.XmlHolder def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) def holder = groovyUtils.getXmlHolder( "JDBC Request#ResponseAsXml" ) s = holder.getNodeValue("//PS_SUBSCRIBE_DATA_290.CREATED_DATE") log.info (s) assert s != null
Yesterday this script worked and assertion passed.
But today i see an error: Unexpected element: CDATA
Could you help me please! What is wrong?
Hi endorium,
The requirements for running SoapUI Pro (with Fixed license) and TestComplete tests from Jenkins are mutually exclusive, indeed. TestComplete requires the Jenkins service to run under the Local System account, and SoapUI Pro - under a user account that is a requirement of the licensing system and the Fixed license type.
You can overcome this conflict by using the Floating license type instead of Fixed. Once you have your SoapUI Pro Floating license you will need to:
1. Run the Jenkins service to run under the Local System account;
2. Add a build step that checks out the license before the test execution as it's described here: https://smartbear-cc.force.com/portal/KbArticleViewer?name=How-to-check-out-Ready-API-floating-license-automatically&sp=all
In this case, the license will be applied under the Local System account and TestRunner will be able to use it.
To learn more about Floating licenses please reach out to your Sales rep or submit a request here: https://smartbear.com/product/ready-api/demo-request/