Latest Posts »
Latest Comments »
Popular Posts »

LoadRunner 9.1 - Flex Protocol Recording

Written by Meena on May 5, 2008 – 1:26 pm

LoadRunner 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.

LoadRunner Recording Window

2. Check the AMF and Http protocols in the Recording Options window under the subhead - Protocols.

LoadRunner Recording Options

3. Check the “Try to encode externizable object” option in the “Code Generation” Subhead of Recording Options window.

LoadRunner Recording Options

Recording after these options are checked would give more readable code as XML rather than Binary.


Tags: , , ,
Posted in Performance Testing |

17 Comments to “LoadRunner 9.1 - Flex Protocol Recording”

  1. JK Says:

    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??/

  2. VJP Says:

    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.

  3. Meena Says:

    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.

  4. Meena Says:

    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.

  5. VJP Says:

    Yes, It would help to know what this qfe.exe patch is all about. Please do blog about it.

  6. ADITYA Says:

    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

  7. sumathi Says:

    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.

  8. Jeyanthi Says:

    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.

  9. Meena Says:

    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!

  10. Imran khan Says:

    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.

  11. Jeyanthi Says:

    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.

  12. Nagendra Says:

    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

  13. Vijaya Says:

    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.

  14. Vijaya Says:

    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?

  15. Meena Says:

    Hello Nagendra, you cannot use the LR controller without a license.

  16. rdkannan Says:

    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

  17. Meena Says:

    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.

Leave a Comment