Deepak S
Deepak S

Reputation: 9

How to Encrypt the Password Parameter in login screen in JMeter

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

Answers (2)

Andrei Paduraru
Andrei Paduraru

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

Dmitri T
Dmitri T

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

JMeter Plugins Manager Custom Functions

If your encryption is more "exotic" you can use JSR223 PreProcessor and commons-codec library methods.

Upvotes: 0

Related Questions