TNeuschwanger
13 years agoCommunity Leader
How to get the content of "SSL Info" from Groovy
Hello,
I am trying to capture the content of the "SSL Info" tab from a successful SOAP service method response from an https endpoint. The response "SSL Info" tab contains text that I would like to capture from groovy. I can get the content of the "Headers" tab with the following code:
def methodName = "RealTimeTransaction";
def responseHeadersMap = context.testCase.testSteps[methodName].testRequest.response.responseHeaders;
Does anyone have an example to get the "SSL Info" tab content?
I tried:
def methodName = "RealTimeTransaction";
def responseSSLInfo = context.testCase.testSteps[methodName].testRequest.response.SSLInfo;
but that did not return what I see in the tab.
Regards
I am trying to capture the content of the "SSL Info" tab from a successful SOAP service method response from an https endpoint. The response "SSL Info" tab contains text that I would like to capture from groovy. I can get the content of the "Headers" tab with the following code:
def methodName = "RealTimeTransaction";
def responseHeadersMap = context.testCase.testSteps[methodName].testRequest.response.responseHeaders;
Does anyone have an example to get the "SSL Info" tab content?
I tried:
def methodName = "RealTimeTransaction";
def responseSSLInfo = context.testCase.testSteps[methodName].testRequest.response.SSLInfo;
but that did not return what I see in the tab.
Regards