Referencing a Cookie within a Header in JMeter -
within jmeter, able generate cookie , called cookie_testapi. can see value assigned cookie in debug sampler , wish use in header http requests. have http header manager specified follows: name: authorization, value: blah ${cookie_testapi}.
but value of cookie not showing in http requests. getting authorization: blah ${cookie_testapi} , not referencing value of cookie. ideas on how can resolved?
make sure have global http cookie manager in test plan , have cookiemanager.save.cookies=true set in properties file. isn't default.
Comments
Post a Comment