locked
Load Testing Silverlight applications RRS feed

  • Question

  • HI,

    I'm looking for the loadtesting tool to test Silverlight application 4.0, could anybody please suggest me any tool which is compatible to test the Silverlight applications.  

     

    Monday, July 5, 2010 3:53 AM

All replies

  • Load tests are something you do to an application that has many users, like for instance a website or a webservice, by simulating many users hitting the same site. However, Silverlight runs on the client, so there will never be more than one user at a time. Load tests wouldn't really make sence in that case, since you would never simulate more than one user.

    Monday, July 5, 2010 3:49 PM
  • Of course you can run a load test on SIlverlight applications. It is true that they run on the client, but it is also true that they often communicate with a webservice in the backend, and in that way the put some load on the server.

    You can start a Test Project (New Project -> Visual C# -> Test -> Test Project) in Visual Studio 2010 (I'm not 100% sure, but i think it applies to VS2008) and then run a Performance Test (New Item -> Tests -> Performance Test). An Internet Explorer window will be prompted. There you can perform some actions that the users would normally do when interacting with your application. The Performance Test will catch all the web requests sent through the browser and create a test.

    Once you have this test ready, you can use it to create a Load Test (New Item -> Visual C# Items -> Load Test). The wizard will help you setting the parameters. Now you only have to run it. Good luck!

    Monday, July 5, 2010 4:41 PM
  • Of course you can run a load test on SIlverlight applications. It is true that they run on the client, but it is also true that they often communicate with a webservice in the backend, and in that way the put some load on the server.

    But then you are not loadtesting your silverlight application, but load testing your webservice. Throwing Silverlight into the mix of that is only confusing the test. There's already a good set of tools in VS for testing services, as you kinda hint at.

    Monday, July 5, 2010 4:51 PM
  • But then you are not loadtesting your silverlight application, but load testing your webservice. Throwing Silverlight into the mix of that is only confusing the test. There's already a good set of tools in VS for testing services, as you kinda hint at.

    You're absolutely right, but in the way that I have suggested you do not test the webservices, but the impact that the SL application has on the services, which is a different thing. I have used this kind of testing in a project recently and I have found the results very useful.

    Monday, July 5, 2010 5:05 PM
  • Could you guys please send me the link to download the evaluation version of Visual studio 2010 for the performance testing of the Silverlight applications.

    Wednesday, July 14, 2010 1:26 PM
  • I don't think there's any evaluation versions of Visual Studio 2010. The only thing you can get for free is the express editions which doesn't include testing. 

    Sunday, July 18, 2010 12:01 AM
  • If you want to load test the services called by the Silverlight client, this boild down to simple WCF calls. There is a number of tools besides VS that can trace and replay http requests, including Fiddler. (See http://en.wikipedia.org/wiki/Load_testing for other examples.)

    And since the server doesn't actually care whether the client is Silverlight or not, you may even build common unit tests to drive those calls.

    Thursday, July 22, 2010 3:30 AM
  • Hi!

    I try to create script (Web Performance Test) to test Silverlight 4.0 application server. When I record user actions no problem appears. But when I try replay recorded script - Silverlight.js that comming with first responce redirect me to download Silverlight on the link "http://go.microsoft.com/fwlink/?LinkID=149156&v=4.0.50826.0"
    Silverlight 4.0 on my computer installed.

     

    Anyone else faced with this problem?

     

    Tuesday, April 19, 2011 11:34 AM
  • Talk about a literal interpretation!

    Yes, Silverlight applications need to be performance tested.    The 'one user' comment is funny.  I suppose if you buit an application and only expected one user to ever access it, then yes, you would not need to performance test it.

    If however, a large number of people are accessing your Silveright (each one of them on their own machine), then of course your server should be performance tested to see how it handles the Silverlight generated load.

    HP Loadrunner version 11 works fine for loadtesting Silverlight based applications.

    Tuesday, April 19, 2011 12:12 PM
  • 1) @venkatae... You could download FREE :

    * either VS 2010 Ultimate : http://www.microsoft.com/visualstudio/en-us/try

    * or better get a Virtual Machine all setup for you with the entire MS ALM (TFS 2010 + VS 2010 with proper Service Pack and Powertools installed) : http://memoprojects.blogspot.com/2010/12/alm-tfs-2010-vs-2010-where-to-start.html (see Prerequisites)

     

    2) "HP Loadrunner version 11 works fine for loadtesting Silverlight based applications" ==> I did not try "HP Loadrunner", but expected that from what I heard, and funny enough, I was about to try it for load testing our SL LOB application.

    I am too trying to find tools to Load and Performance Test our SL4 LOB application (I know 1 SL app runs on 1 PC at a time !), and considered combining VS2010 Ult + HP ALM. I am very familiar with "MS ALM", and was recently amazed by the only few things I know about “HP ALM 11” (particularly Quick Test Pro, Service Test), which are really easy to use with only Drag & Drop…. And works with Silverlight 4 AND WCF Binary mode.

     This is particularly true with HP Service Test 11 : Drag & Drop workflows and Drag & Drop your WCF Binary inside in a visual manner  è DONE ! If you are lazy taping input parameters, just use Fiddler2 (with WCF Binary addon to decrypt your XML) and copy/paste into HP Service Test.

     

     ==> Some relevant comments here by someone who uses both MS ALM and HP ALM : http://stackoverflow.com/questions/1460866/vsts-test-edition-or-hps-loadrunner

     ==> and here : http://www.sqaforums.com/showflat.php?Cat=0&Number=615965&an=0&page=0

    Vincent THAVONEKHAM
    www.thavo.com 


    Monday, July 4, 2011 7:21 PM
  • Consider using WAPT with Module for Silverlight testing

    Monday, August 1, 2011 4:58 AM
  • What about testing the performance of the silverlight app with respect to the individual user though as well. Is there any way to monitor and test the difference across slower or faster hardware for example? I have another post on this from a few minutes ago, but this sort of has to do with this thread as well.

    Here's a good theoretical problem: What if Im a user and Im intentionally trying to slow down the animation to cheat in a game by different means, incluing using slow hardware or a program to slow down faster hardware. How would we as developers stop that from happening?

    Tuesday, August 30, 2011 2:16 PM
  • Hey,

    Try to use stresstimulus :

    http://stresstimulus.stimulustechnology.com/

    it is a good tool.

    Regards,

    Jalal

    Tuesday, September 13, 2011 10:19 AM
  • Hi venkataenugu,

    Hope this will answer you (and in fact ... also answer myself, on my previous answer to you the 7/4/2011 11:21:42 PM, as I kept searching).

    Here is a good combination of tools to Web test and Load Test Silverlight 4 Line Of Business application.

    After many days of investigations and trials, I found quite an easy way for doing it, based on old and free tools : Fiddler2 beta + stresstimulus add-on {with WCF binary messages record/play}.

    Here are the details.

    http://memoprojects.blogspot.com/2011/10/alleluia-load-test-tool-for-silverlight.html

    As I am trying to find other alternative possibilities, if you have better solutions, please let us know.

    Regards,


     

    Vincent THAVONEKHAM.

    Thursday, October 6, 2011 5:48 AM
  • Thursday, December 8, 2011 1:35 AM
  • As a matter of update, StresStimulus has a new website http://www.stresstimulus.com/
    Version 4.0 has a much better support for Silverlight 4 and 5. Free Edition now includes 250 virtual users. Five new load testing videos are added as well.


    Vadim Kleyzit

    Sunday, June 28, 2015 3:34 PM