Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: How to encode the deflate data into base64 format?

$
0
0

DFE;'s are automatic in nature. once you set them up in the record settings. when the script is generated the DFE chains, help convert the base64,gwt,json or any custom format in to an XML based format, so that one can easily parameterize. 

 

to make use of them 

How to Define a Chain of DFEs<script src="/t5/forums/replypage/board-id/sws-LoadRunner_SF/SkinSupport/MadCapAll.js">// // </script>

Defining the DFE chains includes the following tasks:

 

  1. In VuGen, open the Vuser script.

    Click Record> Recording Options> Data Format Extension> Chain Configuration.

    Under Chains, click the New Chain button  and create a new chain. The new chain is listed in the Chains pane.

  2. Adding DFEs to the new DFE chain

    In the Chains pane, select the chain to which you want to add DFEs.

    In the Chain: <chain name> pane, click the Add DFE button 

    In the Add Data Format Extension dialog box, select the DFE that you want to add to the chain, and then click OK.

    When you add the GWT DFE or the Prefix Postfix DFE to a chain, you are required to supply additional configuration details about the DFE. 

     

    After you add a DFE to the chain, select the appropriate option from the Continue Processing list. 

    Then  Enable DFE Support 

    1. In VuGen, open the Vuser script.
    2. Click Record> Recording Options> Data Format Extension> Code Generation.

    3. Select the Enable data format extension check box.

  3. How to Configure DFE Support

    1. Under Configuration, from the Format list, select the parts of the Vuser script to which the DFEs will be applied.

      • Code and snapshots. Applies DFEs to convert the Vuser script code and the snapshot data.

      • Snapshots. Applies DFEs to convert the snapshot data only - not the Vuser script code.

      • Select the Verify formatted data check box to check the results of the data conversion by converting the converted data back to the original state, and then verifying that it matches the original data.

then record the script. once it is generated you will see the xml formatted request. takes a good bit of trial and error. post any errors you might get with details and steps. screenshots if possible


Viewing all articles
Browse latest Browse all 12134

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>