Skip to content
Start here

HTTP Tests

Get details and aggregate metrics for an http test
client.ZeroTrust.DEX.HTTPTests.Get(ctx, testID, params) (*HTTPDetails, error)
GET/accounts/{account_id}/dex/http-tests/{test_id}
ModelsExpand Collapse
type HTTPDetails struct{…}
Host stringoptional

The url of the HTTP synthetic application test

HTTPStats HTTPDetailsHTTPStatsoptional
AvailabilityPct HTTPDetailsHTTPStatsAvailabilityPct
Slots []HTTPDetailsHTTPStatsAvailabilityPctSlot
Timestamp string
Value float64
formatfloat
Avg float64optional

average observed in the time period

formatfloat
Max float64optional

highest observed in the time period

formatfloat
Min float64optional

lowest observed in the time period

formatfloat
DNSResponseTimeMs TestStatOverTime
HTTPStatusCode []HTTPDetailsHTTPStatsHTTPStatusCode
Status200 int64
Status300 int64
Status400 int64
Status500 int64
Timestamp string
ResourceFetchTimeMs TestStatOverTime
ServerResponseTimeMs TestStatOverTime
UniqueDevicesTotal int64

Count of unique devices that have run this test in the given time period

HTTPStatsByColo []HTTPDetailsHTTPStatsByColooptional
AvailabilityPct HTTPDetailsHTTPStatsByColoAvailabilityPct
Slots []HTTPDetailsHTTPStatsByColoAvailabilityPctSlot
Timestamp string
Value float64
formatfloat
Avg float64optional

average observed in the time period

formatfloat
Max float64optional

highest observed in the time period

formatfloat
Min float64optional

lowest observed in the time period

formatfloat
Colo string
DNSResponseTimeMs TestStatOverTime
HTTPStatusCode []HTTPDetailsHTTPStatsByColoHTTPStatusCode
Status200 int64
Status300 int64
Status400 int64
Status500 int64
Timestamp string
ResourceFetchTimeMs TestStatOverTime
ServerResponseTimeMs TestStatOverTime
UniqueDevicesTotal int64

Count of unique devices that have run this test in the given time period

Interval stringoptional

The interval at which the HTTP synthetic application test is set to run.

Kind HTTPDetailsKindoptional
Method stringoptional

The HTTP method to use when running the test

Name stringoptional

The name of the HTTP synthetic application test

TargetPolicies []DigitalExperienceMonitoroptional
ID string

API Resource UUID tag.

maxLength36
Default bool

Whether the policy is the default for the account

Name string
Targeted booloptional

HTTP TestsPercentiles

Get percentiles for an http test
client.ZeroTrust.DEX.HTTPTests.Percentiles.Get(ctx, testID, params) (*HTTPDetailsPercentiles, error)
GET/accounts/{account_id}/dex/http-tests/{test_id}/percentiles
ModelsExpand Collapse
type HTTPDetailsPercentiles struct{…}
DNSResponseTimeMs Percentilesoptional
ResourceFetchTimeMs Percentilesoptional
ServerResponseTimeMs Percentilesoptional
type TestStatOverTime struct{…}
Slots []TestStatOverTimeSlot
Timestamp string
Value int64
Avg int64optional

average observed in the time period

Max int64optional

highest observed in the time period

Min int64optional

lowest observed in the time period