Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Load testing Expand / Collapse
Author
Message
Posted Friday, July 29, 2011 8:40 AM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Monday, September 29, 2014 10:25 AM
Points: 529, Visits: 221
Is anyone performing load testing and if so, how are you doing it?

Ed Watson aka SQLGator
MCTS SQL Server 2008

Follow me on Twitter!
Tampa Bay SQL Users Group
Go Gators!
Post #1151002
Posted Friday, July 29, 2011 12:22 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 7:44 PM
Points: 7,107, Visits: 12,661
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
Post #1151185
Posted Friday, July 29, 2011 1:57 PM


Mr or Mrs. 500

Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500Mr or Mrs. 500

Group: General Forum Members
Last Login: Monday, September 29, 2014 10:25 AM
Points: 529, Visits: 221
Is that Team Foundation Server?

Ed Watson aka SQLGator
MCTS SQL Server 2008

Follow me on Twitter!
Tampa Bay SQL Users Group
Go Gators!
Post #1151295
Posted Friday, July 29, 2011 2:09 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 7:44 PM
Points: 7,107, Visits: 12,661
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
Post #1151299
Posted Wednesday, September 28, 2011 6:01 AM


Valued Member

Valued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued MemberValued Member

Group: General Forum Members
Last Login: Monday, September 29, 2014 6:29 AM
Points: 56, Visits: 353
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.
Post #1182375
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse