Not able to login to Salesforce application through JMeter

752 views Asked by At

Not able to login into Salesforce Application through JMeter.

Please help.

I am providing correct Username and Password but still not able to login successfully.

3

There are 3 answers

1
sunny_teo On

Please note that with username and password only it will not work. You need to correlate all the dynamic value which maintains the state of the application like sessionID, X-CSRF token etc. So, record two scripts and compare the dynamic parameters and then correlate them. For more information on correlation please check this. and correlation sales force.

2
Rahul On

Have you added HTTP Cookie Manager in your jmeter script? If not, can you add it and then give it another shot?

3
Mad Einsy On

A login HTTP Request will not work, you need to authenticate with network login by adding Port, proxy details and all. If that doesn't help then you can try "BlazeMeter" plugin, install this extension in Chrome browser and record your steps, it will then convert your inputs into a JMX file, there you can see which steps need to be added and modify accordingly. Hope it helps.