Forum Discussion

sarya's avatar
sarya
Frequent Contributor
15 years ago

How to retrieve basic authorization login information from load test requests

When I recorded a load test for basic authorization login ,the request header contain an extra field as authorization with value as "Basic dm1xYTNcTG9hZDI6cGFzc3dvcmQ=" .I guess I can retrieve the username and password info from this string. Please tell me how to retrieve the username and password variables' value from this encrypted string in javascript code. How to create  an event handler to retrieve the value.



Thanks.



1 Reply