Highlighted
Absent Member.
Absent Member.
257 views

TrueClient protocol and WebSocket logging

Hello!

 

I try to test Ajax application with TrueClient-Firefox protocol. The same application uses the WebSocket protocol and I wish to log its messages for debug.

 

I enabled all possible logs:   TC.setLogLevel("Extended",{ log_http : true, log_AUT: true, log_parameters: true});

it gives only WebSocket HTTP handshake in log but not the protocol messages.

 

Is it possible to log WebSocket messages in TrueClient solution?

 

Thank you!

0 Likes
1 Reply
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: TrueClient protocol and WebSocket logging

TruClient does not report WebSocket level communication to the log today and there is no workaround for that.

 

Moreover, knowning the overhead and complexity of reporting the HTTP data to the log we need a very good reason to add WebSocket data as well

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.