请大家先看看RequestsLibrary和接口测试官方用例这2个官方链接
RequestsLibrary 库接口测试用例:
*** Settings *** | ||||
Library | Collections | |||
Library | RequestsLibrary | |||
*** Test Cases *** | ||||
Get Requests | ||||
Create Session | github | http://api.github.com | ||
Create Session | http://www.google.com | |||
${resp}= | Get Request |