New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API testing #4288
Comments
I would recommended looking at cypress.io. They did a great job with http requests. |
Just a note – when designing this feature remember about OAuth and auth via bearer tokens. Cookies are not enough sometimes. For direct communication with our μ–services API from within TestCafe scripts we now use Axios with Axios-OAuth interceptor. If the TestCafe's API testing feature would enable similar flexibility, it'd be awesome! Keeping fingers crossed. :) |
Example of Karate, another API testing tool: |
Like @devdelpiero said, cypress is the main competitor. I had to implement my own helper functions using request-promise module, but it would be really nice if testcafe can provide some built-in support on this! |
Any hopes for API Testing (Roadmap) TestCafe Feature? |
@Channa-proxima |
Frisby.js is another option that is promise based and widely used: https://github.com/vlucas/frisby (I am the author) |
🚀 Happy to announce that TestCafe 1.20.0 release offers the |
The feature should allow to send an HTTP request and check the response details.
See these tools for more information:
There is a separate proposal for
t.request
action - #2397Notes:
Playwright 1.16 API testing: https://playwright.dev/docs/test-api-testing
The text was updated successfully, but these errors were encountered: