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 | bytesReceivedThe number of bytes received for this action. | 
| long | bytesSentThe number of bytes sent for this action. | 
| java.lang.String | completionTypeThe completion type for this action. | 
| long | connectionEstablishTimeThe amount of time, in milliseconds, spent establishing a connection for this action. | 
| long | deltaFromScheduledStartThe difference, in milliseconds, between the time this action was "scheduled" to be started
 and when it was actually started. | 
| long | dnsLookupDurationThe amount of time, in milliseconds, spent performing DNS lookup for this action. | 
| long | durationThe length of time, in milliseconds, spent actually communicating to perform this action, in milliseconds. | 
| java.lang.String | failureTextIf the action is to be considered as having failed, this is the error text for the
 failure. | 
| java.lang.String | nameThe name to be assigned to the action. | 
| java.lang.String | operationThe "operation" for this action. | 
| java.lang.String | parentPathparentPathTypeandparentPathspecify 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 | parentPathTypeSee  parentPath. | 
| long | receiveTimeThe amount of time, in milliseconds, spent receiving for this action. | 
| int | repeatIndexAn optional repeat index if the simulated action is to be considered to
 be repeating. | 
| long | sendTimeThe amount of time, in milliseconds, spent sending for this action. | 
| long | startTimeThe time at which the the action started, in milliseconds since epoch. | 
| java.lang.String | textReceivedThe text of the response that was received for this action, to be reported in the Result. | 
| java.lang.String | textSentThe text that was sent for this action, to be reported in the Result. | 
| long | totalPortRetryCountThe number of retries required to obtain a port from the OS in order to perform this action. | 
| long | totalPortRetryTimeThe amount of time, in milliseconds, spent retrying to obtain a port from the OS in order to perform this action. | 
| long | totalTimeThe total amount of time, in milliseconds, spent for this action, including communication time and other overhead processing time. | 
| long | ttfbTime to first byte, in milliseconds. | 
| long | ttlbTime to last byte, in milliseconds. | 
| java.lang.String | urlThe "URL" for this action. | 
| boolean | validationPassedTrue if the action's "validation" is to be considered to have passed for Result reporting
 purposes. | 
| long | waitForConnectionPoolTimeThe 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