A timed test for TCP connections or HTTP requests