I am using Jsr223 sampler and performing a login activity.
Using log.info in Jsr223 sampler, I am able to print a cookie value in JMeter log viewer.
I want to capture that value again from logviewer and pass it as an header manager input to another request.
log.info(something)will print the value ofsomethingto JMeter log filevars.put('someVariable', something)will savesomethingintosomeVariableso you will be able to refer it as${someVariable}in the HTTP Header Manager (or where required)More information:
vars