8.5.1 Format and definition of the overall Web transaction file
- Organization of this subsection
(1) Format
<?xml version="1.0" encoding="US-ASCII" standalone="no"?> <!DOCTYPE TRANSACTION_LIST SYSTEM "espwebtrans.dtd"> <TRANSACTION_LIST> <TRANSACTION> <TRANSACTION_PARAM> <!-- TRANSACTION_PARAM --> </TRANSACTION_PARAM> <STEP> <!-- STEP --> </STEP> ... </TRANSACTION> ... </TRANSACTION_LIST>
(2) Definition
(a) XML declaration and document type declaration
Specify the XML declaration on the first line and the document type declaration on the second line. Specify exactly as shown below:
<?xml version="1.0" encoding="encoding-type" standalone="no"?> <!DOCTYPE TRANSACTION_LIST SYSTEM "espwebtrans.dtd">
Specify either of Shift_JIS, EUC-JP, ISO-2022-JP, UTF-8, US-ASCII, or GB18030# as the encoding type, and then declare the Web transaction file with the specified encoding type.
- #
-
GB18030 supports only in Chinese OS and you cannot use the 4 bytes characters.
(b) XML definition
XML tag |
Mandatory |
Role of tag and value to be specified |
---|---|---|
<TRANSACTION_LIST>...</TRANSACTION_LIST> |
Y |
Indicates a list of transactions. This tag contains one or more <TRANSACTION> tags. A new <TRANSACTION> tag can start immediately after a </TRANSACTION> tag. |
<TRANSACTION>...</TRANSACTION> |
Y |
Indicates a single item of transaction information. This tag contains one <TRANSACTION_PARAM> tag and one or more <STEP> tags. |
<TRANSACTION_PARAM>...</TRANSACTION_PARAM> |
Y |
Indicates the parameters that define transaction measurement conditions. This tag contains the <TRANSACTION_NAME>, <TRANSACTION_COMMENT>, <DEFAULT_CHARSET>, <HTML_OUT>, <IGNORE_EMBEDDED_RESOURCE>, <NO_CACHE>, <KEEP_ALIVE>, <DEFAULT_PROXY>, and <USER_AGENT> tags. Some of these tags can be omitted. For details, see 8.5.2(1) <TRANSACTION_PARAM> tag. |
<STEP>...</STEP> |
Y |
Indicates an information item for a single step. This tag contains the <STEP_ID>, <TITLE>, <FRAME_NAME>, <CHARSET>, <REQUEST>, <WEB_AUTH>, <PROXY>, <RESPONSE_PATTERN>, <VARIABLE>, <START_SCOPE>, and <END_SCOPE> tags. For details, see 8.5.2(2) <STEP> tag. |