![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SoapUI
markinlqx
这个作者很懒,什么都没留下…
展开
-
Groovy 读取SQL Server数据
//Groovy 读取SQL Server数据import groovy.sql.Sql def username = "sa" def password = "sasa" def url = "jdbc:sqlserver://ServerName\\InstanceName" def driver = "com.microsoft.sqlserver.jdbc.SQLServerDriver"原创 2012-09-09 09:32:01 · 2223 阅读 · 0 评论 -
SoapUI 读取Response节点值
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) def response = context.expand( '${MyRequest#ResponseAsXml}' ) def holder = groovyUtils.getXmlHolder(response) def NodeValue= hol原创 2012-09-09 09:44:01 · 1765 阅读 · 0 评论 -
SoapUI 获取当前运行项目所在目录
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context ) def projectPath= groovyUtils.getProjectPath() log.info projectPath原创 2012-09-09 09:47:11 · 1316 阅读 · 0 评论 -
The difference between null and isEmpty in Groovy
If the print result of data from SQLServer Data Base is null, you should use null; if the print result of data from SQLServer Data Base is nothing, you should use isEmpty. for example: lo原创 2012-11-06 19:36:58 · 313 阅读 · 0 评论 -
SoapUI offen use script
1.1. Get and Set propertiesGetting properties from groovy is straight-forward; all objects that contain properties have a getPropertyValue / setPropertyValue methods. The following examples are from i原创 2013-03-21 13:41:47 · 1172 阅读 · 0 评论