0

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.

rajpradeep32
  • 39
  • 1
  • 7

1 Answers1

0
  • log.info(something) will print the value of something to JMeter log file
  • vars.put('someVariable', something) will save something into someVariable so you will be able to refer it as ${someVariable} in the HTTP Header Manager (or where required)

More information:

Dmitri T
  • 159,985
  • 5
  • 83
  • 133