ibingdian opened a new issue, #6198:
URL: https://github.com/apache/jmeter/issues/6198
### Expected behavior
_No response_
### Actual behavior
_No response_
### Steps to reproduce the problem
1、customize a function,for example,the function`s referenceKey is __GV;
2、in a sample`s HeaderManager use __GV as Header value,for
example,token=${__GV(result)},token is Header key,${__GV(result)} is Header
value;
3、result is set in PreProcessor
then ,info level is ok ,debug lever is wrong。
i guess
org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase#setHeaderManager go
wrong, it should not print header value as blow:
log.debug(" " + lValue.getHeader(i).getName() + "=" +
lValue.getHeader(i).getValue());
your JMeterThread#executeSamplePackage will invoke
HTTPSamplerBase#setHeaderManager before PreProcessor 。
### JMeter Version
5.5
### Java Version
8
### OS Version
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]