Forum Discussion

mu123's avatar
mu123
Occasional Contributor
2 years ago

Setting ReadyAPI active environment from GitLab CI/CD pipeline

Our regression test suite runs daily against the environment env1. Occasionally we need to run the test suite against the environment env2.  As of now we modify the environment in ReadyAPI and commit the code to the GitLab master branch. This modified code will be run during the daily CI/CD pipeline schedule. Once completed, we again modify the environment in ReadyAPI and commit the code. I was wondering if there is any way to pass the active environment from GitLab to ReadyAPI. This will avoid modifying the code every time we need to run the test against a different environment.

4 Replies