List Icon
Archive de la liste de diffusion

La liste de diffusion est fermée depuis juillet 2022, mais sert toujours d'archive d'informations sur QF-Test.
Cependant, si vous souhaitez rester informé des nouveautés concernant QF-Test, vous pouvez simplement vous abonner à la newsletter :
abonner à la newsletter 


[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.