Share this page

# Record applications using Smooth Streaming

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:

1. Create a Web (HTTP/HTML ) Vuser script. For details see, Create and open Vuser scripts.

2. Look for the “Manifest” request at the start of the streaming communication:

   Copy code

       web_custom_request("Manifest",
           "URI=http://mediad1.microsoft.com/mediad1/isnet/smoothmedia/Experience/BigBuckBunny_720p.ism/Manifest",
           "Method=GET",
           "Resource=0",
           "RecContentType=text/xml",
           "Referer=",
           "Snapshot=t11.inf",
           "Mode=HTTP",
           LAST
       );

3. Following the “Manifest” request, you should find a number of streaming requests:

   Copy code

       web_custom_request("Fragments(video=0)",
           "URL=http://mediad1.microsoft.com/mediad1/isnet/smoothmedia/Experience/BigBuckBunny_720p.ism/QualityLevels(50000)/Fragments(video=0)",
           "Method=GET",
           "Resource=1",
           "RecContentType=video/mp4",
           "Referer=",
           "Snapshot=t12.inf",
           LAST);

       web_custom_request("Fragments(audio=0)",
           "URL=http://mediad1.microsoft.com/mediad1/isnet/smoothmedia/Experience/BigBuckBunny_720p.ism/QualityLevels(4000)/Fragments(audio=0)",
           "Method=GET",
           "Resource=1",
           "RecContentType=video/mp4",
           "Referer=",
           "Snapshot=t13.inf",
           LAST);

   Create and configure parameters to emulate different bandwidths than the ones that were recorded. For example:

   1. In the streaming request, replace QualityLevel with a parameter named 'qualityLevel'.

      Copy code

          web_custom_request("Fragments(video=0)",
              "URL=http://mediad1.microsoft.com/mediad1/isnet/smoothmedia/Experience/BigBuckBunny_720p.ism/QualityLevels({qualityLevel})/Fragments(video=0)",
              "Method=GET",
              "Resource=1",
              "RecContentType=video/mp4",
              "Referer=",
              "Snapshot=t12.inf",
              LAST);

   2. Configure the qualityLevel values that are used during each iteration of the load test in the Parameter Properties dialog box.

4. Replay the script and verify that the size of the response from each request corresponds to the value of the parameter that was sent.

Back to top

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: