码迷,mamicode.com
首页 > 其他好文 > 详细

[SoapUI] 在Test Step 下加Script Assertion,用 messageExchange 获取当前步骤的response content

时间:2015-07-17 18:33:24      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:

//Get response content of the current request
def response = messageExchange.getResponseContent()

//Check data
assert response.contains("uaL5ist"), "FAIL : Dependencies:Calculation Service, Time Series, Database, Setting Storage"

  

[SoapUI] 在Test Step 下加Script Assertion,用 messageExchange 获取当前步骤的response content

标签:

原文地址:http://www.cnblogs.com/MasterMonkInTemple/p/4655197.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!