Uptime tests for HTTP and port

Uptime tests monitor the response times and response codes for a specific URL.

An uptime test uses the curl library to make a request to a specified URL and monitors the URL’s response time and response code. Unlike browser tests, uptime tests don't parse HTML, load images, or run JavaScript.

Uptime tests record the following metrics:

  • Response time

  • DNS time (HTTP test only)

  • Time to first byte

There are two types of uptime tests:

HTTP test

An HTTP test makes a request to the specified URL and waits up to 60 seconds to receive a full response from the URL before closing the connection. The test records the response time and response code of the request.

You can use an HTTP test to check the uptime and response code of a single URL or endpoint.

To monitor the uptime of several URLs or to make a more complex request, use an API Test instead.

Port test

A port test checks the response of a server port using Transmission Control Protocol (TCP) or User Datagram Protocol (UDP). When a port test runs, Splunk Synthetic Monitoring sends a request to the specified port address, waits up to 60 seconds for a full response, and then records the response time and response code.

Set up an uptime test

See Set up an uptime test.

For an overview of the results and diagnostics that uptime tests capture, see Interpret uptime test results.