none
How to record a Thick Client Application with VSTS Ultimate 2013 RRS feed

  • Question

  • Hi Experts,

    Could any one please let me know the procedure/pre-requisites/methodology to record a thick client application built on .net framework using VSTS Ultimate 2013 webtest/loadtesting tool.

    Please find below the technology stack that has been developed,

    Backend Service Calls: WCF

    Application Code: .NET

    and Application Front End: WPF ( Windows Presentation Foundation )

    Kindly let me know if any other details are required.

    Thanks,

    Abhishek



    • Moved by Yang,Chenfei Tuesday, September 23, 2014 1:54 AM Test Issue
    • Edited by AbhishekAruru Tuesday, September 23, 2014 6:36 AM
    Monday, September 22, 2014 5:37 AM

Answers

All replies

  • Hi Abhishek,

    Since this issue is related to Visual Studio Test Tool, I will move this thread to Test Tools in Visual Studio 2010 and 2012

    Thanks for your understanding,

    Regards,

    Jimmy


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, September 23, 2014 1:53 AM
  • Thanks a lot Jimmy, and sorry for the inconvenience caused.
    Tuesday, September 23, 2014 6:37 AM
  • Hi Amr_Ayman,

    Thank you for posting in the MSDN forum.

    >>Could any one please let me know the procedure/pre-requisites/methodology to record a thick client application built on .net framework using VSTS Ultimate 2013 webtest/loadtesting tool.

    Actually the VS had the features to test our apps. For example, the unit test, the web test and the load test and others. But different tests have different functions, so if you really want to test your app, we need to know every test’s features (we need to make sure that your app fulfil the requirement of the specific test) and the real function you want to test.

    For example:

    The unit test: It is used to test the class methods.

    The web tests: Web tests are used to test the functionality of Web applications and to test Web applications under load. Web tests are used both in performance tests and stress tests, it is used to test the HTTP requests.

    The load tests: When you add Web tests to a load test, you simulate multiple users opening simultaneous connections to a server and making multiple HTTP requests. When you add unit tests to a load test, you exercise the performance of non-Web based server components.

    The coded UI tests: New feature from the VS 2010, these tests provide functional testing of the user interface and validation of user interface controls.  

    So I mean that we could select the appropriate test type to test your app.

    For detailed information about how to create the unit test/web tests/load tests, see:

    http://msdn.microsoft.com/en-us/library/ms182514(v=VS.90).aspx

    For coded UI tests, refer:

    http://msdn.microsoft.com/en-us/library/dd286726.aspx. Hope it could help.

    Based on your description, for the windows apps, you would check the real functions you want to test, generally, the unit test/coded UI test would be better for it, and then add it to a load test. But as far as I know, the coded UI test has specific requirement in a load test.

    http://msdn.microsoft.com/library/ff468125(VS.110).aspx

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, September 23, 2014 6:40 AM
    Moderator
  • Hi Jack,

    Thanks a lot for your time and response on this post.

    We would be going ahead with WebTest to record and replay the scripts.

    Could you please let us know how to go ahead working on with the application using WebTest.

    Please find below the Technology stack,

    Backend Service Calls: WCF

    Application Code: .NET

    and Application Front End: WPF ( Windows Presentation Foundation )

    Kindly let me know if any other details are required.

    Thanks,

    Abhishek

    Tuesday, September 23, 2014 7:03 AM
  • It should be possible to use a Visual Studio's web test to test your application. The Visual Studio web test recorder works with Internet Explorer, it does not record other applications. You can build the test manually by adding requests one by one to the web test file using the web test editor. Another method is to use Fiddler to record the web traffic of your application and export that recording as a ".webtest" file. See the links about Fiddler in the web test content index at http://blogs.msdn.com/b/visualstudioalm/archive/2013/03/28/content-index-for-visual-studio-web-tests-and-load-tests.aspx

    Regards

    Adrian

    Tuesday, September 23, 2014 8:15 AM
  • Thanks a lott Adrian,

    I guess using a Fiddler and converting would be great idea.

    I would definitely update you on this, once I try it. The only thing that bothers me is its WPF front end application. Lets see if the result is positive :) :)

    Once again, thanks a lot for your time.

    Regards,

    Abhishek

    Tuesday, September 23, 2014 8:29 AM
  • Thanks for Adrian's help.

    Hi Abhishek,

    Maybe you could use the Fiddler and Web test recorder to test it in your side, if you get any latest information, please feel free to let us know.

    Like this document:

    http://www.codeproject.com/Articles/36396/Difference-between-BasicHttpBinding-and-WsHttpBind

    If you use the wsHttpBinding, I feel that the unit test would be better for it.

    http://social.msdn.microsoft.com/Forums/en-US/f3308603-a1df-4680-bb26-e723300a3c16/wcf-web-performance-test

    http://social.msdn.microsoft.com/forums/vstudio/en-US/bd6ca239-27e0-4d3c-918c-74ea4fac0aae/wcf-performance-test

    Best Regards,


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Tuesday, September 23, 2014 9:30 AM
    Moderator