{"id":13776399,"url":"https://github.com/MarketSquare/robotframework-requests","last_synced_at":"2025-05-11T10:31:00.629Z","repository":{"id":1613175,"uuid":"2246709","full_name":"MarketSquare/robotframework-requests","owner":"MarketSquare","description":"Robot Framework keyword library wrapper for requests","archived":false,"fork":false,"pushed_at":"2024-11-07T00:22:29.000Z","size":1299,"stargazers_count":494,"open_issues_count":28,"forks_count":283,"subscribers_count":47,"default_branch":"master","last_synced_at":"2025-05-04T17:01:52.409Z","etag":null,"topics":["python","requests","robot-framework","robotframework-requests"],"latest_commit_sha":null,"homepage":"http://marketsquare.github.io/robotframework-requests/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MarketSquare.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-08-22T04:49:19.000Z","updated_at":"2025-04-06T01:46:46.000Z","dependencies_parsed_at":"2024-01-15T01:03:33.541Z","dependency_job_id":"ec6ee11d-dc51-4694-87fe-98bc29b9d3d4","html_url":"https://github.com/MarketSquare/robotframework-requests","commit_stats":{"total_commits":573,"total_committers":67,"mean_commits":8.552238805970148,"dds":"0.49389179755671897","last_synced_commit":"233ff7cd2607344c08ee3649920a8083e36a835d"},"previous_names":["bulkan/robotframework-requests"],"tags_count":45,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-requests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-requests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-requests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarketSquare%2Frobotframework-requests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarketSquare","download_url":"https://codeload.github.com/MarketSquare/robotframework-requests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253551540,"owners_count":21926313,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","requests","robot-framework","robotframework-requests"],"created_at":"2024-08-03T18:00:24.791Z","updated_at":"2025-05-11T10:30:59.873Z","avatar_url":"https://github.com/MarketSquare.png","language":"Python","readme":"[![Python build](https://github.com/MarketSquare/robotframework-requests/actions/workflows/pythonapp.yml/badge.svg)](https://github.com/MarketSquare/robotframework-requests/actions/workflows/pythonapp.yml)\n[![codecov](https://codecov.io/gh/MarketSquare/robotframework-requests/branch/master/graph/badge.svg)](https://codecov.io/gh/MarketSquare/robotframework-requests)\n[![PyPi downloads](https://img.shields.io/pypi/dm/robotframework-requests)](https://pypi.python.org/pypi/robotframework-requests)\n[![Latest Version](https://img.shields.io/pypi/v/robotframework-requests)](https://pypi.python.org/pypi/robotframework-requests)\n\n🏠 ``RequestsLibrary`` is a [Robot Framework](https://robotframework.org/) library\naimed to provide HTTP api testing functionalities by wrapping the well\nknown [Python Requests Library](https://github.com/kennethreitz/requests).\n\n## Install old version 0.9 (supports python 2.7+)\n\n```sh\npip install robotframework-requests\n```\n\n## Install pre-release version 1.0a (supports python 3.8+)\n\n```sh\npip install robotframework-requests --pre\n```\n\n## 🤖 Quick start\n\n```robotframework\n*** Settings ***\nLibrary               RequestsLibrary\n\n*** Test Cases ***\n\nQuick Get Request Test\n    ${response}=    GET  https://www.google.com\n\nQuick Get Request With Parameters Test\n    ${response}=    GET  https://www.google.com/search  params=query=ciao  expected_status=200\n\nQuick Get A JSON Body Test\n    ${response}=    GET  https://jsonplaceholder.typicode.com/posts/1\n    Should Be Equal As Strings    1  ${response.json()}[id]\n```\n\n### What's new in 0.9\n\nSessionless keywords are now available, you can just `GET`, `POST`, etc.. no need to create a session anymore!\n\n```robotframework\n${resp}=  GET  https://www.google.com\n```\n\n`Status Should Be` and `Request Should Be Successfull` can use the last response, no need to pass the response anymore!\n\n```robotframework\nGET  https://www.google.com\nStatus Should Be  200\n```\n\n### What's new in 0.8\n\n**New keywords structure:**\nAll requests keywords have been rewritten because of many not backward compatible changes\nand to allow in the near future requests keywords without a session.\nExample `Get Request` become `GET On Session` and soon there will be also just `GET`\nwhen a session is not needed.\nOld keywords `* Request` are now deprecated and will be removed in 1.0.0 version.\n\n**Implicit assert on status code:**\n`* On Session` keywords automatically fail if an error status code is returned.\n`expect_status=` could be used to specify a status code (`201`, `OK`, `Bad request`)\nor `any` if you want to evaluate the response in any case.\n\n**Closer to the original Requests library:**\nNew keywords have the same parameter orders and structure as the original.\nLot of pre-parsing / encoding has been removed to have a more accurate and unchanged behaviour.\n\n**Cleaner project architecture:**\nMain keywords file has been split with a more logic division to allow better and faster maintenance.\n\n## 🤖 More examples\n\n```robotframework\n*** Settings ***                                                                                       \nLibrary    Collections                                                                                 \nLibrary    RequestsLibrary                                                                             \n                                                                                                       \nSuite Setup    Create Session  jsonplaceholder  https://jsonplaceholder.typicode.com                   \n                                                                                                       \n*** Test Cases ***                                                                                     \n                                                                                                       \nGet Request Test                                                                                       \n    Create Session    google  http://www.google.com                                                    \n                                                                                                       \n    ${resp_google}=   GET On Session  google  /  expected_status=200                                   \n    ${resp_json}=     GET On Session  jsonplaceholder  /posts/1                                        \n                                                                                                       \n    Should Be Equal As Strings          ${resp_google.reason}  OK                                      \n    Dictionary Should Contain Value     ${resp_json.json()}  sunt aut facere repellat provident        \n                                                                                                       \nPost Request Test                                                                                      \n    \u0026{data}=    Create dictionary  title=Robotframework requests  body=This is a test!  userId=1       \n    ${resp}=    POST On Session    jsonplaceholder  /posts  json=${data}  expected_status=anything     \n                                                                                                       \n    Status Should Be                 201  ${resp}                                                      \n```\n\n### 📖 Keywords documentation\n\nRobotframework-requests offers a wide set of keywords which can be found in\nthe [Keywords documentation](http://marketsquare.github.io/robotframework-requests/doc/RequestsLibrary.html)\n\n### 🔬 Test examples\n\nYou can find many test examples inside the `atests` folder.\n\n## 🤝 Contributing ✍️\n\nFeel free to contribute and open an issue in order to discuss it. Before doing it take a look at\nthe [contribution guidelines](CONTRIBUTING.md).\n\n📢 Get in touch with the community via slack and Users group\n\n- [Robot Framework Slack #requests channel](https://robotframework-slack-invite.herokuapp.com/)\n- [Robot Framework Users Group](https://groups.google.com/forum/#!forum/robotframework-users)\n\n","funding_links":[],"categories":["Libraries"],"sub_categories":["Messaging/Communication"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarketSquare%2Frobotframework-requests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMarketSquare%2Frobotframework-requests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarketSquare%2Frobotframework-requests/lists"}