This Go-based project processes traffic data recorded from end-to-end test cases generated by Keploy, extracting cURL commands from the traffic logs and converting them into a structured Postman collection. This tool allows developers and testers to quickly integrate tested endpoints into Postman for further API testing and interaction.
- Traffic Parsing: Parse Keploy-generated traffic logs to extract cURL commands.
- Postman Collection Generation: Convert the extracted cURL commands into a Postman collection format.
- Automation Support: Automate the process to run after test completion to update Postman collections continuously.
- Filtering Options: Include options to filter which requests are included based on various criteria (HTTP method, status code, endpoint, etc.).
Before you begin, ensure you have the following installed:
- Go (Version 1.15 or higher recommended)
Clone the repository:
git clone https://github.com/shivamsouravjha/goPost.git
cd goPost
To run this tool and convert traffic logs into a Postman collection, follow the steps below:
go build -o goPost . && sudo mv goPost /usr/local/bin/goPost
Use this binary whereever Keploy folder is stored
goPost