# HTTP Measurements

> Configure HTTP application pings, where the agent issues a web request to the URL you specify.

Source: https://docs.capaone.com/performanceguard/technical-reference/concepts/http-measurements/  
Product: PerformanceGuard — a separate CapaSystems product; do not apply this page to any other.

HTTP application pings are simply web requests. The only parameter that you need to supply is the *URL* parameter. It takes the form :

**Text**

```text
URL=[<protocol>://]<host>[/<resource>][:<port>]
```

When using this type of active measurement, the agent will issue an HTTP request with the following format:

**Text**

```text
GET http://<Resource> HTTP/1.0
   User-Agent: PremiTech PerformanceGuard
   Host: <HostName>
   Connection: Close
   Pragma: no-cache
   Content-Type: */*
```

and await the reply.

If a reply is received (before the timeout is reached) the round-trip time will be noted.

| **Parameter**     | **Description**                                                                                                                                                                                                                    |
|:------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Response time** | The number of microseconds that it took to get the response. <br/>⚠️ Resolution of the timer varies greatly with the operating system. On computers Windows XP and Windows 2003 Server the resolution is around 1000 microseconds. |
| **Status**        | - 0: A request couldn't be send due to a configuration problem <br/>- 100-517: Status code returned by the http server. See internet rfc2616 for details <br/>- 999: A response was never received                                   |
| **Success**       | If status = \[200 ; 400\[ ? 1 Otherwise = 0                                                                                                                                                                                        |
| **Iterations**    | Number of times that the request has been issued - always set to 1                                                                                                                                                                 |
