RequestsLibrary - No keyword with name 'POST On Session' found

Viewed 1589

I'm getting "No keyword with name 'POST On Session' found." but I've already installed requests and requestslibrary. Can you advise?

*** Settings ***
Library               Collections
Library               RequestsLibrary

Suite Setup           Create Session    jsonplaceholder    http://128.199.203.18/api/v1

*** Test cases **
Login
    &{data} =    Create Dictionary    email=creditbpo2020@gmail.com    password=analiza123
    ${resp}=  POST On Session  jsonplaceholder     /login    json=${data}  expected_status=any
1 Answers

Run this command to install library

pip install --upgrade robotframework-requests

Then run your test again.

Related