Method and system for a debugging utility based on a TCP tunnel
View Patent ↗A software development and debugging tool is based upon a TCP (Transport Control Protocol) tunnel. The TCP tunnel operates independently without a requirement of pre-configuring a client application or a server application to interoperate with the TCP-tunnel-based debugging utility. Various content-related tests can be performed by modifying the client-generated request messages at the TCP tunnel. Various timing-related tests can be performed by delaying the client-generated requests and/or server-generated responses at the TCP tunnel.
1. A method for monitoring network messages from an application, the method comprising:
receiving a message at a TCP (Transport Control Protocol) tunnel, the message comprising a request message that is received from a client and forwarded to a server and a response message that is received from a server and forwarded to a client;
delaying the message at the TCP tunnel for a time period;
forwarding the message from the TCP tunnel in response to passage of the time period;
modifying the request message at the TCP tunnel in accordance with user-configurable filtering rules;
forwarding the modified request message from the TCP tunnel to a server;
determining the time period based upon user-configurable parameters and a history of delay operations on previous request messages such that delays vary over time; and,
determining a modification based on a history of modification operations on previous request messages such that modifications vary over time.