Using DevTest 9.5. First iteration is fetching proper success response from REST service, (GET method using one key in the URL).
For REST steps, you have to specify the keystore information in the local.properties file:
## ==============================================## Enable a client cert and password for SSL.## (Used by HTTP Live Invocation Step and Raw SOAP Step Execution -## also used by Web Service Step Execution if not overridden below)## ssl.client.cert.path = a full path to the keystore## ssl.client.cert.pass = password for the keystore (this password will be automatically encrypted when DevTest runs)## ssl.client.key.pass = optional password for the key entry if using JKS keystore and key has a different password## from keystore (this password is automatically encrypted when DevTest runs)## ssl.client.alias = optional alias to use if the keystore has more than one certificate## ==============================================#ssl.client.cert.path=#ssl.client.cert.pass=#ssl.client.key.pass=#ssl.client.alias=
Local Properties File - DevTest Solutions - 9.5 - CA Technologies Documentation
Hope this helps.
Please let us know which step you are using to trigger the request. Also if using REST step, please let us know if you are adding username and password fields while triggering or using a Authentication header parameter in the request.
Hi Surya, yes I am adding username and password while triggering the REST request. Also am using authentication header parameter in the request.
I have appended vmoptions file with below line:
No certificate used.
Please let me know where I am wrong and suggest the resolution.
Sorry for delay in reply
Can you respond to Surya's last response?
Where can we add the KEYSTORES? I could not see .Could you please guide me.
Just to add to Marcy's response, you will need to uncomment the properties below and specify a Java keystore path, password and alias with these 4 properties
ssl.client.cert.path= ssl.client.cert.pass= ssl.client.key.pass= ssl.client.alias=
Retrieving data ...