How to collect SSL debugging information with DevTest?

book

Article ID: 117725

calendar_today

Updated On:

Products

Service Virtualization CA Application Test

Issue/Introduction

How to collect SSL debugging information with DevTest?

Environment

All Supported DevTest releases.

Resolution

1. 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://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/continuous-testing/devtest-solutions/10-5/using/using-application-test/using-devtest-workstation-with-application-test/running-test-cases-and-suites/http-and-ssl-debug-viewer.html


SSL Handshake Summary

https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/continuous-testing/devtest-solutions/10-5/using/using-application-test/using-devtest-workstation-with-application-test/running-test-cases-and-suites/ssl-handshake-summary.html


To start the HTTP/SSL Debug viewer,

. open the Workstation

. select the Help menu

. select HTTP/SSL Debug



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.


2. 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.

Attachments