ROBOT Framework- API POST-即使响应成功,Response.content也显示为空

时间:2019-02-26 09:44:52

标签: robotframework

问题:- ROBOT Framework- API POST-即使响应成功,Response.content也显示为空

Create Session    test_session    ${baseurllosexternal}    verify=true
&{headers}=    Create Dictionary    Authentication-Token=123-123-123    Content-Type=application/json
${checkpostdata}=    Parse Json    ${Ratesearchpost_v1}
    Log To Console    ${checkpostdata}    
${Response}=    Post Request    test_session    ${RateSearch}     data=${checkpostdata}    headers=${headers}
${responseString}    Set Variable    ${response.content}

已使用的库RequestsLibrary。

0 个答案:

没有答案
相关问题