Injecting a Environment Variable value into SOAtest via command line

Grigori TrofimovGrigori Trofimov Posts: 73 ✭✭

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

  • jakubiakjakubiak Posts: 517 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 TrofimovGrigori Trofimov Posts: 73 ✭✭

    thank you!

Sign In or Register to comment.