Smooth Streaming is an Internet Information Services (IIS) Media Services extension that provides high-quality video streaming to clients over HTTP. Smooth Streaming adapts the stream rate and quality by monitoring the local bandwidth and video playback performance of the client while traditional streaming delivers the content at a fixed rate and quality.
To prepare a script for load testing for applications that use Smooth Streaming:
- Create a Web (HTTP/HTML ) Vuser script. For details see, Create and open Vuser scripts.
Look for the “Manifest” request at the start of the streaming communication:
Following the “Manifest” request, you should find a number of streaming requests:
Create and configure parameters to emulate different bandwidths than the ones that were recorded. For example:
In the streaming request, replace QualityLevel with a parameter named 'qualityLevel'.
Configure the 'qualitylevel' values that will be used during each iteration of the load test in the Parameter Properties dialog box.
- Replay the script and verify that the size of the response from each request corresponds to the value of the parameter that was sent.