Disconnects an HTTP client from an RTMP server.
|Alphabetical Listing of Flex Functions (FLEX)|
int flex_rtmp_tunneled_disconnect( const char *stepname, "SessionID=<session identifier>", LAST );
This function returns LR_PASS (0) on success or LR_FAIL (1) on failure. Note that LR_PASS and LR_FAIL generally indicate whether the function call completed without an exception, and not that the test step succeeded.
All input string arguments (char type) except the step name can be parameterized using standard parameterization.
|stepname||A descriptive, unique name for this step. Use any text.Mandatory.|
|SessionID||The unique name of the session on which this function operates. Mandatory.|
|LAST||The delimiter marking the end of the argument list.|
The flex_rtmp_tunneled_disconnect function disconnects a client from an RTMP server where the connection was made over HTTP.
Make sure the flex_rtmp_tunneled_connect function has been added to the script before calling the flex_rtmp_tunneled_disconnect function.
Connections remain open between script iterations unless the flex_rtmp_tunneled_disconnect function is invoked. When reusing existing connections, certain operations (such as the RTMP handshake operations) are bypassed. Consider whether the time for performing these connection operations should be included for load testing purposes, and, if so, add the flex_rtmp_tunneled_disconnect function to the script.