I just have the "JSR223 postprocessor" in Jmeter with below script
var context_data = {"referralId":${referral_id}};
console.log(context_data);
const secret = CryptoJS.enc.Utf8.parse(JSON.stringify(context_data))
console.log(secret);
const encoded_referral_id = CryptoJS.enc.Base64.stringify(secret);
console.log(encoded_referral_id);
The above script I need to get "encoded_referral_id" value and need to pass another input request header section.
Can someone help me how can I get the "encoded_referral_id" and pass it to another subsequence API header.
