Get Title rule
The following example rule for Data Parser Session
Agent uses a single-pass search on the RSP buffer for the <title>stuff</title>
tag of an HTML document. If found,
it then applies a regular expression to acquire the content inside
the tags and to apply the value to the Title
parameter
in the request buffer:
[Title]
Action=Search
SearchType=SinglePass
DisplayName=Title
SearchString=<title>
Regular expression=<title.*</title>
Get User ID rule
This rule uses a single-pass search
on the request buffer to find TLTUID=
. If it is found,
the name/value pair consists of TLTUID_MD5=
and everything
to the next carriage return. An MD5 hash is applied to the value.
[TLTUID]
Action=Search
SearchType=SinglePass
DisplayName=TLTUID_MD5
SearchString=TLTUID=
EndTag=\r
MD5=True
Section=Request
Apply XSL to Request buffer rule
This rule applies the ClientEventXSL.xsl
transform file to transform the REQ buffer.
Note the DisplayName parameter is set to none
. While
DisplayName parameter is a required part of a well-formed rule, the
XSL denotes the name of the name/value pair, and this parameter is
not used.
[ClientXSL]
Action=Search
SearchType=XML
DisplayName=None
SearchString=ClientEventXSL.xsl
Section=Request