[SoapUI] 在Test Step 下加Script Assertion,用 messageExchange 获取当前步骤的response content...
生活随笔
收集整理的這篇文章主要介紹了
[SoapUI] 在Test Step 下加Script Assertion,用 messageExchange 获取当前步骤的response content...
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
//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"
轉(zhuǎn)載于:https://www.cnblogs.com/MasterMonkInTemple/p/4655197.html
總結(jié)
以上是生活随笔為你收集整理的[SoapUI] 在Test Step 下加Script Assertion,用 messageExchange 获取当前步骤的response content...的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: [00004]-[2015-07-16]
- 下一篇: html from嵌套from