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

//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"

  

posted on 2015-07-17 17:21  张缤分  阅读(866)  评论(0编辑  收藏  举报

导航