Contains HTTP result counters.
More...
Contains HTTP result counters.
You can refresh the counters by calling the Layer5.Http.ResultSnapshot::Refresh method.
Definition at line 15987 of file api.tcl.
Layer5.Http.ResultSnapshot::AverageDataSpeed.Get |
Rate in bytes per seconds of the data transferred.
Depending on the HTTP method or if the parent of this object is an HTTPServer or HTTPClient, the rate of the traffic sent or received will be returned
- Returns
- Rate in bytes per second
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result AverageDataSpeed.Get
Returns:
949021919
Definition at line 16002 of file api.tcl.
Layer5.Http.ResultSnapshot::Interval.Duration.Get |
Returns the duration (in nanoseconds) between snapshot objects.
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Interval.Duration.Get
Returns:
1000000000
Definition at line 16018 of file api.tcl.
Layer5.Http.ResultSnapshot::Refresh |
Updates the snapshot with the most recent results from the ByteBlower server.
- Example
1 set result [ $httpClientSessionInfo Result.Get]
Definition at line 16066 of file api.tcl.
Layer5.Http.ResultSnapshot::Refresh.Timestamp.Get |
Returns the timestamp when the counters of this object where last refreshed.
- Note
- This is not the same as Timestamp.Get
- Example
1 $httpClientSessionInfo Refresh.Timestamp.Get
Returns:
1432805398000000000
Definition at line 16055 of file api.tcl.
Layer5.Http.ResultSnapshot::Rx.ByteCount.Header.Get |
The size of the received HTTPheader in bytes.
HTTP header contains the HTTP header fields. These fields define the operating parameters of an HTTP transaction (e.g. : User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20100101 Firefox/21.0 )
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Rx.ByteCount.Header.Get
Returns:
19
Definition at line 16079 of file api.tcl.
Layer5.Http.ResultSnapshot::Rx.ByteCount.Payload.Get |
The size of the received HTTP Payload in bytes.
The size of the actual content of the HTTP transaction
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Rx.ByteCount.Payload.Get
Returns:
949021900
Definition at line 16092 of file api.tcl.
Layer5.Http.ResultSnapshot::Rx.ByteCount.Rate.Get |
Rate in bytes per seconds of the data received.
- Returns
- Rate in bytes per second
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Rx.ByteCount.Rate.Get
Returns:
949021919
Definition at line 16105 of file api.tcl.
Layer5.Http.ResultSnapshot::Rx.ByteCount.Total.Get |
Layer5.Http.ResultSnapshot::Rx.Timestamp.First.Get |
Timestamp (in nanoseconds) of first received packet.
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Rx.Timestamp.First.Get
Returns:
19
Definition at line 16131 of file api.tcl.
Layer5.Http.ResultSnapshot::Rx.Timestamp.Last.Get |
Timestamp (in nanoseconds) of last received packet.
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Rx.Timestamp.Last.Get
Returns:
19
Definition at line 16142 of file api.tcl.
Layer5.Http.ResultSnapshot::Timestamp.Get |
Gets the snapshot timestamp [NS].
- Returns
- Timestamp of snapshot in nanoseconds
- Example
This example gets the snapshot timestamp [NS].
Returns:
1413475070000000000
Definition at line 16154 of file api.tcl.
Layer5.Http.ResultSnapshot::Tx.ByteCount.Header.Get |
The size of the transmitted HTTPHeader in bytes.
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Tx.ByteCount.Header.Get
Returns:
83
Definition at line 16165 of file api.tcl.
Layer5.Http.ResultSnapshot::Tx.ByteCount.Payload.Get |
The size of the transmitted HTTPPayload in bytes.
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Tx.ByteCount.Payload.Get
Returns:
0
Definition at line 16176 of file api.tcl.
Layer5.Http.ResultSnapshot::Tx.ByteCount.Rate.Get |
Rate in bytes per seconds of the data sent.
- Returns
- Rate in bytes per second
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Tx.ByteCount.Rate.Get
Returns:
949021919
Definition at line 16189 of file api.tcl.
Layer5.Http.ResultSnapshot::Tx.ByteCount.Total.Get |
Total of transmitted bytes.
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Tx.ByteCount.Total.Get
Returns:
83
Definition at line 16200 of file api.tcl.
Layer5.Http.ResultSnapshot::Tx.Timestamp.First.Get |
Timestamp (in nanoseconds) of first transmitted packet.
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Tx.Timestamp.First.Get
Returns:
19
Definition at line 16211 of file api.tcl.
Layer5.Http.ResultSnapshot::Tx.Timestamp.Last.Get |
Timestamp (in nanoseconds) of last transmitted packet.
- Example
1 set result [ $httpClientSessionInfo Result.Get]
2 $result Tx.Timestamp.Last.Get
Returns:
19
Definition at line 16222 of file api.tcl.