Package com.datadog.api.client.v2.model
Class SyntheticsTestResultStep
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsTestResultStep
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsTestResultStep
extends Object
A step result from a browser, mobile, or multistep API test.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAssertionsItem(SyntheticsTestResultAssertionResult assertionsItem) addBlockedRequestsUrlsItem(String blockedRequestsUrlsItem) addBrowserErrorsItem(SyntheticsTestResultBrowserError browserErrorsItem) addCdnResourcesItem(SyntheticsTestResultCdnResource cdnResourcesItem) addHttpResultsItem(SyntheticsTestResultAssertionResult httpResultsItem) addRetriesItem(SyntheticsTestResultStep retriesItem) addTabsItem(SyntheticsTestResultTab tabsItem) addVitalsMetricsItem(SyntheticsTestResultVitalsMetrics vitalsMetricsItem) addWarningsItem(SyntheticsTestResultWarning warningsItem) allowFailure(Boolean allowFailure) assertionResult(SyntheticsTestResultStepAssertionResult assertionResult) assertions(List<SyntheticsTestResultAssertionResult> assertions) blockedRequestsUrls(List<String> blockedRequestsUrls) bounds(SyntheticsTestResultBounds bounds) browserErrors(List<SyntheticsTestResultBrowserError> browserErrors) bucketKeys(SyntheticsTestResultBucketKeys bucketKeys) cdnResources(List<SyntheticsTestResultCdnResource> cdnResources) compressedJsonDescriptor(String compressedJsonDescriptor) description(String description) elementDescription(String elementDescription) elementUpdates(SyntheticsTestResultStepElementUpdates elementUpdates) booleanReturn true if this SyntheticsTestResultStep object is equal to o.extractedValue(SyntheticsTestResultVariable extractedValue) failure(SyntheticsTestResultFailure failure) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether the test continues when this step fails.Inner API test definition for browserrunApiTeststeps.Assertion result for a browser or mobile step.Assertion results produced by the step.URLs of requests blocked during the step.Bounding box of an element on the page.Browser errors captured during the step.Storage bucket keys for artifacts produced during a step or test.CDN resources encountered during the step.Click type performed in a browser step.Compressed JSON descriptor for the step (internal format).Request configuration executed by this step (API test steps).Human-readable description of the step.Duration of the step in milliseconds.Description of the element interacted with by the step.Element locator updates produced during a step.A variable used or extracted during a test.Details about the failure of a Synthetic test.HTTP results produced by an MCP step.getId()Identifier of the step.Whether this step is critical for the test outcome.Whether the step uses a custom JavaScript assertion.Time taken to locate the element in milliseconds.getName()Name of the step.Details of the outgoing request made during the test execution.Details of the response received during the test execution.Retry results for the step.Number of times this step was retried.RUM application context associated with a step or sub-test.Unix timestamp (ms) of when the step started.Status of the step (for example,passed,failed).Information about a sub-step in a nested test execution.Information about a sub-test played from a parent browser test.Subtype of the step.getTabs()Browser tabs involved in the step.Timing breakdown of the step execution.Whether the step was executed through a Synthetics tunnel.getType()Type of the step (for example,click,assertElementContent,runApiTest).getUrl()URL associated with the step (for navigation steps).getValue()Step value.Variables captured during a test step.Web vitals metrics captured during the step.Warnings emitted during the step.inthashCode()httpResults(List<SyntheticsTestResultAssertionResult> httpResults) isCritical(Boolean isCritical) javascriptCustomAssertionCode(Boolean javascriptCustomAssertionCode) locateElementDuration(Double locateElementDuration) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putApiTestItem(String key, Object apiTestItem) putConfigItem(String key, Object configItem) putTimingsItem(String key, Object timingsItem) request(SyntheticsTestResultRequestInfo request) response(SyntheticsTestResultResponseInfo response) retries(List<SyntheticsTestResultStep> retries) retryCount(Long retryCount) rumContext(SyntheticsTestResultRumContext rumContext) voidsetAllowFailure(Boolean allowFailure) voidsetApiTest(Map<String, Object> apiTest) voidsetAssertionResult(SyntheticsTestResultStepAssertionResult assertionResult) voidsetAssertions(List<SyntheticsTestResultAssertionResult> assertions) voidsetBlockedRequestsUrls(List<String> blockedRequestsUrls) voidsetBounds(SyntheticsTestResultBounds bounds) voidsetBrowserErrors(List<SyntheticsTestResultBrowserError> browserErrors) voidsetBucketKeys(SyntheticsTestResultBucketKeys bucketKeys) voidsetCdnResources(List<SyntheticsTestResultCdnResource> cdnResources) voidsetClickType(String clickType) voidsetCompressedJsonDescriptor(String compressedJsonDescriptor) voidvoidsetDescription(String description) voidsetDuration(Double duration) voidsetElementDescription(String elementDescription) voidsetElementUpdates(SyntheticsTestResultStepElementUpdates elementUpdates) voidsetExtractedValue(SyntheticsTestResultVariable extractedValue) voidsetFailure(SyntheticsTestResultFailure failure) voidsetHttpResults(List<SyntheticsTestResultAssertionResult> httpResults) voidvoidsetIsCritical(Boolean isCritical) voidsetJavascriptCustomAssertionCode(Boolean javascriptCustomAssertionCode) voidsetLocateElementDuration(Double locateElementDuration) voidvoidvoidsetResponse(SyntheticsTestResultResponseInfo response) voidsetRetries(List<SyntheticsTestResultStep> retries) voidsetRetryCount(Long retryCount) voidsetRumContext(SyntheticsTestResultRumContext rumContext) voidsetStartedAt(Long startedAt) voidvoidsetSubStep(SyntheticsTestResultSubStep subStep) voidsetSubTest(SyntheticsTestResultSubTest subTest) voidsetSubtype(String subtype) voidsetTabs(List<SyntheticsTestResultTab> tabs) voidsetTimings(Map<String, Object> timings) voidvoidvoidvoidvoidsetVariables(SyntheticsTestResultVariables variables) voidsetVitalsMetrics(List<SyntheticsTestResultVitalsMetrics> vitalsMetrics) voidsetWarnings(List<SyntheticsTestResultWarning> warnings) subStep(SyntheticsTestResultSubStep subStep) subTest(SyntheticsTestResultSubTest subTest) tabs(List<SyntheticsTestResultTab> tabs) toString()variables(SyntheticsTestResultVariables variables) vitalsMetrics(List<SyntheticsTestResultVitalsMetrics> vitalsMetrics) warnings(List<SyntheticsTestResultWarning> warnings)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALLOW_FAILURE
- See Also:
-
JSON_PROPERTY_API_TEST
- See Also:
-
JSON_PROPERTY_ASSERTION_RESULT
- See Also:
-
JSON_PROPERTY_ASSERTIONS
- See Also:
-
JSON_PROPERTY_BLOCKED_REQUESTS_URLS
- See Also:
-
JSON_PROPERTY_BOUNDS
- See Also:
-
JSON_PROPERTY_BROWSER_ERRORS
- See Also:
-
JSON_PROPERTY_BUCKET_KEYS
- See Also:
-
JSON_PROPERTY_CDN_RESOURCES
- See Also:
-
JSON_PROPERTY_CLICK_TYPE
- See Also:
-
JSON_PROPERTY_COMPRESSED_JSON_DESCRIPTOR
- See Also:
-
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_ELEMENT_DESCRIPTION
- See Also:
-
JSON_PROPERTY_ELEMENT_UPDATES
- See Also:
-
JSON_PROPERTY_EXTRACTED_VALUE
- See Also:
-
JSON_PROPERTY_FAILURE
- See Also:
-
JSON_PROPERTY_HTTP_RESULTS
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_IS_CRITICAL
- See Also:
-
JSON_PROPERTY_JAVASCRIPT_CUSTOM_ASSERTION_CODE
- See Also:
-
JSON_PROPERTY_LOCATE_ELEMENT_DURATION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_REQUEST
- See Also:
-
JSON_PROPERTY_RESPONSE
- See Also:
-
JSON_PROPERTY_RETRIES
- See Also:
-
JSON_PROPERTY_RETRY_COUNT
- See Also:
-
JSON_PROPERTY_RUM_CONTEXT
- See Also:
-
JSON_PROPERTY_STARTED_AT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_SUB_STEP
- See Also:
-
JSON_PROPERTY_SUB_TEST
- See Also:
-
JSON_PROPERTY_SUBTYPE
- See Also:
-
JSON_PROPERTY_TABS
- See Also:
-
JSON_PROPERTY_TIMINGS
- See Also:
-
JSON_PROPERTY_TUNNEL
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_URL
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
JSON_PROPERTY_VARIABLES
- See Also:
-
JSON_PROPERTY_VITALS_METRICS
- See Also:
-
JSON_PROPERTY_WARNINGS
- See Also:
-
-
Constructor Details
-
SyntheticsTestResultStep
public SyntheticsTestResultStep()
-
-
Method Details
-
allowFailure
-
getAllowFailure
Whether the test continues when this step fails.- Returns:
- allowFailure
-
setAllowFailure
-
apiTest
-
putApiTestItem
-
getApiTest
Inner API test definition for browserrunApiTeststeps.- Returns:
- apiTest
-
setApiTest
-
assertionResult
public SyntheticsTestResultStep assertionResult(SyntheticsTestResultStepAssertionResult assertionResult) -
getAssertionResult
Assertion result for a browser or mobile step.- Returns:
- assertionResult
-
setAssertionResult
-
assertions
-
addAssertionsItem
public SyntheticsTestResultStep addAssertionsItem(SyntheticsTestResultAssertionResult assertionsItem) -
getAssertions
Assertion results produced by the step.- Returns:
- assertions
-
setAssertions
-
blockedRequestsUrls
-
addBlockedRequestsUrlsItem
-
getBlockedRequestsUrls
URLs of requests blocked during the step.- Returns:
- blockedRequestsUrls
-
setBlockedRequestsUrls
-
bounds
-
getBounds
Bounding box of an element on the page.- Returns:
- bounds
-
setBounds
-
browserErrors
-
addBrowserErrorsItem
public SyntheticsTestResultStep addBrowserErrorsItem(SyntheticsTestResultBrowserError browserErrorsItem) -
getBrowserErrors
Browser errors captured during the step.- Returns:
- browserErrors
-
setBrowserErrors
-
bucketKeys
-
getBucketKeys
Storage bucket keys for artifacts produced during a step or test.- Returns:
- bucketKeys
-
setBucketKeys
-
cdnResources
-
addCdnResourcesItem
public SyntheticsTestResultStep addCdnResourcesItem(SyntheticsTestResultCdnResource cdnResourcesItem) -
getCdnResources
CDN resources encountered during the step.- Returns:
- cdnResources
-
setCdnResources
-
clickType
-
getClickType
Click type performed in a browser step.- Returns:
- clickType
-
setClickType
-
compressedJsonDescriptor
-
getCompressedJsonDescriptor
Compressed JSON descriptor for the step (internal format).- Returns:
- compressedJsonDescriptor
-
setCompressedJsonDescriptor
-
config
-
putConfigItem
-
getConfig
Request configuration executed by this step (API test steps).- Returns:
- config
-
setConfig
-
description
-
getDescription
Human-readable description of the step.- Returns:
- description
-
setDescription
-
duration
-
getDuration
Duration of the step in milliseconds.- Returns:
- duration
-
setDuration
-
elementDescription
-
getElementDescription
Description of the element interacted with by the step.- Returns:
- elementDescription
-
setElementDescription
-
elementUpdates
public SyntheticsTestResultStep elementUpdates(SyntheticsTestResultStepElementUpdates elementUpdates) -
getElementUpdates
Element locator updates produced during a step.- Returns:
- elementUpdates
-
setElementUpdates
-
extractedValue
-
getExtractedValue
A variable used or extracted during a test.- Returns:
- extractedValue
-
setExtractedValue
-
failure
-
getFailure
Details about the failure of a Synthetic test.- Returns:
- failure
-
setFailure
-
httpResults
-
addHttpResultsItem
public SyntheticsTestResultStep addHttpResultsItem(SyntheticsTestResultAssertionResult httpResultsItem) -
getHttpResults
HTTP results produced by an MCP step.- Returns:
- httpResults
-
setHttpResults
-
id
-
getId
Identifier of the step.- Returns:
- id
-
setId
-
isCritical
-
getIsCritical
Whether this step is critical for the test outcome.- Returns:
- isCritical
-
setIsCritical
-
javascriptCustomAssertionCode
public SyntheticsTestResultStep javascriptCustomAssertionCode(Boolean javascriptCustomAssertionCode) -
getJavascriptCustomAssertionCode
Whether the step uses a custom JavaScript assertion.- Returns:
- javascriptCustomAssertionCode
-
setJavascriptCustomAssertionCode
-
locateElementDuration
-
getLocateElementDuration
Time taken to locate the element in milliseconds.- Returns:
- locateElementDuration
-
setLocateElementDuration
-
name
-
getName
Name of the step.- Returns:
- name
-
setName
-
request
-
getRequest
Details of the outgoing request made during the test execution.- Returns:
- request
-
setRequest
-
response
-
getResponse
Details of the response received during the test execution.- Returns:
- response
-
setResponse
-
retries
-
addRetriesItem
-
getRetries
Retry results for the step.- Returns:
- retries
-
setRetries
-
retryCount
-
getRetryCount
Number of times this step was retried.- Returns:
- retryCount
-
setRetryCount
-
rumContext
-
getRumContext
RUM application context associated with a step or sub-test.- Returns:
- rumContext
-
setRumContext
-
startedAt
-
getStartedAt
Unix timestamp (ms) of when the step started.- Returns:
- startedAt
-
setStartedAt
-
status
-
getStatus
Status of the step (for example,passed,failed).- Returns:
- status
-
setStatus
-
subStep
-
getSubStep
Information about a sub-step in a nested test execution.- Returns:
- subStep
-
setSubStep
-
subTest
-
getSubTest
Information about a sub-test played from a parent browser test.- Returns:
- subTest
-
setSubTest
-
subtype
-
getSubtype
Subtype of the step.- Returns:
- subtype
-
setSubtype
-
tabs
-
addTabsItem
-
getTabs
Browser tabs involved in the step.- Returns:
- tabs
-
setTabs
-
timings
-
putTimingsItem
-
getTimings
Timing breakdown of the step execution.- Returns:
- timings
-
setTimings
-
tunnel
-
getTunnel
Whether the step was executed through a Synthetics tunnel.- Returns:
- tunnel
-
setTunnel
-
type
-
getType
Type of the step (for example,click,assertElementContent,runApiTest).- Returns:
- type
-
setType
-
url
-
getUrl
URL associated with the step (for navigation steps).- Returns:
- url
-
setUrl
-
value
-
getValue
Step value. Its type depends on the step type.- Returns:
- value
-
setValue
-
variables
-
getVariables
Variables captured during a test step.- Returns:
- variables
-
setVariables
-
vitalsMetrics
public SyntheticsTestResultStep vitalsMetrics(List<SyntheticsTestResultVitalsMetrics> vitalsMetrics) -
addVitalsMetricsItem
public SyntheticsTestResultStep addVitalsMetricsItem(SyntheticsTestResultVitalsMetrics vitalsMetricsItem) -
getVitalsMetrics
Web vitals metrics captured during the step.- Returns:
- vitalsMetrics
-
setVitalsMetrics
-
warnings
-
addWarningsItem
-
getWarnings
Warnings emitted during the step.- Returns:
- warnings
-
setWarnings
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- SyntheticsTestResultStep
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this SyntheticsTestResultStep object is equal to o. -
hashCode
public int hashCode() -
toString
-