Load testing

  • Is anyone performing load testing and if so, how are you doing it?

    Ed Watson aka SQLGator
    Microsoft SQL Server MVP

    Follow me on Twitter!
    Go Gators!

  • Visual Studio Team System has some built-in tools to offer. The QA team at one stop starting looking into options and chose to use it over other tools...not sure how far they ended up getting with it though.

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • Is that Team Foundation Server?

    Ed Watson aka SQLGator
    Microsoft SQL Server MVP

    Follow me on Twitter!
    Go Gators!

  • TFS is the server piece. There used to be special editions of Visual Studio to play into the SDLC Roles TFS offered up. Where I was they were looking at the "Tester Edition" which included tools for Load Testing and they had TFS in place. That said, I just looked and found this for VS 2010. I am not sure VS ever required TFS for Load Testing functionality but it appears you do not with VS 2010. All the Team Editions of VS look like they have been rolled up into the regular editions of VS2010. Check out the video under "Web Performance and Load Testing with Visual Studio 2010":

    http://www.microsoft.com/visualstudio/en-us/scenarios/performance-stress-testing

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato

  • VS2010 Load Test using WebTest

    Basically, you create a functional test sample of work.

    Since my application is a webApp, I then have to extract a value from the querystring which I then set up as dynamic variable using a webTest.

    Then I include a data source to use in place of the dynamic variable.

    Then I include all this in a load Test and enable sqltrace in the loadtest config (built into the tool) but you need sysadmin access on that server I think to run the trace.

    Then it outputs the times in a summary.

    I normally use the results in the sqltrace which outputs the Queries above a specified threshold.

    I sort that by logical reads and then copy the query into sql

    view execution plan and then quickly trace where tablescans are happening.

    This does not mean that an index must be added immediately.

    What then happens is investigate the current index structure and see why we are doing a table scan. Could be erroneously created index.

    Alternatively, the proc may need to be refactored. e.g., Order by createdDate column can be replaced with order by RID cos they are both ever increasing which implies that if date2>date1 then RID2>RID1.

    Catch-all queries done right [/url]
    Gail Shaw's Performance Blog[/url]

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply