VuGen supports the recording of RTMP Tunneled steps in Flex application which are split into the following step types:
- Messaging support. The Flex protocol supports enhanced record and replay of messaging and has been verified for Adobe LiveCycle Data Services ES2 Version 3.1.
Streaming support. The Flex protocol supports enhanced record and replay of streaming. For details, see RTMP/RTMPT Streaming.
When you record a Flex stream, by default, VuGen generates a single flex_rtmp_tunneled_send step in place of many flex_rtmp_tunneled_send steps. This step makes your script more readable (eliminating tens or hundreds of lines) and makes the replay more reliable.
Note: The new flex_rtmp_tunneled_send step is generated when the Generate single RTMP/T step option is selected in the Flex:RTMP pane of the Recording Options dialog box. Although this step makes the script more reliable, it does not replay certain actions you may perform while recording your script, such as pause and seek. It also does not replay the automatic requests that the client performs when Dynamic Stream is in use.
If it is important to replay these actions, you can clear the Generate single RTMP/T step option in the Flex> RTMP pane of the Recording Options dialog box, which causes LoadRunner to generate the steps for all of the raw streaming data.
However, to ensure proper replay, you must manually modify the generated script as described in RTMP/RTMPT Streaming.
The above functionality has been verified for Flash Media Server versions 3.5 and 4.
- Externalizable objects. VuGen supports externalizable objects over RTMP Tunneled. For details, see Externalizable objects in Flex scripts.
- User Data Points. VuGen generates a number of new data points that provide more useful information for analysis.
- The Flex RTMP-Tunneled protocol supports manual correlation using web_reg_save_param_xpath API.
For additional details on flex_rtmp_tunneled_send including a complete example, see the Function Reference.