Endpoint Tests are tests run from Endpoint Agents at regularly scheduled intervals. Customers can create HTTP Server tests and Agent to Server tests. These tests run without user interaction, and run as long as an Endpoint Agent is online, providing data from remote workers, home workers and smaller branch offices.
This article provides information on creating and running Endpoint Tests, including the dynamic assignment of tests to Endpoint Agents. Unlike Cloud and Enterprise Agents, Endpoints Agents are not typically online at all times. To address this issue and maximize the amount of data, test assignment to specific Endpoint Agents is dynamic.
Table of contents
- Test creation
- Dynamic Agent assignment using Labels
- Creating a scheduled test
- Viewing results
- Frequently asked questions
The only prerequisite for running scheduled tests on an Endpoint Agent is the Endpoint Agent software version must be 0.96 or later. Versions prior to 0.96 will not be able to run scheduled tests.In contrast to the original mode of Endpoint Agent operation where data collection is triggered by a user browsing with Chrome or Internet Explorer, scheduled Endpoint Tests do not require the browser extension for Endpoint Agent to be installed.
Creating a scheduled Endpoint Agent test consists of the following steps:
- Choose which Endpoint Agents, and how many, should perform the test
- Create a Label which includes the desired Endpoint Agents
- Assign the Label to your test and specify the maximum number of Agents that may perform the test concurrently
- Select the test type, target, and interval
- Review advanced settings prior to completion
Because Endpoint Agents are deployed on workstations that may frequently be offline, and because the network address, location and other characteristics of the host can change, test assignment is dynamically performed. Whenever an Endpoint Agent checks in with ThousandEyes, the criteria of each Endpoint Agent Label is compared to the Agent's information, such as network and geographic location. If the Agent matches a Label, any test configured with that Label is assigned to the Agent, up to a maximum of 3 tests.
To create a new Endpoint Agent Label, head to the Endpoint Agents tab (2) of the Settings > Labels page (1), and click on the Add New Label button (3) as shown in the figure below:
The new Endpoint Agent Label creation dialog will appear:
Per Figure 2, Enter the Label Name (1), select the Label Color (2) and use the Filter (3) setting to select the criteria that will determine which Endpoint Agents run a test with this Label. The following filters are available:
- Proxy Address
- VPN Address
- Monitored Network
On the right side of the dialog, there is an graph showing the number of matching Endpoint Agents in the last 24 hours (4) which can be refreshed with a click (5). Once you're satisfied with the Label configuration, the final click on the Add New Label button (6) will conclude the Label creation process.
Once the Endpoint Agent Label has been configured, proceed to the test creation.
(If you have not prepared your Endpoint Agent Label(s) yet, consult the section above on how to do that first. Once done, continue with scheduled Endpoint test creation here.)
Head to Settings > Tests > Endpoint Tests page (1, 2) and click the + Add New Test button (3) as shown below:
Currently, two test types are available:
- Agent to Server (Network Layer)
- HTTP Server (Web layer)
In the scheduled Endpoint test creation dialog, choose Network layer (1) and Agent to Server test type (2):
Figure 4: Creating an Agent to Server test
In the Basic Configuration tab, the following configuration settings are available:
- Test Name (3): This optional parameter gives the test a name. When no name is provided, then the value from the Target field will be used as a test name.
- Target (4): Domain name or IP address
- Protocol (5): ICMP is currently the only available option.
- Interval (6): How frequently this test will be run.
- Agent Label (7): Endpoint tests are dynamically assigned to Endpoint Agents through Labels. The helper graph (9) below indicates how many Agents matching the Label were available throughout the last 24 hours. See the section on Label configuration above for details.
- Max No. of Agents (8): Specifies the maximum of Agents within the Agent Label to run the test from.
Once you are satisfied with your test configuration, click on the Create New Test button (10) to complete the scheduled Endpoint test creation process. To see and understand the results, consult the Viewing results section below.
In the scheduled endpoint test creation dialogue, choose Web layer (1) and HTTP Server test type (2) to start creating a new HTTP Server test:
Figure 5: Creating an HTTP Server testIn the Basic Configuration tab, the following configuration settings are available:
- Test Name (3): This optional parameter gives the test a name. Where no name is provided, the value in the URL field will be used as the test name, prepended with a protocol ("http://" by default).
- URL (4): A URL, domain name or IP address, including the TCP port. If a domain name or IP address is used (i.e. protocol specification is not provided) then "http://" protocol is assumed.
- Interval (5): How frequently this test will be run.
- Agent Label (6): Endpoint tests are dynamically assigned to Endpoint Agents through Labels. The helper graph (8) below indicates how many Agents matching the Label were available throughout the last 24 hours. See the section about Label configuration above for details.
- Max No. of Agents (7): Specifies the maximum of Agents within the Agent Label to run the test from.
Additionally, in the Advanced Configuration tab (9), the following configuration settings are available:
- HTTP Server Timing section:
- Timeout: Seconds until the test terminates due to an unresponsive target server.
- Target Time for View: Sets the color legend on the global map, and the corresponding font colors for the Agent results table. For example, Response Time for an HTTP Server test sets the range of the legend from 0 seconds (green end) to 2x the Target Time for View (red end).
- Network section:
- Data Collection: Check the box to collection Network metrics and perform Path Visualization.
- HTTP Authentication section:
- Username: The username for the account being accessed by the HTTP request(s).
- Password: The password for the account being accessed by the HTTP request(s).
- Scheme: HTTP Basic Authentication or NTLM
- HTTP Request section:
- Request Method: Select the HTTP request method - either GET or POST. If POST is selected, you may specify data in the POST Body field. The default is GET.
- SSL Version: Select the version of the SSL/TLS protocol to offer in the SSL/TLS Client Hello. This will set the maximum version of SSL/TLS that the connection can use, but a lower version may be negotiated by the server. The options are the following:
- SSLv3: Use SSL version 3.0. No lower version can be negotiated.
- TLSv1.0: The Agent will start the TLS negotiation at version 1.0.
- TLSv1.1: The Agent will start the TLS negotiation at version 1.1.
- TLSv1.2: The Agent will start the TLS negotiation at version 1.2.
- Auto: The Agent will start the TLS negotiation at the highest version of TLS supported by its operating system.
- Verify SSL certificate: By default, certificate-related errors will result in a test error. Uncheck this box to ignore certificate errors during SSL/TLS negotiation.
- Custom Headers: Enter one or more HTTP header strings in the form "<stringname>: <value>" (without quotes). Note the whitespace between the literal colon character and the placeholder <value>.
- Override DNS: Instead of using standard DNS resolution, allows you to specify the IP address to which the target's domain name will resolve. Useful for targeting a specific server within a cluster, or when testing HTTPS URLs which require a Server Name Indication (SNI) in the SSL/TLS negotiation that is different from the domain name-to-IP address mapping required to access the URL.
- HTTP Response section:
- Desired Status Code: Sets the HTTP status code returned by the server that is defined as a successful test (i.e. no errors will be displayed in the test table results, no response code-based alerts generated etc.). By default, either a 200-level or 300-level status code is considered a successful return code. Uncheck this box and enter a response code in the field below to use a different expected response code.
- Verify Content: Search the HTTP headers and body for text which matches the expression in the Verify Content field. The expression can be a literal text or a POSIX regular expression. If no match occurs, the test shows an error condition.
- Limit Download Size: Load only the first number of kilobytes (kB) specified in the field below the Enable box. The result is not guaranteed to be exactly the number specified but can be slightly more, yet always within a few percent, or less as the size of the download is increased. Note that this function does not use an HTTP Range header, so the HTTP response code should not be affected (i.e. success is a 200 OK response, not a 206 Partial Content response).
Once you are satisfied with your test configuration, click on the Create New Test button (10) to complete the scheduled endpoint HTTP server test creation process. To see and understand the results, consult the Viewing results section below.Endpoint Agent Views - Scheduled Tests.
ICMP is currently the only protocol available.
For Agent to Server test (Network layer), which protocol is used to collect network metrics?
ICMP is currently the only protocol available.
How many tests can run on one Endpoint Agent?
There is a limit of three (3) scheduled tests per Agent.
When is the test assignment recalculated?
Scheduling/test assignment is done at the time of Agent check-in.
How frequently does the Agent perform the check-in?
Agent checks in with the platform once every 15 minutes.
When is the Agent removed from the test?
An Endpoint Agent is removed from a test if:
- the Agent hasn’t checked in for 1 hour (for example, if a user puts the Agent's laptop to sleep).
- at the time of the check-in, the Label criteria is no longer met (e.g. changed location).
When one Agent is removed from the test, which new Agent will be assigned to the test and when?
The first Agent that checks in and matches the Label criteria will be assigned to the test, provided that there are less than three tests currently assigned to it.
How many ICMP packets are sent out to perform end-to-end network measurements (loss, latency, jitter)?
In one test round, each Agent sends out 10 ICMP echo request packets per test to perform end-to-end network measurements.
How many parallel path discoveries are performed by each Agent?
In one test round, one path discovery is performed by Agent for each test.
What happens if an Agent does not check in for a while?
When the agent does not check in for one hour, it is disassociated from all Labels and removed from all tests. When the agent checks in again, matching label associations are re-established.
Is there a limit to the amount of data Endpoint Agent retrieves in HTTP Server test?
Yes. If download size limit is not explicitly configured in test's advanced settings, Endpoint Agent will stop downloading content once 10MB of data is received.