LoadRunner 9.1 - Flex Protocol Recording
Written by Meena on May 5, 2008 – 1:26 pmLoadRunner 9.1’s Flex protocol includes both AMF3 and Http protocols in its options. For testing applications using Flex and AMF3 protocols, these options need to be explicitly added in the recording options. To do this:
1. Click on options in the recording window.
2. Check the AMF and Http protocols in the Recording Options window under the subhead - Protocols.
3. Check the “Try to encode externizable object” option in the “Code Generation” Subhead of Recording Options window.
Recording after these options are checked would give more readable code as XML rather than Binary.
Tags: Flex, Loadrunner, Performance Testing, vugen
Posted in Performance Testing |



May 7th, 2008 at 10:25 pm
Thanks for the Info.
I just started using LR9.1 for esting flex App.
The response to one of the flex calls is very big. The xml view is not able to display it.
Does any body, if there is an option any where that can be set so that the entire xml can be displayed in the view??/
November 13th, 2008 at 12:40 pm
Do you need to correlate the MessageIds, CorrelationIds etc and other unique GUID like numbers you see in the XML? My scripts work fine for multiple users without correlation, but it would help to know more about how these ids are generated and work.
November 13th, 2008 at 10:06 pm
I had to correlate only the “DSIDs” that appear in these requests. These values changed during the flex_ping() requests. I figured these ids made a difference by recording and replaying an “add” request. We might not see the difference with a “view report” etc request kind of test cases.
November 13th, 2008 at 10:08 pm
Also, to correlate the flex_ping requests I had to get a “qfe.exe” patch from HP. Let me know if you want more information regarding this issue.
November 24th, 2008 at 11:14 am
Yes, It would help to know what this qfe.exe patch is all about. Please do blog about it.
November 28th, 2008 at 9:49 am
Hi Friends,
I am coming across few issues working with flex.
I have AMF, Flex, http protocol to record a flex based app with all the suggestions provided in some of the forums like enabling the externizable objects.
The script automatically captures the inputted data under the transaction amf_call which is displayed in XML format but with none of the inputted values are present in these XML tags.
rest of the script is captured either by Flex_remoting_call and Web_url and these scripts are working fine except the amf_call section.
and i happen to see a error message in the Replay log as Invalid AMF response - EMPTY response body.
and in the Genertion log the following message is displayed in the first line:
AMF notify : AMFfilter_init(1)
Please help me in this regard
February 18th, 2009 at 9:20 am
Hi,
I tried to record a flex application using flex and amf protocol in loadrunner 9.1.The application was built using flex 3.0 version.Our Loadrunner 9.1 supports only flex version 2.Is there any update version of Loadrunner to support flex 3.0.Thanks.
April 2nd, 2009 at 2:29 am
Hi.This question is for Meena who had suggested that we acquire “qfe.exe” patch from HP to handle the flex_ping() related dynamic data handling. We have a similar issue and need to corelate DSID, messageID, clientID etc. Please let us know if you were able to handle such dynamic values by getting this patch or do we need additional addons from HP . Thanks in advance for your help.
April 2nd, 2009 at 6:23 am
Yes, to get any data out of the response from the flex_ping() request you would require the patch from HP. Please contact your HP contact for the same. Good Luck!
April 2nd, 2009 at 1:28 pm
Hi Meena,
My application is devoloped in Flex. I am recording the script with multi protocol (AMF+Web).
Can you please tell me how to correlate in AMF+Web protocol. Because the values are changing while recordind and replaying.
April 3rd, 2009 at 6:48 am
Hi Meena,
The problem is we are not able to correlate some of the dynamic values generated in the script using flex protocol.Generally we will be able to correlate only the values that occur in the response(from the Generation log/Recording log).
In this case the first occurence of the dynamic value (for eg:Message Id) lies in the request body in the Generation Log.
We got the patch s/w from the HP people but still
the dynamic value occurs in the request.
Can you please help us out.
Highly appreciate your support.
Thanks.
April 10th, 2009 at 3:48 am
Hi All,
I am trying to test the web application in which flex objects are used. I recorded the script using trial version of loadrunner with multiple protocols (web http/html and flex) and while running the scripts in controler, I am seeing the license is not supported error. Does any one have idea how we can run the flex type users using trial version of Load runner or cracker for flex protocol or any other free tools supports flex.
Really appreciate your response on this..
Thanks,
Nagendra
May 6th, 2009 at 2:12 pm
Hi Anyone can help.
We have Load runner 9.0 Sw, I am going to test the app server is Felx builder 3.0. Is there any we can record the script using Load runner 9.0 protocols.
I recorded the script using WEB(HTTP/HTML) protocol when I replay i didnot see any errors messages but in the runtime viewer I saw XML code.
I called HP and they suggested that we need to install load runner 9.5 to get the Flex protocol to use Flex builder 3.0 applications.
May 19th, 2009 at 2:21 pm
Hi anyone can help.
How can i record the Flex builder 3.0 app in LR 9.5. same as regular way or not.
web_concurrent_start is comming.
wht type of recording options do we need to use?
do we need to change anything after record?
June 9th, 2009 at 9:03 pm
Hello Nagendra, you cannot use the LR controller without a license.
June 22nd, 2009 at 5:05 pm
Hi,
This question to meena and all,
I am also facing the same problem on correlating DSID, Message ID from the flex_ping request. As you said to get the patch from HP support, how did you make the script to work correctly? Is that patch doing the correlation of the dynamic data automatically or patch gives you any feature to capture the response from the flex_ping request.I am using LR 9.5
Any help or advice greatly appreciated.
Thanks
June 23rd, 2009 at 10:24 pm
After installing the qfe.exe patch we get the option to capture the response returned by the flex_ping request like DSID which was not possible otherwise.