In these cases, you can use third-party tools to simulate client and server systems, log communications so you can better analyze the problem.
When a problem occurs, there is always a question of whether the cause is on the client or the server. Often, these integrations between client and server devices are not easily obtainable.
It is a regular task for those who work with automation systems, SCADA, etc., to configure the data exchanges between the devices, using communication protocols.