Seven years ago, I started using Charles while testing mobile applications to intercept network traffic coming from the app to understand how it works and to be able to classify any detected bugs to frontend or backend.
I was also responsible for API testing using Postman, and I frequently created API collections for the entire team to streamline their workflow. I dreamed of a tool that could automatically convert intercepted requests from Charles into Postman collections. Unfortunately, I couldn’t find one then.
Today, I’m happy to announce the launch of a tool that brings this dream to life: Charles to Postman Converter for beta testing 🎉 🚀
How it works?
1. Getting Your .chlsj File from Charles Proxy
- Right-click on the URL of the API you want.
- Click “Export Session”.
- Select JSON Session File(.chlsj) or JSON Summary File(.chlsj) in the file save prompt.
- Save the file on your machine.
2. Upload your .chlsj file and convert it to a Postman collection
- Navigate to Charles to Postman URL on your browser.
- Click “Choose File” in the file picker and select your file.
- Click the “Convert” button and wait for your file to be converted.
- Click the “Download your Postman collection” button to save your converted file.
3. Import your converted file to Postman
- Open Postman application.
- Click on the import button.
- Choose your converted file.
- Enjoy playing with your API collection … Happy Testing! 🐞 🚀
The tool is accessible at this URL https://charles-to-postman.vercel.app
Top comments (2)
I really appreciate your insights on API testing. Since you mentioned Postman, I'd like to recommend EchoAPI. One standout feature is its ability to easily import Postman projects, with full compatibility with Postman’s scripting syntax. This ensures a seamless transition with no migration costs, allowing existing Postman users to move to EchoAPI without recreating their test cases and scripts.
Thank you for the recommendation, will give it a look.