Hello,
We have a bunch of collections with internal API endpoints, which we want to use for regression testing and run at a scheduled interval. Postman’s cloud scheduler only works for publicly available endpoints.
So, I’ve been trying to integrate a Postman collection with my GitHub account, so that collections can be run at scheduled intervals using GitHub Actions.
This is successful with a personal Postman account and a personal GitHub account.
However, this is not possible with Github enterprise account.
Is there any documents available for setting up Github + Postman integration?
Hi @supply-cosmologist-8
.
Thank you for flagging this issue. I am following up with the team to provide you more details on what could be going on here.
However, a very good alternative that I will recommend will be to use the Postman CLI to run your collections on a Schedule with GitHub Actions.
You can follow this guide
to see how you can run a collection in your CI/CD Pipeline using the Postman CLI.
1 Like
Additionally @supply-cosmologist-8.
We have a new way to sync your collections directly with GitHub. You can read more about it here
1 Like
You can check out this docs, I have been using these. Let me know if it works for you.
- General GitHub Integration with Postman
This guide covers how to connect Postman with GitHub to sync collections, back up APIs, and collaborate.
Integrate GitHub with Postman | Postman Docs
- Backing Up Collections to GitHub (including Enterprise Server)
Postman Enterprise plans with the API Builder add-on support integration with GitHub Enterprise Server.
Back up your collections to GitHub | Postman Docs
- Connecting to On-Premises Git Repositories (GitHub Enterprise Server)
This explains connecting your API and collections to self-hosted GitHub Enterprise Server (requires Postman Enterprise plan + API Builder add-on).
Connect to an on-premises Git repository in the Postman API Builder | Postman Docs
- GitHub Actions Integration
For running scheduled regression tests, you would use GitHub Actions.
Integrate GitHub Actions with Postman
1 Like
Thank you, everyone, for your help. I’ll go through each one of them.
Thank you, Anjali. We don’t have GitHub actions enabled in our company.
Regards,
Suba.