I have problem with RequestsLibrary in Azure pipeline. When I try to run following test case, it fails because of error “Keyword ‘RequestsLibrary.Status Should Be’ expected 2 to 3 arguments, got 1.”
While this error doesn’t occur on my local machine and it passes.
*** Settings ***
Library RequestsLibrary
*** Test Cases ***
API status
Create Session session1 https://link.com/
GET On Session session1 /api/v1/healthCheck
Status Should Be 200
I also tried to run this in different way:
${resp}= GET On Session session1 /api/v1/healthCheck
Status Should Be 200 ${resp}
But it fails with error: InvalidResponse: None