DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32345>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32345





------- Additional Comments From [EMAIL PROTECTED]  2004-12-17 08:28 -------
After debugging a bit I noticed that swapping two lines in
org.apache.jmeter.threads.TestCompiler.configureSampler(Sampler) solved the
problem for me.
When configureWithConfigElements(sampler, pack.getConfigs()); goes before
runPreProcessors(pack.getPreProcessors()); then the substitution is done 
correctly.
Excerpt from revision 1.42 with my change applied:
    public SamplePackage configureSampler(Sampler sampler)
    {
        //NOTREAD currentSampler = sampler;
        SamplePackage pack = (SamplePackage) samplerConfigMap.get(sampler);
        pack.setSampler(sampler);
        configureWithConfigElements(sampler, pack.getConfigs());
        runPreProcessors(pack.getPreProcessors());
        //replaceStatics(ret);
        return pack;
    }
I did not verify this change with the latest Nightly Build but with release 
2.0.2.

Regards,
Stefan

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to