CSTestSession Object


Description:

Gives information on a test session on a Spirent TestCenter LS. You create this object on the LS with CSTestSessionConnectCommand.

This command is available only when the client is connected to a Spirent TestCenter LS (use CSServerConnectCommand).

Parents: CSServer

Children: CSProcessStats

CSTestSession Writable Attributes

Attribute Description
Common Writable Attributes Active, Name

CSTestSession Read-Only Attributes

Read-Only Attribute Description
AllowTelemetry

Allow Telemetry.

Type: string

Default: "" (empty string)

DetailStatus

Detailed status of the test session.

Type: string

Default: "" (empty string)

Host

The IP address of the Spirent TestCenter LS.

Type: string

Default: "" (empty string)

MappedBindPort

Server mapped Bind Port

Type: u32

Default: 40008

OwnerId

The user ID of the user who created this test session.

Type: string

Default: "" (empty string)

Port

The port used by this test session to communicate to the client.

Type: u32

Default: 40008

ProcessId

The process ID of the test session process.

Type: s32

Default: 0

SessionDirectory

The directory on the Spirent TestCenter LS where files generated by this test session are written.

Type: string

Default: "" (empty string)

TestSessionState

The state of the test session.

Type: enum

Default: NONE

Possible Values:

Value Description
NONE

None.

STARTING

Starting.

SEQUENCER_IDLE

Sequencer is idle.

SEQUENCER_RUNNING

Sequencer is running.

TERMINATING

Test process is terminating.

TERMINATED

Test process has terminated.

UNKNOWN_ERROR

Unknown or internal error.

Version

The version of Spirent TestCenter being used.

Type: string

Default: "" (empty string)