SoapUI Groovy Script

来源:互联网 发布:淘宝首页源代码下载 编辑:程序博客网 时间:2024/06/10 00:24

rest  

上面是接口 


TestSuite(用例集)——————TestCase(用例)————Add Step---1.Groovy Script  2. Home_Index.action - Request 1




Groovy Script  :



def teststep = testRunner.testCase.testSteps['Home_Index.action - Request 1'].testRequest.response.contentAsString
log.info(teststep);



0 0
原创粉丝点击