Hi All, I'm having a bit of trouble logging a specific HTTP header for each sampler & subResult to the JMeter results log. This value of this field can change even within the resources in a page.
I am aware of the sample_variables property (and use it regularly) however from what I could work out from the source, it uses the same value for a sampleResult and all it's subResults - there is only one sampleEvent. I can easily extract the value required and can print it out from a JS223 Post-processor/Listener etc, but I can't figure out where I can store the value so it is picked up by the logging code. I had thought of using another field such as the AssertionMessage but that will get overwritten if there is an actual assertion on a particular step. For reference I am using the "-l, --logfile <argument>" command line argument to configure the results logging. Cheers, Owen
