Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

How to access SOAtest Environment variable?

LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited February 2017 in SOAtest
from Extension tool
How would one access defined variables in the Environments feature from within the Extension tool?

I don't see anything that addresses this defined in the Scripting API...

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Hello,

    You can use
    context.getEnvironmentVariableValue("VARIABLE_NAME")
    to access Environment variables from a method tool.


    ~Joe