Hitachi

JP1 Version 11 JP1/Performance Management - Agent Option for Service Response Description, User's Guide and Reference


7.3.2 Operation Settings window

The Operation Settings window is used to set configurations for the recorded operations. The window title and the currently edited operation name are displayed on the titlebar. To display this window, in the IE Recorder (main) window, from the Edit menu, choose Operation Settings. This window consists of tabs for three pages:

The following subsections describe the items displayed on each page.

Organization of this subsection

(1) Wait Time page

The Wait Time page is used to set the wait time to replay the operations.

Figure 7‒25: Operation Settings window (Wait Time page)

[Figure]

The following describes the displayed items.

Wait to replay check box

Specify this check box when you set the wait time to replay the operations. This check box is not selected by default.

Wait time:

Specify the wait time within the range from 1 to 600 seconds.

If Wait to replay check box is not selected, the wait time is set to 0. If you specify the decimal fraction, truncate the value at the decimal point. If none is specified, the wait time is reset to the previous value.

Specify the Wait time when you specify the wait time to replay the next operation. For browser navigation operations, the specified time is the time to wait for the completion of moving to the URL page that is recorded. For other operations, the specified time is the time to wait until operation execution starts. This wait time can enable you to monitor the Web pages that do not complete these page transition or the Web pages whose page transitions are not detected.

For example, the next operations are carried out immediately after the pages are displayed on the IE Recorder's measurement tests or replaying by IE probe. Yet, since there must be time lags, in reality, when you carry out the next operation after the page is displayed there is a great difference between the time you record the IE scenario and the time takes IE Recorder's measurement tests or replaying by IE probe. In this case, measurement tests or replaying by IE probe become similar to real situations if you specify Wait time to, for example, the Click Link operation. Note that no notification window or message is displayed even if the specified wait time is exceeded.

The following table lists the default status of items on the Wait time page:

Table 7‒7: Default status of items on Wait time page

No.

Operation

Item

Status

1

HTML operation

Waits to replay

--

Wait time#

T1

If page transition occurs, automatically performs the next operation immediately.

--

2

Browser operation

Enter address

Waits to replay

--

3

Wait time#

T1

4

If page transition occurs, automatically performs the next operation immediately.

--

5

Go forward/ Go back

Waits to replay

--

6

Wait time#

T1

7

If page transition occurs, automatically performs the next operation immediately.

--

8

Refresh

Waits to replay

--

9

Wait time#

T1

10

If page transition occurs, automatically performs the next operation immediately.

--

11

Navigation

Waits to replay

Y

12

Wait time#

T1+10

13

If page transition occurs, automatically performs the next operation immediately.

Y

14

Close tab

Waits to replay

--

15

Wait time#

T1

16

If page transition occurs, automatically performs the next operation immediately.

--

17

Dialog operation

Popup dialog box

Waits to replay

Deactivated

18

Wait time#

Deactivated

19

If page transition occurs, automatically performs the next operation immediately.

Deactivated

Legend:

Y: Selected by default

--: Not selected by default

T1: The execution time when you record the operation

#

The initial status of the item when Wait to replay is activated. If Wait to replay is deactivated, the initial status is ineffective.

If page transition occurs, automatically perform the next operation immediately. check box

Select this check box when you carry out the next operation immediately if page transitions occur during the wait time. This check box is activated only for the navigation operations.

(2) Operation Target page

The Operation Target page is used to set how to identify the operation target tags. After the IE scenario is recorded, the attributes or the positions of the tags are changed due to the layout change of the monitoring target site. In this case, you can cope with the layout change without re-recording the IE scenario. Also use this page when the IE scenario is not replayed as you intend because the default identification method does not identify the tag. Each item on this page is activated only for HTML operations.

Figure 7‒26: Operation Settings window (Operation Target page)

[Figure]

The following describes the displayed items.

Filter Conditions:

Specify the filter conditions to identify the operation target tag when you replay the recorded operations. If you specify either Inner text or Attributes check box, replay the operations that match the condition. If you specify both Inner text and Attributes check box, replay the operations that match the both conditions.

Tag name:

Display the tag name for the selected operation. This item cannot be edited.

Inner text check box

Select this check box when you set the tag with the same inner text as the operation target. If the tag name is a, Inner text check box is selected by default.

Attributes check box

Select this check box when you identify the attributes of the operation target tag. This check box is not selected by default. The list view shows the attributes of the tags when the operation is recorded. The tag with the same attribute value is selected as the operation target. If you select multiple attributes, the tag with the same attribute values is selected. Note that the list view may list the attributes that are not defined in the HTML file but has default values.

Tag position:

Specify the tag position within the range from 1 to 2,147,483,647. The tag that occurs in the specified position is selected as the operation target. The default value is the tag position when you record the operations. If you specify more than the maximum value, 2,147,483,647 is set as Tag position. If you specify less than the minimum value, 1 is set as Tag position. If you set a decimal fraction, truncate the value at the decimal point. If none is specified, Tag position is reset to the previous value.

The following shows that the default value for Tag position varies depending on the tag name.

  • When the tag name is a:

    The tag position of the operated tag among the same tags with the same inner-text, counting from the beginning of the HTML file.

  • When the tag name is other than a:

    The tag position of the operated tag among the same tags, counting from the beginning of the HTML file.

