List Icon
Archiv Mailingliste

2019 bis Juli 2022  2018  | 2017 2016 2015 | 2014 | 2013

Die Mailingliste ist seit Juli 2022 geschlossen, dient aber weiterhin als Informationsarchiv zu QF-Test.
Wenn Sie über Neuerungen zu QF-Test informiert bleiben wollen, können Sie einfach unseren Newsletter abonnieren:
Newsletter abonnieren


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] How to SET an environment variable in QF-Test procedure that is visible to the SUT?


  • Subject: Re: [QF-Test] How to SET an environment variable in QF-Test procedure that is visible to the SUT?
  • From: Matthias Scholz <scholz@?.com>
  • Date: Thu, 27 Oct 2016 15:17:24 +0200

Hallo Greg,

Thanks for the response.
Switching over from a system property to an environment variable worked
for me indeed.

Best,
  MP



On 10/13/2016 08:16 AM, Gregor Schmid wrote:
Hello Matthias,

[...]


If the SUT reads environment variables with java.lang.System.getenv(),
you can set them before SUT start in a Server script with

rc.setProperty('env',"propertyname", "propertyvalue")

- as you mentioned.