How to collect SSL debugging information with DevTest?

Document ID : KB000117725
Last Modified Date : 17/10/2018
Show Technical Document Details
Question:
How to collect SSL debugging information with DevTest?
Environment:
All Supported DevTest releases.
Answer:
In DevTest Workstation you can use the HTTP/SSL Debug Viewer feature to observe the details of HTTP and SSL activity, or you can use a java argument to enable SSL debugging and collect more information in the log files for a specific component.

The documentation for the HTTP/SSL Debug is available in the links below:
HTTP and SSL Debug Viewer
https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/running-test-cases-and-suites/http-and-ssl-debug-viewer

SSL Handshake Summary
https://docops.ca.com/devtest-solutions/10-1/en/using/using-ca-application-test/using-devtest-workstation-with-ca-application-test/running-test-cases-and-suites/ssl-handshake-summary

To start the HTTP/SSL Debug viewer,
. open the Workstation
. select the Help menu
. select HTTP/SSL Debug

User-added image

Execute the test step and the SSL handshake and/or HTTP information will show in the HTTP/SSL Debug viewer at the bottom of the Workstation.

If you already executed the step before opening the viewer, please close and reopen the test case before opening the HTTP/SSL Debug viewer.
It can happen that the SSL handshake is using cached information from the previous execution and will not show in the viewer.

To enable SSL debugging for one of the DevTest components, set the following property to the vmoptions file for the specific component.
Example, if we want to collect SSL debugging info for the VSE, add the property to the VirtualServiceEnvironmentService.vmoptions file:
-Djavax.net.debug=ssl

After modifying the vmoptions file, restart the component and run the test case or the virtual service.

The SSL debugging information will be printed in the component log file.