How to get Active Environment Name in Extension Tool in Parasoft SOAtest

I want to pass active Environment name into my custom report. Wanted to know how to get the active environment name using Java


  • jakubiakjakubiak Posts: 404 admin

    There is no API to get the active environment name. But you could solve it a different way. You could add a new environment variable that has the same value as the name of the environment. Then you can use the scripting API com.parasoft.api.ScriptingContext.getEnvironmentVariableValue(String name) to get the value of the variable - which will get the value for the variable in the currently active environment.

Sign In or Register to comment.