Forum Discussion
I assume some request does not find its endpoint in the Environment configuration.
Is there anything more detailed in logs?
If you disable some suspicious test suites and check if you the tests are running well. This way you can isolate the test suite causing the error.
- tlubear3 years agoNew Contributor
Nothing more in the logs except the error. It is caused by the Test Suite that has the Groovy scripts to change the environment. If I disable that Test Suite, the project runs fine. Within that Test Suite, I just have the one Test Case and I can run each step successfully. But cannot run from the Test Suite or from the project if it's enabled. I've opened up a support ticket for this.
- KarelHusa3 years agoChampion Level 2
OK, if you wish to discuss this issue more in detail, please share the code of the Groovy script causing the error.
- tlubear3 years agoNew Contributor
This is the first one that switches the environment:
def env = context.testCase.testSuite.project.getEnvironmentByName("Fastlane TEST DetectRX");
context.testCase.testSuite.project.setActiveEnvironment(env)And then this is the step that switches it back:
def env = context.testCase.testSuite.project.getEnvironmentByName("DetectRx TEST");
context.testCase.testSuite.project.setActiveEnvironment(env)
Related Content
- 11 months ago
- 5 years ago
Recent Discussions
- 11 days ago