获得响应 header 机器人框架
get response header robot framework
我正在尝试获取机器人框架中名为 com.coradiant.appvis 的响应 header
没有可以提供帮助的资源,这是我的代码
*** Settings ***
Library HttpLibrary.HTTP
Test Setup Create HTTP Context ${HOST}
*** Variables ***
${PORT} 80
${HOST} http://vw-tlv-idnqa31${PORT}/EventsApps/EventsApps/WebForm.aspx
${APPVIS_HEADER}
*** Test Cases ***
Checking Appvis test
Get the appvis response header
*** Keywords ***
Get the appvis response header
${APPVIS_HEADER} = get response header com.coradiant.appvis
Log ${APPVIS_HEADER}
您必须提出请求才能获得 header。您可以使用 GET 关键字来发出请求,假设您需要 headers 用于 GET 请求。
我正在尝试获取机器人框架中名为 com.coradiant.appvis 的响应 header 没有可以提供帮助的资源,这是我的代码
*** Settings ***
Library HttpLibrary.HTTP
Test Setup Create HTTP Context ${HOST}
*** Variables ***
${PORT} 80
${HOST} http://vw-tlv-idnqa31${PORT}/EventsApps/EventsApps/WebForm.aspx
${APPVIS_HEADER}
*** Test Cases ***
Checking Appvis test
Get the appvis response header
*** Keywords ***
Get the appvis response header
${APPVIS_HEADER} = get response header com.coradiant.appvis
Log ${APPVIS_HEADER}
您必须提出请求才能获得 header。您可以使用 GET 关键字来发出请求,假设您需要 headers 用于 GET 请求。