public class SimulatedActionInfo
extends java.lang.Object
recordActionCompletion
method of the
Result
object.
Note that an instance of this class cannot be constructed directly via "new".
Instead, the
createSimulatedActionInfo
factory method must be used.
See the
ScriptEnvironment
interface for general background information about this API.
Modifier and Type | Field and Description |
---|---|
long |
bytesReceived
The number of bytes received for this action.
|
long |
bytesSent
The number of bytes sent for this action.
|
java.lang.String |
completionType
The completion type for this action.
|
long |
connectionEstablishTime
The amount of time, in milliseconds, spent establishing a connection for this action.
|
long |
deltaFromScheduledStart
The difference, in milliseconds, between the time this action was "scheduled" to be started
and when it was actually started.
|
long |
dnsLookupDuration
The amount of time, in milliseconds, spent performing DNS lookup for this action.
|
long |
duration
The length of time, in milliseconds, spent actually communicating to perform this action, in milliseconds.
|
java.lang.String |
failureText
If the action is to be considered as having failed, this is the error text for the
failure.
|
java.lang.String |
name
The name to be assigned to the action.
|
java.lang.String |
operation
The "operation" for this action.
|
java.lang.String |
parentPath
parentPathType and parentPath specify the
"starting point" of the path, and the path itself, respectively, to the
containing item into which this action is to be recorded. |
java.lang.String |
parentPathType
See
parentPath . |
long |
receiveTime
The amount of time, in milliseconds, spent receiving for this action.
|
int |
repeatIndex
An optional repeat index if the simulated action is to be considered to
be repeating.
|
long |
sendTime
The amount of time, in milliseconds, spent sending for this action.
|
long |
startTime
The time at which the the action started, in milliseconds since epoch.
|
java.lang.String |
textReceived
The text of the response that was received for this action, to be reported in the Result.
|
java.lang.String |
textSent
The text that was sent for this action, to be reported in the Result.
|
long |
totalPortRetryCount
The number of retries required to obtain a port from the OS in order to perform this action.
|
long |
totalPortRetryTime
The amount of time, in milliseconds, spent retrying to obtain a port from the OS in order to perform this action.
|
long |
totalTime
The total amount of time, in milliseconds, spent for this action, including communication time and other overhead processing time.
|
long |
ttfb
Time to first byte, in milliseconds.
|
long |
ttlb
Time to last byte, in milliseconds.
|
java.lang.String |
url
The "URL" for this action.
|
boolean |
validationPassed
True if the action's "validation" is to be considered to have passed for Result reporting
purposes.
|
long |
waitForConnectionPoolTime
The amount of time, in milliseconds, spent waiting on a Connection Pool for this action.
|
Constructor and Description |
---|
SimulatedActionInfo() |
public java.lang.String parentPathType
parentPath
.public java.lang.String parentPath
parentPathType
and parentPath
specify the
"starting point" of the path, and the path itself, respectively, to the
containing item into which this action is to be recorded. These are
relative to the context in which the current Script is playing, as
specified for property paths within "In Situ Substitution Specifications"
(ISSEs).
Refer to the separate documentation on ISSEs on CloudLink for more information about pathing.
The parent item specified must be a Clip or a container within a Clip,
and must be an item that is currently playing (has started but has not
yet completed). Typically this might be either some parent of the
current Script, or else a simulated Transaction that was started earlier
by calling the
Result.recordTransactionStart()
method.
If these members are null, the parent of the Script object that called this Java code will be used as the parent.
public java.lang.String name
public int repeatIndex
public java.lang.String operation
public java.lang.String url
Although this URL is not used to perform any actual processing, it will still be parsed during Result processing and therefore if given it should be a correctly-formatted URL.
The URL is used in the "URL Analysis" and "Error Analysis" widgets, as well as some charts that are shown by domain. At this time, no Results displays use the query string portion of the URL, but other parts of the URL, such as the protocol and domain are used.
public java.lang.String failureText
public boolean validationPassed
public java.lang.String textSent
public java.lang.String textReceived
public java.lang.String completionType
public long duration
public long deltaFromScheduledStart
public long bytesSent
public long bytesReceived
public long totalPortRetryCount
public long totalPortRetryTime
public long connectionEstablishTime
public long sendTime
public long receiveTime
public long totalTime
public long ttfb
public long ttlb
public long dnsLookupDuration
public long waitForConnectionPoolTime
public long startTime