Quantcast

How to add keystore (Signature) in soap call

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to add keystore (Signature) in soap call

bharathirajact
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hi -
I am using JMeter 3.1 version, I have created "Test Plan" and created a "Thread Group" then add the HTTP Request then add the "Keystore Configuration", "SOAP Message Signer" and "HTTP Header Manager". But still am request was not signed. Am getting an Response code: 500 Response message: Internal Server Error.

Also, I have tried to create SOAP/XML-RPC Request Test plan, getting same error in this way as well.

Test plan

Thanks a lot in advance!
Bharathi
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to add keystore (Signature) in soap call

bharathirajact
This post has NOT been accepted by the mailing list yet.
Guys, any help here?
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to add keystore (Signature) in soap call

glinius@live.com
This post has NOT been accepted by the mailing list yet.
In reply to this post by bharathirajact
If you need to encrypt your HTTP Request you basically need to add the next lines to system.properties file (located in JMeter's "bin" folder)

javax.net.ssl.keyStoreType=pkcs12  or jks  
javax.net.ssl.keyStore=/path/to/your/keystore or .p12 certificate
javax.net.ssl.keyStorePassword=your certificate or keystore password
NB: JMeter restart will be required to pick the properties up.

See Building a SOAP WebService Test Plan article for SOAP web services testing concept and How to Set Your JMeter Load Test to Use Client Side Certificates  for encrypting your outgoing HTTP Requests.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to add keystore (Signature) in soap call

bharathirajact
This post has NOT been accepted by the mailing list yet.
Hi -

I have already added below lines in system.properties.
javax.net.ssl.keyStoreType=pkcs12  or jks  
javax.net.ssl.keyStore=/path/to/your/keystore or .p12 certificate
javax.net.ssl.keyStorePassword=your certificate or keystore password

but still am facing same issue, my request was not authorized by gateway.

Any other things i need to check?

Thanks!
Bharathiraja S
Loading...