Channel sniffer
The channel sniffer monitors the communication between the web client and the censhare Server.
Target groups
- Solution developers
- Solution administrators
Prerequisites
Permission to start the censhare Web developer mode.
Introduction
Click here to watch a demonstration ...
Usage
- To start the Channel sniffer open the developer menu in censhare Web and select Toggle channel sniffer.
- Open the web browser developer console.
- Execute any action in censhare Web.
Result
In the web browser developer console, you can see the messages injected by the channel sniffer (cs-channel-sniffer-service.ts) with the following information:
- Type: Request or response.
- Time stamp: The server timestamp of a request/response.
- Unique ID: Use to filter responses that belong to a certain request.
- Content: The message payload. Responses show the asset data that the censhare Server returned.
Additional options
Stacktrace display
At the bottom of the side navigation in censhare Web, enable the Stacktrace display option. If you now open a stacktrace of a certain request, you can see, which actions were executed in the application to create the request.
Click on an action to see the function that was triggered by this action.
Time profiling & size profiling
At the bottom of the side navigation in censhare Web, enable the Time profiling and the Size profiling options. The web browser developer console now shows additional messages for each request/response with the following information:
- Request/response number: The offset of a request action or response action.
- Transaction number: The offset of an action in the total count of requests/responses.
- Request/response size: The data size transmitted by an action and the aggregated data size at that point (including all previous request or response data).
New line after message
This option is a convenience to improve the readability of the debugging messages.