Submit and vote on feature ideas.

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.

Injecting a Environment Variable value into SOAtest via command line

Grigori Trofimov
Grigori Trofimov Posts: 83 ✭✭

Hello,

Is it possible to access/modify an environment variable on the fly during execution through CLI?

In soatestcli there is an -environment flag, which allows users to set 'Environments.'
There is also an option to point to a -environmentConfig.

Both of these methods, however, do not allow for injection of dynamic values into the environment.

somethings along the lines of:
-setEnvironment.{environment}.{value}=foo

Comments

  • jakubiak
    jakubiak Posts: 795 admin

    SOAtest allows you to control entire environments from CLI - either by specifying the name of a previously-defined environment that should be used (-environment), or by injecting an environment dynamically on the fly (-environmentConfig). There is no way to choose a predefined-environment but dynamically override a single variable from CLI.

  • Grigori Trofimov
    Grigori Trofimov Posts: 83 ✭✭

    thank you!