190 likes | 346 Views
SPC381. Load testing SharePoint 2013 using Visual Studio 2013 . Todd Klindt & Shane Young Not SharePoint Developers Rackspace. Who is this Todd Klindt guy?. WSS MVP since 2006 Speaker, writer, consultant, Aquarius, proud Trans Am owner Personal Blog www.toddklindt.com/blog
E N D
SPC381 Load testing SharePoint 2013 using Visual Studio 2013 Todd Klindt & Shane Young Not SharePoint Developers Rackspace
Who is this Todd Klindt guy? • WSS MVP since 2006 • Speaker, writer, consultant, Aquarius, proud Trans Am owner • Personal Blogwww.toddklindt.com/blog • Company web sitehttp://SharePoint.Rackspace.com • E-mailtodd.Klindt@Rackspace.com • Twitter me! @toddklindt • If you’re not already sick of him • http://www.toddklindt.com/netcast
Who Am I? • Shane Young – Cincinnati, Ohio • SharePoint@Rackspace • SharePoint Server MVP, somehow • Consultant, Trainer, Writer, Speaker, Wishes he was handsome like Todd • Shane.Young@Rackspace.com • Blog • http://msmvps.com/shane • SharePoint Consulting • http://sharepoint.Rackspace.com • Twitter @ShanesCows
Agenda • Talk about the tools • Make some tests • Demo, demo, demo
Challenges • How do you do it? • Time and effort setting up machines • Cost for hardware • Fear of Visual Studio
What You Need • Visual Studio Ultimate • Windows 7/8 • Windows Server 2012/2012 R2 • A test environment • Nerves of steel
Terms • Performance Testing • Does it work? • Load Testing • Does it really work? • Stress Testing • When does it stop working? • Capacity or Scale Testing • Will it work for us?
More Terms • Solution • One or more projects • Project • One or more tests • Web Test • A series of web requests • Can be one or more pages or actions • Load Test • Execution of one or more web tests • Has settings like browser, networks, users
Let’s get to it! Todd & Shane
Create Web Test • Record steps in Internet Explorer • Make sure recording bits work • Easier on workstation • One type of request per web test • Can also create with Fiddler
Create Load Test • Add web tests to load test • Pick network profile • Pick browser profile • Can add multiple workstations to test • Can monitor servers from VS • Can export results to Excel
Add Network Shims • Needed to simulate network connections • C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\VSTestConfig.exe networkemulation /install • Save results to SQL • C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\loadtestrepository.sql
To The Cloud! • Can run tests from Microsoft’s servers • Sing up for Visual Studio Online TFS account • Add as many agents as you need
Slides and coupons for a free backrub from Shane http://sharepoint.rackspace.com/spc