TestProject Forum

Can I call REST API's within UI tests?

Our current Selenium tests also call end points / REST API’s for specific things is it possible to do the same using TestProject ?

Hello @amit1976,

Yes,
For API testing, you can use the “RESTful API Client” addon,
This Addon provides actions to send HTTP/S requests using GET, POST, PUT and DELETE methods. You can read more and find a lot of examples in this link: https://blog.testproject.io/2020/11/10/automating-end-to-end-api-testing-flows

https://app.testproject.io/#/addons/community
image

Documentation:
https://github.com/testproject-io/addons/tree/master/restful-api-client