none
Chrome support for web performance test in Visual studio 2012 RRS feed

  • Question

  • Hi there,

    I am using fiddler along with VS2012 to record the test on IE and run it as a web performance test using Chrome browser.

    My question is , the 'Chrome 2' browser option on the 'Edit run settings' will cater same as 'Chrome 34' which is my browser version?

    Does this run on 'Chrome 2' is same as running on ' Chrome 34' or may be any Chrome version? please let me know.

    Thanks,Praveen. 

    Monday, April 21, 2014 11:26 AM

Answers

  • Hi,

    I am not sure whether the ‘Chrome 2’ in Browser mix in load test scenario means Chrome 34. There is no specific Microsoft document to clarify it. In my opinion it is not ‘Chrome 34’ because Chrome 34 was released in April 2014 and ‘Chrome 2’ option even is available in VS2010 load test.

    No matter whether ‘Chrome 2’ is ‘Chrome 34’, I know that it does not mean that VS use Chrome browser to run the web test even though you select it in Browser mix.

    The Browser Mix feature is commonly misunderstood by clients.  They think VS actually uses these browsers during the test.  Actually all VSTS does is create a header with a string in it that identifies to the server what “browser” it is talking to.  These strings are well-known.  The server may or may not behave differently based on this information.

    For detailed information, please download Visual Studio Performance Testing Quick Reference Guide from here: http://vsptqrg.codeplex.com/ and see ‘IE9 and other browser emulation in VS2010’ section.

    And Web Test works in Http layer, please see: http://blogs.msdn.com/b/slumley/archive/2007/12/30/web-tests-work-at-the-http-layer.aspx it won’t communicate with real browser. The web test engine uses the .NET Framework System.Net http classes to send requests and receive responses. So your current browser version on your machine is not related to the web 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, April 22, 2014 2:56 AM
    Moderator
  • Agree with Crystal.

    I suggest you go this path:  Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Templates\LoadTest\Browsers

    Open chrome2.browser and check the header definitions.

    FYI, Chrome 33 will look like this...You can use fiddler to capture the traffic for chrome 34 specific definitions.

    <Browser Name="Chrome 33" MaxConnection="6">
       <Headers>
    <Header Name="User-Agent" value="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36"/>
      <Header Name="Accept" Value="*/*" />
      <Header Name="Accept-Language" value="en-US,en;q=0.8" />
      <Header Name="Accept-Encoding" value="gzip,deflate,sdch" />
      <Header Name="Accept-Charset" Value="ISO-8859-1,*,utf-8"  />
     </Headers>
    </Browser>

    If you want more details, you can refer to: http://davefancher.com/2011/05/18/vsts-2010-load-test-browser-definitions/

    Hope this helps.

    Tuesday, April 22, 2014 3:29 AM

All replies

  • Hi,

    I am not sure whether the ‘Chrome 2’ in Browser mix in load test scenario means Chrome 34. There is no specific Microsoft document to clarify it. In my opinion it is not ‘Chrome 34’ because Chrome 34 was released in April 2014 and ‘Chrome 2’ option even is available in VS2010 load test.

    No matter whether ‘Chrome 2’ is ‘Chrome 34’, I know that it does not mean that VS use Chrome browser to run the web test even though you select it in Browser mix.

    The Browser Mix feature is commonly misunderstood by clients.  They think VS actually uses these browsers during the test.  Actually all VSTS does is create a header with a string in it that identifies to the server what “browser” it is talking to.  These strings are well-known.  The server may or may not behave differently based on this information.

    For detailed information, please download Visual Studio Performance Testing Quick Reference Guide from here: http://vsptqrg.codeplex.com/ and see ‘IE9 and other browser emulation in VS2010’ section.

    And Web Test works in Http layer, please see: http://blogs.msdn.com/b/slumley/archive/2007/12/30/web-tests-work-at-the-http-layer.aspx it won’t communicate with real browser. The web test engine uses the .NET Framework System.Net http classes to send requests and receive responses. So your current browser version on your machine is not related to the web 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, April 22, 2014 2:56 AM
    Moderator
  • Agree with Crystal.

    I suggest you go this path:  Program Files\Microsoft Visual Studio 10.0\Common7\IDE\Templates\LoadTest\Browsers

    Open chrome2.browser and check the header definitions.

    FYI, Chrome 33 will look like this...You can use fiddler to capture the traffic for chrome 34 specific definitions.

    <Browser Name="Chrome 33" MaxConnection="6">
       <Headers>
    <Header Name="User-Agent" value="Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.146 Safari/537.36"/>
      <Header Name="Accept" Value="*/*" />
      <Header Name="Accept-Language" value="en-US,en;q=0.8" />
      <Header Name="Accept-Encoding" value="gzip,deflate,sdch" />
      <Header Name="Accept-Charset" Value="ISO-8859-1,*,utf-8"  />
     </Headers>
    </Browser>

    If you want more details, you can refer to: http://davefancher.com/2011/05/18/vsts-2010-load-test-browser-definitions/

    Hope this helps.

    Tuesday, April 22, 2014 3:29 AM