get response status关键字——获取http请求返回的状态码。
=======================================================
示例:获取百度搜索soapui返回的http状态码
create http context | www.baidu.com/ | scheme=https |
get |
/s?wd=soapui&pn=10&oq=soapui&tn=50000021_hao_pg&ie=utf-8&rsv_pq=cafd678c001751e0&rsv_t=836bNdioFKWZKH9HzbVe3xJ XW7k5xDPGDfjoemGfGlnvsKFVrJPInHcKYn%2Fz8kl%2FIz%2Fhit7V&srcqid=3 891848302898976690&rsv_page=1 |
|
${body} | get response status | |
log | ${body} |