LoadRunner and Performance Center
Showing results for 
Search instead for 
Do you mean 

Load Test your Smooth Streaming applications with HP LoadRunner

Anonymous_User1 ‎08-26-2013 10:00 AM - edited ‎09-22-2015 01:39 PM

This post was written by Yoav Agami, from the HP LoadRunner R&D team.


Smooth Streaming is an Internet Information Services (IIS) Media Services extension which provides streaming of high-quality video to Silverlight and other clients over HTTP.  The major difference between Smooth Streaming and traditional streaming is that traditional streaming delivers the content at a fixed rate and quality, while Smooth Streaming adapts the stream rate and quality by monitoring the local bandwidth and video playback performance of the client.  This article explains how you can use HP LoadRunner to load test applications that use Smooth Streaming.


Here are the steps you need to take to create a load test of a Smooth Streaming application:


1)  Use the Web (HTTP/HTML) protocol to record your Smooth Streaming application, and generate a script.


Note: Before you start recording,configure the Recording Options dialog's General > Recording tab as follows, depending on whether you want to record a URL-based script or HTML-based script:

  • URL-Based Script:  Select 'URL-based script', and click the 'URL Advanced' button.  In the resulting 'Advanced URL' dialog, check the 'Use web_custom_request only' checkbox:


  • HTML-Based Script: Select 'HTML-based script', and click the 'HTML Advanced' button.  In the resulting 'Advanced HTML' dialog, select 'Record in separate steps and use concurrent groups':


If you selected HTML-based script, remove the web_custom_start(NULL); and web_concurrent_end(NULL); steps for streaming steps.


2)  Look for the “Manifest” request, which is the start of the streaming communication:




3) After the “Manifest” request, you should find a number of Streaming requests, which look like the following:






4) You can configure the the script to emulate different bandwidths than the ones recorded:


      - Create parameters for the values you want to change


      - For example, replace “QualityLevels” in the previous step with a parameter called ‘qualityLevel’, as follows:




You can configure the values that will be used for ‘qualityLevel’ in each iteration from the Parameter Properties dialog box:




5) Replay the script. Verify that the size of the response from each request corresponds to the value of the parameter that was sent.





Leave us a comment in the box below to let us know how you are load testing your Smooth Streaming applications.




Thanks to Yoav for providing this article!



Click here to learn more about HP LoadRunner




About the Author


on ‎08-27-2013 03:08 PM

Short and to the Point. Good job Yoav.



on ‎05-26-2014 10:11 PM

We are working for one of the video streaming application, followed all the above said steps, but when we replay the recorded script we see warning in the replay log as "Warning -26682: Embedded space(s) or misplaced quotes in value of "Pragma" response header for"


Is this some kind of corrleation we missed out or ?




on ‎05-27-2014 12:15 AM

Hi Prasanna,


This doesn't sound like a problem with correlations. The user send the quality level that he wants (user can set parameter that can change in  each request).


Can you share your AUT or script?




Nov 29 - Dec 1
Discover 2016 London
Learn how to thrive in a world of digital transformation at our biggest event of the year, Discover 2016 London, November 29 - December 1.
Read more
Each Month in 2016
Software Expert Days - 2016
Join us online to talk directly with our Software experts during online Expert Days. Find information here about past, current, and upcoming Expert Da...
Read more
View all