I am having an issue with an application, when am recording the flow in jmeter, username and password is coming in HTTP header manager in encoded format ("TWFuYWdlcjE6cGFzczEyMw=="), I tried to decrypt and parameterize the value by adding Authorization Manger which didn't resolve my issue.
__base64Encode() function does the opposite thing:
Check out How to Use the Custom JMeter Functions Plugin for more information on the above and other custom JMeter functions.
So in order to parameterize the credentials you could:
- Add HTTP Header Manager and configure it to send
Authorizationheader with the value of
pass123could be JMeter Variables
- Add HTTP Authorization Manager and provide base URL, and username and password in plain text - the Authorization Manager will automatically generate and add the proper
Authorization Headerto all HTTP Request samplers it its scope.