how to test xap file(in silverlight) performance in visual studio ultimate


  • hi all

    if anybody send the information 'How to test xap file performance in visual studio ultimate my requirement is suppose xap file is downloaded how much time it iwll take in vsts.send me reply to

    Friday, January 25, 2013 5:26 PM


  • Hello Venki,

    Thank you for your post.

    If you want to know the performance of xap file download, you can do a web performance test. You can record the download request of the xap file in a web test and then run the test. Then you will see the Request time in Web Test Result Viewer.

    But note that the web test engine executes http requests and does not execute client side script. So if the download of the file is a client side action it will not be executed. But if you are requesting a file from your web server, you should see the file in the http response for the request that tried to pull it down.

    In addition, Web tests work at the protocol layer, the SL client pieces are not tested. However SL apps could use WCF/JSON/REST protocols to communicate with the server. Editing and playback for these payloads have good support with the plug-in, seeVS2010 Web Test Plugins for Web Service Messages.

    For more information, see this blog Testing support for Silverlight apps in Visual Studio 2010. Hope it helps.

    Best regards,

    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, January 28, 2013 1:05 AM