Port Test

Description

The Port Test can be used to check socket connections to a target host.

Parameters

Attribute

Description

Format

Required

id

Test name / ID

String

No

description

Test Description

String

No

hostname

Target IP/Hostname to perform port test.

String

Yes

ports

Port numbers/range to test. Can test multiple ports by separating each port with comma for single port tests or semicolon for ranges. e.g 80,8000-9000

String

Yes

timeout

Timeout when performing test. Defaults to 3 seconds. Reduce this value to speed up multiple port tests.

Integer

No

Examples

Test port 5222 on talk.google.com

<PortTest description="Test Google Talk" hostname="talk.google.com" ports="5222" />

Test port 80 and ports 8080 to 9000 on app.cluster.com

<PortTest description="Test Application Cluster" hostname="app.cluster.com" ports="80,8080:9000" />