Skip to content
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 response mocking using playwright for API automation #70

Open
mjain892 opened this issue Sep 26, 2023 · 0 comments
Open

API response mocking using playwright for API automation #70

mjain892 opened this issue Sep 26, 2023 · 0 comments

Comments

@mjain892
Copy link

How can we mock API response for API automation, not through UI.

https://playwright.dev/docs/mock works good with UI integration where we use fixture page.route but how can we read the response and pass it as input to the other API, for API testing where we have 3rd API integrations.

@mjain892 mjain892 changed the title API mocking response using playwright API response mocking using playwright for API automation Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant