In at least one customer case, the script was being launched from the Nimsoft recorder.
The code used a method call:
varPass$ = nimGetEnv$("pswd","wrongPassword")
This code puts the value of the "pswd" environment variable specified on the e2e_appmon probe.
<Please see attached file for image>

The customer was launching the script from the "Nimrecorder".
Since it was not being launched from the probe, the environment variable was lost.
So, the call defaults to the second string passed to "nimGetEnv":
varPass$ = nimGetEnv$("pswd","wrongPassword")
The script must be run from the probe in order to resolve the environment variable using the "Start At Once".
For example:
<Please see attached file for image>