Reputation: 9
I Have created a Jmeter Script and I'm trying to login to the application.
When I try to run the script I'm getting invalid credentials
in the response.
The Password is encrypted in the Website which I'm trying to run.
The Password which i'm trying to pass is not been encrypted when seen in Response window.
Can someone suggest how to take Encrypted value from Password in Jmeter?
Upvotes: 0
Views: 10938
Reputation: 31
Just ran into a similar problem myself: I needed to do some test queries directly on a MySQL database and the passwords were encrypted.
You can include an external Java library for handling encryption in your project, find details on how to do that on this other thread: JMeter with Custom Java Code
In my case, I used jBCrypt.
Upvotes: 0
Reputation: 168002
Depending on encryption algorithm you can use i.e.
Both functions are available via JMeter Plugins project and can be installed using JMeter Plugins Manager
If your encryption is more "exotic" you can use JSR223 PreProcessor and commons-codec library methods.
Upvotes: 0