Skip to content

A simple tool to create a mock version of a TCP server.

License

Notifications You must be signed in to change notification settings

mpmartins/tcpmock

Repository files navigation

contributions welcome Build Status codecov HitCount

tcpmock

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.

User Manual

Use com.inovarie.tcpmock.Main class to execute following functions:

RECORDING

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]

PLAYBACK

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]

About

A simple tool to create a mock version of a TCP server.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages