首页 > 其他分享> > robot framework——httplibrary.http接口自动化库 ——get response header关键字——获取http请求返回的http响应头部信息
robot framework——httplibrary.http接口自动化库 ——get response header关键字——获取http请求返回的http响应头部信息
作者:互联网
虽然http的response header类型众多,但是并不是所有的请求都会返回每一种response header类型。
=================================================================================
示例:百度搜索soapui
create http context | www.baidu.com | scheme=https |
get |
/s?tn=50000021_hao_pg&ie=utf-8&sc=UWd1pgw-pA7EnHc1FMfqnHR3njRLnj04rj61nzuW5y99U1Dznzu9m1YYnWmLPjR 4rjnz&ssl_sample=normal&srcqid=3891848302898976690&H123Tmp=nune w7&word=soapui |
|
${header} | get response header | content-type |
log | ${header} |
标签:httplibrary,http,请求,get,header,soapui,response 来源: https://www.cnblogs.com/xiaobaibailongma/p/12253652.html