We have several thousand APIs in various postman collection. Our customer wants to have them customized accordingly, towards E-2-E testing. The customer would like to use Playwright for functional and API testing, especially because of the good functionality in the framework.

Unfortunately, even with intensive search, we have not yet found a way to import directly from Postman-Collection into Playwright.

  • Have you possibly found a corresponding possibility?
  • Are there other possibilities?
  • Do you have an alternative?
  • I didnt find an easy way or a script to convert the postman test scripts to playwright scripts. Did anyone find a way?
    – Cerena
    Sep 21, 2023 at 12:46

2 Answers 2


For Playwright... there is no import tool that I know of. One option is to import Postman collections into ReadyAPI. It is not a perfect process, as some data will be missing and you will need to clean up the tests after importing. Another alternative is to keep your tests in Postman and use one of their test runners (Newman or Collection Runner).


Playwright doesn't have such functionality, but you can use Dave Farley's DSL architecture. This way, you can have the run scenarios, but with a dual behavior on the protocol drivers: One for UI, where you gonna use Playwright, and one for API, where you can run Postman using Newman.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.