Proxy HTTPLibrary.HTTP';s从Robot Framework获取对URL的调用超时

Proxy HTTPLibrary.HTTP';s从Robot Framework获取对URL的调用超时,proxy,get,robotframework,Proxy,Get,Robotframework,我正在使用HTTPLibrary.HTTP的GET调用从Robot框架获取URL。这会一直超时。我认为这是一个代理问题(我希望这能在我公司的内部网上实现)。有没有一种方法可以配置此呼叫的代理(公司内部网站可以正常打开)?或者其他我可以使用的图书馆? 代码: 谢谢, srivikas您可以尝试在自述文件中提供一个带有代理的示例。以下是摘录: ${proxies}= Create Dictionary http=http://acme.com:912 https=http://ac

我正在使用HTTPLibrary.HTTP的GET调用从Robot框架获取URL。这会一直超时。我认为这是一个代理问题(我希望这能在我公司的内部网上实现)。有没有一种方法可以配置此呼叫的代理(公司内部网站可以正常打开)?或者其他我可以使用的图书馆? 代码:

谢谢, srivikas

您可以尝试在自述文件中提供一个带有代理的示例。以下是摘录:

${proxies}=    Create Dictionary    http=http://acme.com:912    https=http://acme.com:913 |
Create Session    github    http://api.github.com    proxies=${proxies}
${resp}=    Get Request    google
Should Be Equal As Strings    ${resp.status_code}    200
${proxies}=    Create Dictionary    http=http://acme.com:912    https=http://acme.com:913 |
Create Session    github    http://api.github.com    proxies=${proxies}
${resp}=    Get Request    google
Should Be Equal As Strings    ${resp.status_code}    200