5.1 Creating Test Scenarios

A Experience Manager Monitor executes tests based on one or more scenarios. A scenario executes a specific function by using protocols including HTTP, HTTPS, DHCP, FTP, LDAP, SMTP/POP3, TRACEROUTE, ICMP or DNSLOOKUP.

5.1.1 General Test Scenario Definition Steps

There are certain general steps to define a test scenario:

  1. Create a scenario.

  2. For each scenario, specify the test attributes based on a scenario type.

  3. Specify standard attributes to apply to each scenario.

  4. Add the scenarios to test definitions.

    See Section 7.0, Creating Synthetic Tests Using the HTTP Recorder for instructions on defining tests.

5.1.2 Test Scenario Types

Table 5-1 lists the available scenario types and the types of actions each scenario performs.

Table 5-1 Test Scenario Types

Scenario Type

Description

DHCP

Receives and sends Dynamic Host Configuration Protocol (DHCP) offer requests to the DHCP server based on a Media Access Control (MAC) Address.

DNS Lookup

A Domain Name Service (DNS) test. Translates domain names to the corresponding IP addresses.

E‑Mail

Records the length of time required to send an e‑mail message to a mail server. Select POP3 or IMAP Inbox server types. The mail test deletes the e‑mail message after performing the test.

FTP

Records the time used to upload or download a specified file to/from the File Transfer Protocol (FTP) server and then deletes the uploaded/downloaded file. Uses FTP to communicate with a specific device and records the length of time required to acknowledge that communications successfully opened and the file was transferred.

HTTP(s)

Records the time required to access and download the contents of a Web page. Uses HyperText Transfer Protocol (HTTP), which is the underlying protocol used by the World Wide Web, to access Web servers and records the response times for retrieving and receiving a specific Web page, or posting data to it.

ICMP

This ping test uses Internet Control Message Protocol (ICMP) to test if an Internet connection is active.

LDAP

Performs user authentication (validates user name and password) to test the availability of the LDAP directory server.

SQL

Records the response time required to perform a database query.

The SQL test performs SQL SELECT statements against a database. It is possible to define the actual result set for the query to match.

Measures the response time of the executed query from start to finish for historical trending. In addition, can gather and promote each selected value to alarm properties (or element properties), for use in trending and analysis.

Third Party

Enables developers to write tests that are executed by the Experience Manager Monitor’s test engine.

Trace Route

Traces a packet from a computer to an Internet host, showing how many hops the packet required to reach the host and how long each hop took. If visiting a Web site and pages display slowly, use trace route to identify where the longest delays occur. The test records the time and number of hops that it takes to reach the specified host machine. It also records the address of each hop that it makes reroute.