- Johan
Michael Stover wrote:
Basically, no. You can't parameterize the names of functions. I'd think your best option would be to have multiple versions of a User Defined Variables element and swap them in and out of your tests.
-Mike
On Wed, 2004-04-14 at 07:04, Johan K�nng�rd wrote:
Hi
I have been using JMeter for a couple of weeks, and it really rocks!!
Is it possible to have nested variables, like ${host_${environment}}, so that i can have a "User Defined Variables"-element like this:
host_dev=my.devserver.internal.dns host_test=my.testserver.internal.dns host_prod=my.prodserver.dns enviroment=dev host=${host_${environment}}
or is there another way of acomplish this? Tried to search the archives, but I haven't found anyone with the same question.
The example above is very simple, but my setup is quite complex, since I am testing an HTTPS application in different environments, with different variables but the same "flow".
Off topic: Who Am I?
Johan K�nng�rd, works in Stockholm, Sweden, IBM/Lotus developer since 1997, knows things like Java, XML, XSL, CSS, JavaScript, LotusScript, VB.NET and C#. Among things I've created are Log4LS (http://log4ls.sourceforge.net), a LotusScript port of Log4J and my DominoAppender , NotesExceptionRenderer and DominoConfigurator to use with Log4J and Domino.
Thanks,
Johan K�nng�rd
[EMAIL PROTECTED]
http://dev.kanngard.net/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

