2014年6月17日

SoapUI利用Groovy对response与断言的处理

摘要: 1.对response的处理:(其中Test Request是request的名称)def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )def holder = groovyUtils.getXmlHolder... 阅读全文

posted @ 2014-06-17 15:51 张飞_ 阅读(5403) 评论(0) 推荐(1) 编辑

SoapUI利用Groovy把外部数据加载到request中

摘要: 默认已经用Groovy把外部数据给读取出来了,关键是读取出来后,如何加载到request中去?这里提供了两种方法:1.该Groovy脚本的名称是"setUp"def num = Integer.parseInt(testRunner.testCase.getPropertyValue( "count... 阅读全文

posted @ 2014-06-17 15:14 张飞_ 阅读(5096) 评论(0) 推荐(1) 编辑

导航