Docs » Use an Uptime Test to test port or HTTP uptime

Use an Uptime Test to test port or HTTP uptime 🔗

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 do not 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. See HTTP Test and Port Test below for more information about each of these test types.

HTTP test

An HTTP Uptime 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 Uptime 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 Uptime 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

To learn how to 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.