Skip to content
Start here

HTTP Tests

Get details and aggregate metrics for an http test
zero_trust.dex.http_tests.get(strtest_id, HTTPTestGetParams**kwargs) -> HTTPDetails
GET/accounts/{account_id}/dex/http-tests/{test_id}
ModelsExpand Collapse
class HTTPDetails:
host: Optional[str]

The url of the HTTP synthetic application test

http_stats: Optional[HTTPStats]
availability_pct: HTTPStatsAvailabilityPct
slots: List[HTTPStatsAvailabilityPctSlot]
timestamp: str
value: float
formatfloat
avg: Optional[float]

average observed in the time period

formatfloat
max: Optional[float]

highest observed in the time period

formatfloat
min: Optional[float]

lowest observed in the time period

formatfloat
dns_response_time_ms: TestStatOverTime
http_status_code: List[HTTPStatsHTTPStatusCode]
status200: int
status300: int
status400: int
status500: int
timestamp: str
resource_fetch_time_ms: TestStatOverTime
server_response_time_ms: TestStatOverTime
unique_devices_total: int

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

http_stats_by_colo: Optional[List[HTTPStatsByColo]]
availability_pct: HTTPStatsByColoAvailabilityPct
slots: List[HTTPStatsByColoAvailabilityPctSlot]
timestamp: str
value: float
formatfloat
avg: Optional[float]

average observed in the time period

formatfloat
max: Optional[float]

highest observed in the time period

formatfloat
min: Optional[float]

lowest observed in the time period

formatfloat
colo: str
dns_response_time_ms: TestStatOverTime
http_status_code: List[HTTPStatsByColoHTTPStatusCode]
status200: int
status300: int
status400: int
status500: int
timestamp: str
resource_fetch_time_ms: TestStatOverTime
server_response_time_ms: TestStatOverTime
unique_devices_total: int

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

interval: Optional[str]

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

kind: Optional[Literal["http"]]
method: Optional[str]

The HTTP method to use when running the test

name: Optional[str]

The name of the HTTP synthetic application test

target_policies: Optional[List[DigitalExperienceMonitor]]
id: str

API Resource UUID tag.

maxLength36
default: bool

Whether the policy is the default for the account

name: str
targeted: Optional[bool]

HTTP TestsPercentiles

Get percentiles for an http test
zero_trust.dex.http_tests.percentiles.get(strtest_id, PercentileGetParams**kwargs) -> HTTPDetailsPercentiles
GET/accounts/{account_id}/dex/http-tests/{test_id}/percentiles
ModelsExpand Collapse
class HTTPDetailsPercentiles:
dns_response_time_ms: Optional[Percentiles]
resource_fetch_time_ms: Optional[Percentiles]
server_response_time_ms: Optional[Percentiles]
class TestStatOverTime:
slots: List[Slot]
timestamp: str
value: int
avg: Optional[int]

average observed in the time period

max: Optional[int]

highest observed in the time period

min: Optional[int]

lowest observed in the time period