Applying DFEs to a String

Note: This topic applies to Web - HTTP/HTML and Silverlight Vuser scripts, and to Web - HTTP/HTML steps inside Flex Vuser scripts.

You can apply DFEs to a Vuser script to decode encoded data in the script. You can apply the DFEs:

For an overview of DFEs, see Data Format Extensions (DFEs) - Overview.

Note: After you apply a DFE to a string in a Vuser script, VuGen adds an entry to the Tasks tab. The added entry indicates that a correlation scan should be performed. For details on performing a correlation scan, see Correlating.

To apply a DFE to an encoded string in a Vuser script:

  1. Open the script in VuGen, and select the encoded text string.
  2. Right-click inside the selection, click Decode with DFE, and click the name of the chain that contains the DFEs to decode the encoded string. For details on how to define a DFE chain, see How to Define a Chain of DFEs.

    VuGen replaces the selected text with a parameter, and adds a web_convert_from_formatted function that contains the decoded equivalent of the originally selected text.

    Note: To change the name that VuGen assigns to new parameters, right-click some encoded text in the Vuser script, click Decode with DFE > Advanced, and then specify the parameter name in the Target Parameter box. VuGen will add a counter to the parameter name, and increment the counter as required.