jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Frank ...@mpexnet.de>
Subject Weird BeanShell PostProcessor effect
Date Wed, 04 Aug 2010 12:42:09 GMT
Hi,

I need to determine the remote host name using BeanShell before the
first sampler is executed. A HTTPRequestDefaults element sets the server
name to ${TARGET}, while a BeanShellPreProcessor performs
vars.put("TARGET","...").
This works, but during the first loop through the test plan, the
HTTPRequestDefaults set the host name to a literal ${TARGET}.

That, in and of itself, would be understandable. It gets weird once I
insert a Debug Sampler though, because then, it suddenly works even
during the first pass.

What's wrong here and can I make this work after all?

Cheers,
Felix

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org


Mime
View raw message