load testing sharepoint 2013 using visual studio 2013

18

Upload: azra

Post on 19-Feb-2016

38 views

Category:

Documents


1 download

DESCRIPTION

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 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Load  testing SharePoint 2013 using Visual Studio 2013
Page 2: Load  testing SharePoint 2013 using Visual Studio 2013

Load testing SharePoint 2013 using Visual Studio 2013 Todd Klindt & Shane YoungNot SharePoint DevelopersRackspace

SPC381

Page 3: Load  testing SharePoint 2013 using Visual Studio 2013

WSS MVP since 2006 Speaker, writer, consultant, Aquarius, proud Trans Am owner Personal Blog

www.toddklindt.com/blog Company web site

http://SharePoint.Rackspace.com E-mail

[email protected] Twitter me! @toddklindt

If you’re not already sick of him http://www.toddklindt.com/netcast

Who is this Todd Klindt guy?

Page 4: Load  testing SharePoint 2013 using Visual Studio 2013

Shane Young – Cincinnati, Ohio SharePoint@Rackspace SharePoint Server MVP, somehow Consultant, Trainer, Writer, Speaker, Wishes

he was handsome like Todd [email protected] Blog

http://msmvps.com/shane SharePoint Consulting

http://sharepoint.Rackspace.com Twitter @ShanesCows

Who Am I?

Page 5: Load  testing SharePoint 2013 using Visual Studio 2013

Talk about the tools Make some tests Demo, demo, demo

Agenda

Page 6: Load  testing SharePoint 2013 using Visual Studio 2013

How do you do it? Time and effort setting up machines Cost for hardware Fear of Visual Studio

Challenges

Page 7: Load  testing SharePoint 2013 using Visual Studio 2013

Visual Studio Ultimate Windows 7/8 Windows Server 2012/2012 R2 A test environment Nerves of steel

What You Need

Page 8: Load  testing SharePoint 2013 using Visual Studio 2013

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?

Terms

Page 9: Load  testing SharePoint 2013 using Visual Studio 2013

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

More Terms

Page 10: Load  testing SharePoint 2013 using Visual Studio 2013

Let’s get to it!

Todd & Shane

Page 11: Load  testing SharePoint 2013 using Visual Studio 2013

Project

Page 12: Load  testing SharePoint 2013 using Visual Studio 2013

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 Web Test

Page 13: Load  testing SharePoint 2013 using Visual Studio 2013

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

Create Load Test

Page 14: Load  testing SharePoint 2013 using Visual Studio 2013

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

Add Network Shims

Page 15: Load  testing SharePoint 2013 using Visual Studio 2013

Can run tests from Microsoft’s servers Sing up for Visual Studio Online TFS

account Add as many agents as you need

To The Cloud!

Page 16: Load  testing SharePoint 2013 using Visual Studio 2013

Slides and coupons for a free backrub from Shanehttp://sharepoint.rackspace.com/spc

Page 17: Load  testing SharePoint 2013 using Visual Studio 2013

Questions?(make’m easy ones)

Page 18: Load  testing SharePoint 2013 using Visual Studio 2013