Sahi Pro Rest API
Test Rest APIs from the Editor: build an API call, check its response and save it as a test step.
Most applications depend on services behind Rest APIs, and checking the screen alone doesn’t show whether those calls work. The Rest Client, a window in the Editor, lets you build an API call, send it and check the response, then save it as a step in a keyword, with checks on the response and values that later steps can use. Rest API steps run with the rest of the scenario, and their results appear in Reports.
Features
Section titled “Features”- Requests with the methods
GET,POST,PUT,DELETE,PATCHandQUERY, with parameters, headers and a JSON, XML, form-urlencoded or plain-text body. - Authorization with Basic credentials, OAuth 1.0 or OAuth 2.0. The OAuth 2.0 wizard can get a token by running or recording a consent script, or from a refresh token.
- Import and history. Import requests from Postman or from a HAR file, and reuse previous requests from History.
- Responses. See the status, response time, size, body (as a tree, raw or rendered HTML) and headers of each response.
- Assertions and variables. Hover over any value in a response to assert it, with eight checks such as Equals, Contains Text and Matches Regex, or to store it in a variable for later steps.
- Results in reports. Assertion results, Passed or Failed, in the Inspector and in PDF and Excel reports.

