You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jmeter.apache.org by "ibingdian (via GitHub)" <gi...@apache.org> on 2023/12/21 06:46:22 UTC

[I] In some cases,info level is ok ,debug lever is wrong [jmeter]

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: dev-unsubscribe@jmeter.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] use customize function, In some cases,info level is ok ,debug lever is wrong [jmeter]

Posted by "vlsi (via GitHub)" <gi...@apache.org>.
vlsi commented on issue #6198:
URL: https://github.com/apache/jmeter/issues/6198#issuecomment-1869054711

   This has been fixed in 5.6+, as function caching was disabled in https://github.com/apache/jmeter/pull/5788


-- 
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: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] use customize function, In some cases,info level is ok ,debug lever is wrong [jmeter]

Posted by "vlsi (via GitHub)" <gi...@apache.org>.
vlsi closed issue #6198:  use customize function, In some cases,info level is ok ,debug lever is wrong
URL: https://github.com/apache/jmeter/issues/6198


-- 
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: dev-unsubscribe@jmeter.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org