You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by vamsi krishna tadikamalla <va...@gmail.com> on 2024/12/03 22:25:14 UTC
Getting access token using certificate with HTTP request step
Hi,
I am trying to achieve getting access token for HTTP request using a
certificate but didn't succeed. Please provide me with the proper
guidelines on how to do it.
Also, is there a way to get access tokens for HTTP requests using managed
identity?
Please advise.
Regards,
Veera.
Re: Getting access token using certificate with HTTP request step
Posted by Dmitri T <gl...@live.com>.
You need to:
1.
Add your certificate into a Java Keystore<https://www.sslmarket.com/ssl/how-to-work-with-certificates-in-java-keystore>
2.
Make JMeter aware of this Keystore using javax.net.ssl.keyStore and javax.net.ssl.keyStorePassword properties
Once done all outgoing HTTP requests will be signed using the certificate from the keystore.
Detailed instructions if needed: How to Set Your JMeter Load Test to Use Client Side Certificates<https://www.blazemeter.com/blog/client-side-performance-testing-using-jmeter>
[https://www.blazemeter.com/sites/default/files/styles/social_preview_image/public/image/2022-08/image-blz-blog-client-side-performance-testing-using-jmeter.jpg?itok=-Om88fpD]<https://www.blazemeter.com/blog/client-side-performance-testing-using-jmeter>
How to Set Your JMeter Load Test to Use Client Side Certificates | BlazeMeter by Perforce<https://www.blazemeter.com/blog/client-side-performance-testing-using-jmeter>
Learn about client-side performance testing using JMeter, which allows you to test an application's response for different clients using different platforms.
www.blazemeter.com
________________________________
From: vamsi krishna tadikamalla <va...@gmail.com>
Sent: Wednesday, December 4, 2024 1:25 AM
To: user@jmeter.apache.org <us...@jmeter.apache.org>
Subject: Getting access token using certificate with HTTP request step
Hi,
I am trying to achieve getting access token for HTTP request using a
certificate but didn't succeed. Please provide me with the proper
guidelines on how to do it.
Also, is there a way to get access tokens for HTTP requests using managed
identity?
Please advise.
Regards,
Veera.