标签:oem 接口自动化 body hit === http状态码 status https log
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} |
robot framework——httplibrary.http接口自动化库 ——get response status关键字——获取http请求返回的状态码
标签:oem 接口自动化 body hit === http状态码 status https log
原文地址:https://www.cnblogs.com/xiaobaibailongma/p/12253610.html