A simple tool that allows you to record communication between your application and any TCP server. Iteractions can be saved to a file and played back, creating a mock version of that TCP server.
Use com.inovarie.tcpmock.Main class to execute following functions:
NAME
record - Starts server and record communication.
SYNOPSYS
record [--server-port] int [--client-address] string [--client-port] int [--file-name] string
OPTIONS
--server-port int
[Mandatory]
--client-address string
[Mandatory]
--client-port int
[Mandatory]
--file-name string
[Mandatory]
[must not be empty]
NAME
playback - Starts server and replay specified communication file.
SYNOPSYS
playback [--server-port] int [--file-name] string
OPTIONS
--server-port int
[Mandatory]
--file-name string
[Mandatory]
[must not be empty]
[File must be in classpath]