Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
Here’s an outline with best practices for making your inquiry.
Just like Postman allows us to utilize environments, where we can set up Dev, QA, and Prod environments to streamline execution without manually updating URLs each time, how do we achieve similar handling of different environments (Dev/QA/Prod) within Github Actions or other CI/CD pipelines?
Details (like screenshots):
How I found the problem:
I’ve already tried:
I don’t know about Gihub actions, but you would usually have one “job” for each environment.
With pretty much the same settings, the only difference being the Newman command line having the corresponding environment.json
In our case using Azure DevOps, the environments will contain sensitive data, so they are stored in an Azure Keyvault and are retrieved as one of the first steps in the job pipeline. The environments are not stored in the code repository.
You might also tailor the Newman command line to ignore some folders (for example when running against production).
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.