A Web transaction is a service test that allows a beacon to emulate a Web client while testing a Web enabled service. The status of a Web transaction is determined by the successful HTTP responses of each page and by the validation of success and failure strings on the pages of the transaction.
You can use the Web Transaction Recorder to record a transaction. Use this page to create and edit the various parameters for a Web transaction.
|
Field |
Description |
|---|---|
| Name | The name you enter here is used to identify the transaction when you view information about the transaction or select the transaction for analysis. Try to use a name that uniquely identifies the purpose of this transaction. |
| Description | The description field is optional. However, the description can be useful if you are sharing duties with other administrators. In those cases, include a brief description of the pages accessed by the transaction and why it is important to monitor this particular transaction. |
| Collection Frequency | Specify the frequency at which the beacon will replay the transaction and collect metrics. |
| Record a Transaction | Click Go to record a transaction. The Record Web Transaction page is displayed. Follow the instructions on the Record Web Transaction page to record your Web transaction. |
| Playback Mode | Select the playback engine that should be used to play back the recorded transaction. This can be:
Note: At the end of the recording, a suitable playback mode is automatically selected based on the content of your transaction. You can manually change the mode to that which is suitable for your deployment. Refer to the Advanced Configuration Guide for details. |
| Collection Granularity | The amount of data collected by the beacon. This can be:
|
A Web transaction consists of a series of steps. Each step consists of one or more HTTP requests. You can either record a transaction or create one or more steps which in turn will create a Web transaction. To create a step manually, select the Step tab and click Create. The Create Step page is displayed. After creating the step, you can play back the step using the playback engine.
You can combine a set of steps into a step group. Click the Step Group tab and click Create. The Create Step Group page is displayed. On this page, you can select the steps that are to be included in the group. You can set thresholds at the transaction, step group, and step level.
You can change the sequence in which the steps should be executed by using the Move Up, Insert Before, Insert After and Move Down buttons. This is not recommended for recorded transactions.
You can define various properties for the Web transaction. To define these properties, click the Advanced Properties tab.
The Test Parameters are grouped into the following categories:
Request Parameters
HTTP Authentication Scheme
Validation Parameters
Metric Collection
Request Parameters
|
Parameter |
Description |
|---|---|
|
Session Parameters |
Specify the URL parameters in the transaction that will vary between sessions. This will help the beacon play back the correct URLs each time the transaction is played. Multiple session parameters must be delimited using commas. For example if a Web application uses the parameter |
| User-Agent Header | The User-Agent Header is an HTTP header normally sent by a browser to a server. It identifies the type of browser. The default value for this field is - "Mozilla/4.0 (compatible; Windows NT 5.1) OracleEMAgentURLTiming/3.0" |
| Accept-Language Header | Specify the value of the Accept-Language Header that the beacon should send in each HTTP request. Example: “en” for English. |
| HTTP Headers | You can specify additional HTTP headers in each HTTP request in the following format: where:
|
| Use Cache | If set to Yes, this indicates that the beacon should not download the same image twice within a transaction. The beacon will cache the images when playing back a transaction. The beacon will not cache images between retries of the same transaction. |
HTTP Authentication Scheme
|
Parameter |
Description |
|---|---|
|
Authentication Realm |
The Authentication Realm is used to verify the login credentials and is found in the top of the Basic Authentication dialog box. If basic authentication is required for the Web transaction, specify the Authentication Realm. |
| User and Password | Specify the User name and Password for this Web transaction. |
Validation
|
Parameter |
Description |
|---|---|
| Authenticate SSL Certificates | Before a HTTPS URL can be monitored over a Secure Sockets Layer (SSL), the beacon must be configured to recognize the Certificate Authority that has been used by the Web site where the URL resides. You can set this flag to Yes if the beacon has been pre configured to recognize the Certificate Authority. You can then successfully monitor the availability and performance of the secure URL. |
| Success / Failure Strings |
Success and Failure Strings are used to validate the content of the pages downloaded by the beacon. A Success / Failure String can be one of the following:
Each Success String must appear at least once within a transaction. Failure Strings should not appear within a transaction or a step. If a Failure String appears within a transaction, or a Success String does not appear within a transaction, it is considered to be unsuccessful. Click the Note: Only beacons that are 10.2.0.4 and above support Regular Expression mode. |
|
Parameter |
Description |
|---|---|
|
Transaction Timeout |
The timeout period for the entire transaction. |
|
Connection Timeout |
The maximum amount of time that the beacon will wait before connecting to a Web server. |
|
Read Timeout |
The maximum amount of time that the beacon will wait while trying to read data from a connection. |
| Number of Retries on Failure | The maximum number of times that the beacon will attempt to play a transaction before it is considered down. |
| Time Between Retries | The amount of time that the beacon will wait between attempts to play a transaction. |
| Regular Expression Variables |
You can use Regular Expression Variables to adapt the dynamic content of a transaction depending on the content of the pages downloaded by the beacon. For example, you can specify that the beacon should always click on the first link in a table, even if that link changes regularly. When the beacon downloads a page, it will attempt to match each regular expression to the text of the page. If a match is found, then the value parsed for the last sub-expression in parentheses will be assigned to the variable. Each variable consists of a name, value, and a mode, as follows: where
For example, suppose you specify the variable as above, and in a subsequent step you specify that the URL is http://www.mysite.com/OA_HTML/OA.jsp?[paramFor_Link]. When the beacon plays the transaction, it will apply the regular expression to each page. Suppose the beacon downloads a page that contains the string
In this case, the beacon will apply the expression to the page and assign the value For each variable, three forms of encoding modes are available.
|
|
Constant Variables |
Constant Variables are variables for which you will specify an initial value. You can refer to Constant Variables in the URL or Post Data of a step (just like you would refer to Regular Expression Variables). You can use Constant Variables in order to assign initial values to variables that are also Regular Expression Variables. Because Constant Variables may vary per beacon, you can also use Constant Variables in order to direct each beacon to play a slightly different transaction. For example, you may use Constant Variables in order to direct each beacon to play the same transaction against identical Web servers behind a load balancer. |
| Number of Simulated Browser Threads | The beacon downloads images one-at-a-time. Perceived timing metrics are estimates of how much time a page would take to download if the several images were also downloaded at the same time. This is the maximum number of simultaneous downloads that an beacon will simulate for a transaction. |
| Maximum Download Buffer Size (bytes) | The maximum amount of data that can be downloaded by the beacon for each request. |
| Validate Page Components (.js, .css) | If this flag is set to Yes, Success / Failure strings will be validated in HTML components, .jss, and .css files. |
| Recorder Version | Indicates the version of the Recorder by which a transaction has been recorded. |
|
Field |
Description |
|---|---|
| Status | Indicates whether the Web transaction was successful. |
| Total Time |
The amount of time that it would take a Web browser to play the transaction. This is a good metric for setting thresholds because it is the closest active measurement of what the user-experience is likely to be. User ActionUse this metric to identify problem transactions. After you identify a transaction that is slow to respond to user requests, you can drill down and analyze each phase of the transaction to isolate and repair the problem. |
| Connect Time |
Enterprise Manager breaks down each transaction into individual phases. Performance metrics for each phase of the transaction can help you pinpoint the cause of a slow response time alert. Connect Time is the total time spent in the transaction connecting to the server. There may be multiple connections made during a transaction. Time spent waiting for requests that result in redirects count as Redirect Time rather than Connect Time. User ActionSignificant Connect Time values are usually caused by a slow network or a busy Web server. Significant Connect Time values may also indicate that there are too many connections made during the transaction. Consider enabling HTTP persistent connections if the application does not already have them enabled. |
| Redirect Time | Enterprise Manager breaks down each transaction
into individual phases. Performance metrics for each phase of the transaction
can help you pinpoint the cause of a slow response time alert. Some pages
automatically redirect the HTTP request to another page. Redirect time
represents the total time of all redirects within a transaction. The time
taken to redirect the request can affect the overall response time of
the page.
User Action |
| First Byte Time | Enterprise Manager breaks down each transaction
into individual phases. Performance metrics for each phase of the transaction
can help you pinpoint the cause of a slow response time alert. This metric
measures the First Byte Time, which is the total time taken between the
last byte of the request sent and the first byte of the response received
by the beacon for all requests made. This includes the network latency
and the time for the server to respond.
User Action |
| HTML Time |
Enterprise Manager breaks down each transaction into individual phases. Performance metrics for each phase of the transaction can help you pinpoint the cause of a slow response time alert. This metric measures the HTML Time, which is the amount of time it takes to transfer the HTML coding of the page to the beacon. This metric does not include the time spent transferring images or other page content. User Action |
| Non-HTML Time |
This is the amount of time it takes to transfer the non-HTML content such as images to the beacon. User Action |
| Total Time | Indicates the overall time spent to process
the transaction. This includes all the phases of the transaction, including
Connect Time, Redirect Time, First Byte Time, HTML Time, and Non-HTML
Time. This metric calculates total transaction time by assuming all contents
of a page are fetched in a serial manner.
User Action |
| Transfer Rate |
The transfer rate indicates how quickly data is being transferred from the Web server to the client browser. This is computed as: Total Kilobytes Received / Total Transaction Time. User Action |
| Perceived Time per Page |
The average amount of time that it would take the beacon to play each page in the transaction. This is a good metric for setting thresholds because it is the closest active measurement of what the user-experience is likely to be. Because it is normalized on a per-page basis, Perceived Time per Page is also a good metric for comparing the relative performance of different transactions. User ActionUse this metric to identify problem transactions. After you identify a transaction that's slow to respond to user requests, you can drill down and analyze each phase of the transaction to isolate and repair the problem. |
| Perceived Slowest Page Time |
The amount of time that it would take the beacon to play the slowest page in the transaction. This is a good metric for setting thresholds because it is the closest active measurement of what the user-experience is likely to be. User ActionUse this metric to identify problem pages. After you identify a page or transaction that's slow to response respond to user requests, you can drill down and analyze each phase of the transaction to isolate and repair the problem |
| Time per Connection |
This is the Connect Time divided by the number of connections made while playing a transaction. User ActionSlow Time per Connection has nothing to do with the content of the page itself. It is likely caused by a slow network or a busy Web server, which prevents the request from getting to the Web server in a timely manner. Transactions that use HTTPS will typically have a much higher Time per Connection than transactions that use HTTP. |
| First Byte Time per Page |
This is the First Byte Time divided by the number of pages in the transaction. User ActionA high First Byte Time per Page suggests that there may be high network latency between the beacon and the service. Some applications generate an entire page before sending the first byte of that page. For such applications, a high First Byte Time could also indicate that the servers are taking a long time to generate each page. |
| Status Description | If the beacon is unable to run the transaction successfully, this metric returns a description of the error that prevented the transaction from running. |
Related Topics
About Web Application Management
Enterprise Manager Information Roadmap
Copyright © 1996, 2007, Oracle. All rights reserved.