Absent Member.. Absent Member..
Absent Member..

Flex correlation issue

I am recording on Flex protocol on LR 12.01

For a particular AMF call, the response is huge and

1. The snapshot shows a XML response but does not have the value that I want to correlate

2. This value is found in the RAW response body of that request

I am not able to correlate this value(REC0000000794892), neither with regex or the normal web_reg_save_param way ..

As seen in RAW response

strMiddleName:[1]‚& P!REC0000000794892    ’3[com..ib.colt.

As seen in code generation:


regex used : “Regexp=REC([0-9]{13})”

or  “LB/BIN=\\x01\\x06!”,”RB=\\x01\\x01

I dont understand if Loadrunner is not reading from the raw response and hence not able to correlate or Am I missing something....


Please help.

1 Reply
Frequent Contributor.
Frequent Contributor.

Re: Flex correlation issue

Answer from Leonid:

  1. FLEX snapshots are XML based and unfortunately “web_reg_save_param_...” APIs search for values in XMLs and not in the raw responses…
  2. Anyway, there is argument "IsParseResponse” in Flex calls. When set to “No" it prevents parsing the message (response) during the test run. That will allow (I guess, but it worth to check L) to extract value from raw response.
  3. By default, Vugen uses option to prevent huge XML loading into snapshot viewer (to solve performance issue). It is limited to 5 MB, but can be disabled to allow the whole response presentation. (at: Tools->Options->Scripting->Snashots)

Thus the desired value should be visible in Snapshot in order to extract it (for correlation purposes).



The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.