The following shows that the operation target tag varies depending on the Filter Conditions.

  • Filter Conditions is not selected:

    Among the tags displayed in the Tag name, the tag in the Tag position is selected as the operation target.

  • Inner text is selected:

    Among the tags displayed in the Tag name with the same inner-text, the tag in the Tag position is selected as the operation target.

  • Attributes is selected:

    Among the tags displayed in the Tag name with the same attribute values, the tag in the Tag position is selected as the operation target.

  • Both Inner text and Attributes are selected:

    Among the tags displayed in the Tag name with the same inner-text and attribute values, the tag in the Tag position is selected as the operation target.

The following table list shows how the combination of options affects the behavior:

Table 7‒8: How the combination of options affects the behavior

Specifiable combination

Behavior

Applicable case

Inner text

Attribute value

Tag position

Y

Y

Y

The Tag-positionth tag with the same inner-text and attribute value is selected as the operation target.

Use this combination when the operation target is not identified using the combinations listed below.

N

Y

Y

The Tag-positionth tag with the same attribute value is selected as the operation target.

Use this combination when the operation target has no inner-text but has a unique attribute value. Do not use this combination when there are many tags with the same attribute value and the number of those tags in the page changes.

Y

N

Y

The Tag-positionth tag with the same inner-text is selected as the operation target.

This combination is a default setting for the <A> tag. Use this combination when the operation target has a unique inner-text. Do not use this combination when there are many tags with the same inner-text and the number of those tags in the page changes.

N

N

Y

The Tag-positionth tag is selected as the operation target.

This combination is a default setting for tags other than the <A> tag. Use this combination when the content of the page does not change. Do not use this combination when the number of the same tag in the page changes.

Legend:

Y : Selected

N : Not selected

Tag position is always selected.

Note that the tag position is a relative position, counting among the tags identified by the inner-text and attributes. Therefore, if you change the combination of options, the number of the tags identified by the inner-text and attributes also changes so that you reconsider the tag position.

The following shows the examples:

Figure 7‒27: The page when recording

[Figure]

As shown in the Figure 7-27, when you click the Here link of the Maintenance Information Updates in the page where the same inter-text exists, the following information is recorded:

Figure 7‒28: Recorded Information

[Figure]

Yet, when this page changes as in the following figure, the tag position of the Maintenance Information Updates is Here link becomes 3rd. Thus, replaying fails.

Figure 7‒29: The page when replaying

[Figure]

In this case, you cope with this change in the following 3 ways. Note that if you cope in the (ii) or (iii) way you modify the recorded operation information so that you have the knowledge enough to analyse the HTML source. If you cannot analyse the HTML source, either you re-record the IE scenario or acquire the necessary information from the administrator of the monitoring target site (or page).

(i) Re-record the IE scenario

Re-record the IE scenario in the changed page. If you cope in this way, you do not have to care about the page change.

(ii) Change the tag position

Since the tag and inner-text of the operation target does not change, you can cope with the page change by changing the tag position.

Figure 7‒30: Modification by changing the tag position

[Figure]

(iii) Change the identification method and the tag position

Change the identification method for the recorded operation from the inner-text to the attributes. In the example shown in the Figure 7-27 and7-29, the value of the href attribute does not change before and after the page change. Thus, you can identify the tag by using the attribute information. This method is effective, especially when you expect the tags with the same inner-text and each unique href attribute value (URL) to increase in the page. If you take this method, you are required to change the tag position because you change the identification condition for calculating the tag position.

Figure 7‒31: Modification by changing the specification method and tag position

[Figure]

How to identify the operation:

You can check the operation target when you change the filter condition in the following procedure:

  1. Set break point in the operation to check the filter condition.

  2. Replay by step until the operation to check the filter condition.

    The next operation target turns light red.

  3. Select the next operation and open the Operation Settings window and then the Operation Target page.

  4. Change the Filter Conditions and/or the Tag position.

  5. Click the OK button after you change the settings.

    The changed filter condition is evaluated and the next operation target turns red.

    In this way, you can check the operation target when you change the filter conditions.

(3) Response Determination page

The Response Determination page is used to specify conditions to check whether the HTTP response is proper. Define the condition to judge for each operation. All the received pages for each operation are determined. Note that this response determination is applicable only to HTML texts.

Figure 7‒32: Operation Settings window (Response Determination page)

[Figure]

The following describes the displayed items.

Do response determination check box

Select this check box when you check HTTP response. This check box is not selected by default. You can define two conditions.

AND

Select this check box if you determine the response to be proper when both the Determination condition 1 and Determination condition 2 are matched. If either the Determination condition 1 and Determination condition 2 is matched, measurement ends.

OR

Select this check box if you judge the response to be proper when either the Determination condition 1 or Determination condition 2 is matched. If neither the Determination condition 1 nor Determination condition 2 is matched, measurement ends.

String

Specify the string up to 1024 characters to check. Any characters are specifiable. If none is specified, HTTP response is not checked.

Determine

Specify whether Character string is INCLUDED or NOT_INCLUDED in the HTTP response. INCLUDED is selected by default.

Important

Even if you specify response determination for the navigation in the Operation list for IE scenarios, the HTTP response will not be checked. Specify response determination for the operation preceding a navigation operation.