How to use REST library in Robot Framework?

finspin picture finspin · Oct 16, 2012 · Viewed 35.6k times · Source

Does anybody know how to use the REST Library for Robot Framework? The library is available here http://code.google.com/p/robotframework-restlibrary/source/browse/trunk/RestLibrary.py. It seems like there is no documentation available.

I tried something like this in Robot Framework but there is no response coming back from the request:

REST Test Case
    Get    https://maps.googleapis.com/maps/api/timezone/json?location=39.6034810,-119.6822510&timestamp=1331161200&sensor=true
    Response    test

Any ideas how to use this library?

Answer

janne picture janne · Oct 17, 2012

That library seems to be poorly documented. Perhaps you should take a look at https://github.com/bulkan/robotframework-requests, which seems to be documented and maintained.