Recording Flex Scripts

When you record a Flex application, VuGen generates Flex Vuser script functions that emulate the application. The following tables describe the functions that are supported by the Flex protocol.

AMF

VuGen's Flex protocol lets you create scripts that emulate Flex applications working with AMF0 and AMF3.

Function Name Description
flex_amf_call
Sends an AMF request.
flex_amf_define_envelope_header_set
Defines a set of envelope headers.
flex_amf_define_header_set
Defines a set of AMF headers.
flex_login
Logs on to a password-protected Flex application.
flex_logout
Logs off of a password-protected Flex application.
flex_ping
Checks if a Flex application is available.
flex_remoting_call
Invokes one or more methods of a server-side Remote object (RPC).

Back to top

RTMP Functions

Function Name Description
flex_rtmp_connect Connects a client to an RTMP server and sets connection options.
flex_rtmp_disconnect Disconnects a client from an RTMP server.
flex_rtmp_receive_stream Receives streaming data from an RTMP server.
flex_rtmp_receive Receives responses from an RTMP server.
flex_rtmp_send Sends a request to an RTMP server.

Back to top

RTMP Tunneled Functions

Function Name Description
flex_rtmp_tunneled_connect Connects a client to an RTMP server over HTTP.
flex_rtmp_tunneled_disconnect Disconnects a client from session over HTTP with an RTMP server.
flex_rtmp_tunneled_send Sends a request to an RTMP server over HTTP.

Back to top

For detailed syntax information about all of the Flex functions, see the Function Reference.