Prevent Test step if running in CTP

goofy78270goofy78270 Posts: 121

Unsure if this best fits under SOATest or CTP, but here it goes.

We have some test which hit endpoints that are behind a different DMZ, which the CTP server is not a part of. I was wondering if there was a way, to set a test suite variable or such, to capture the IP, ServerName, or ... that can be used to distinguish a test running locally versus through CTP.

Currently, these steps are failing because the CTP does not have access to the endpoint location. We are looking to get the CTP server whitelisted, but as an exercise, and future reference, we would like to be able to prevent some things from running in CTP, in situations like this, or any other reason.


  • Matt LoveMatt Love Posts: 55 admin

    One strategy to handle different endpoints when running the test from CTP is to define a separate variable set. From within CTP it will look like this.

    Select the desired variable set when executing the test or adding it to a job in CTP.

Sign In or Register to comment.