Not that I know of, because Java does not give access to environment variables. [But it's possible that JavaScript gives access.]
One can easily edit the script that starts JMeter to pass in the value of an environment variable as a property. e.g. on Windows: java ... -jar ApacheJMeter.jar -Dmyprop=%ENVVAR% or *nix java ... -jar ApacheJMeter.jar -Dmyprop=$ENVVAR The property can then be read using the __property() function. S. ----- Original Message ----- From: <[EMAIL PROTECTED]> To: "JMeter Users List" <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 8:18 PM Subject: Getting a string from an environment variable? Is there a way to get an environment variable with in jmeter as a script is executing? I don't mean a variable in the jmeter properties file. Is there a javascript I can use, or something else. Thanks, Chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

