+ All Categories
Home > Technology > V Greavu - Testing with Sharepoint

V Greavu - Testing with Sharepoint

Date post: 04-Dec-2014
Category:
Upload: testcampro
View: 328 times
Download: 0 times
Share this document with a friend
Description:
 
28
Transcript
Page 1: V Greavu - Testing with Sharepoint
Page 2: V Greavu - Testing with Sharepoint
Page 3: V Greavu - Testing with Sharepoint

TESTING WITH SHAREPOINTTEST CAMP, IASI, 2013

Valy Greavu, SharePoint Server MVP

http://valygreavu.com

Page 4: V Greavu - Testing with Sharepoint

M4N1F3ST

În spatele unui programator de succes se află un tester bun!

Page 5: V Greavu - Testing with Sharepoint

AGENDA

Ce înseamnă tehnologia SharePoint

Complexitatea arhitecturilor SharePoint

Tipuri de teste in SharePoint

Monitorizarea performantelor

CAML Creator

Întrebări și Discuții

Page 6: V Greavu - Testing with Sharepoint

Microsoft SharePoint Server 2010

BusinessIntelligence

Server-based Excel spreadsheets and data visualization, Report Center, BI Web Parts, KPIs/Dashboards

ContentManagement

Integrated document management, records management, and Web content management with policies and workflow

BusinessForms

Rich and Web forms based front-ends, LOB actions, enterprise SSO

Search

Enterprise scalability,contextual relevance, rich people and business data search

Portal

Enterprise Portal template, Site Directory, My Sites, social networking, privacy control

Collaboration

Docs/tasks/calendars, blogs, wikis, e-mail integration, project management “lite”, Outlook integration, offline docs/lists

PlatformServices Workspaces, Mgmt,Security, Storage,Topology, Site Model

Page 7: V Greavu - Testing with Sharepoint

ACCEPȚIUNEA GENERALĂ

Aplicație Web pentru Intranet / Extranet Document management Content management Proces management Project management Event management BI (Business Intelligence) Raportare Funcții de căutare

I

Page 8: V Greavu - Testing with Sharepoint

O ARHITECTURA SHAREPOINT SERVER

PeopleIIS

SQL ServerActive Directory

Sistemul de operareInfrastructura logică de

rețeaInfrastructura fizică și de rețea

Page 9: V Greavu - Testing with Sharepoint

IERARHIA SHAREPOINT

Farm

Web Application

Site Collection

Web (sub-site)

List/Library

Item

Web (sub-site)

List/Library

Item Item

Site Collection

Web (sub-site)

List/Library

Item Item

Web (Sub-site)

List/Library

Item

Page 10: V Greavu - Testing with Sharepoint

SPECIALIZARILE IN SHAREPOINT Administrare si Configurare

Dezvoltare

Branding

BI

Page 11: V Greavu - Testing with Sharepoint

METODOLOGIA

Crearea unui plan de testare

Crearea unui mediu de test

Crearea testelor și instrumentelor pentru testare

SCRUM Scrum Master: Persoana care conduce scrumurile zilnice

(ședințele) și este la curent mereu cu starea proiectului (echivalent cu un manager de proiect). Mai este referit și ca Lord de Scrum.

Porci (Pigs): Cei care au sarcini nerezolvate atribuite lor (programatorii, testerii, administratorii de baze de date, etc...)

Găini (Chickens): Cei care sunt implicați, dar nu au sarcini atribuite (proprietarii proiectelor, lorzii de scrum, etc ...).

Page 12: V Greavu - Testing with Sharepoint

SIZER-ELE

Page 13: V Greavu - Testing with Sharepoint

PRIMUL TEST INTR-O FERMA SP Ping

Page 14: V Greavu - Testing with Sharepoint

SCENARII DE TESTE PENTRU ADMINI Health

Search

Databases

Performance

Workflows

Virtual environments

Business Data Connectivity

Business Intelligence

Access Services

Farms

Servers

Service applications

Web applications

Page 15: V Greavu - Testing with Sharepoint

VOLUMUL DE INCARCARE (WORKLOAD) Average daily RPS

Average RPS at peak time

Total number of unique users per day

Average daily concurrent users

Peak concurrent users at peak time

Total number of requests per day

Expected workload distribution

Web Browser - Search Crawl

Web Browser - General Collaboration Interaction

Web Browser - Social Interaction

Web Browser - General Interaction

Web Browser - Office Web Apps

Office Clients

OneNote Client

SharePoint Workspace

Outlook RSS Sync

Outlook Social Connector

Other interactions(Custom Applications/Web services)

Page 16: V Greavu - Testing with Sharepoint

DATASET

DB size (in GB)

Number of Content DBs

Number of site collections

Number of web apps

Number of sites

Search index size (# of items)

Number of docs

Number of lists

Average size of sites

Largest site size

Number of user profiles

Page 17: V Greavu - Testing with Sharepoint

SCENARII DE TESTE PENTRU DEZVOLTARE Coverage testing

Development Phase Unit testing, Check in tests, Built Verification Tests, Functional

tests, Regression testing

Usage Testing Stabilization Phase Scenario Testing, Performance / Stress Testing, Configuration

Testing, Compatibility Testing

Page 18: V Greavu - Testing with Sharepoint

STRESS TOOLS

Microsoft SharePoint 2010 Administration Toolkit v2.0 http://www.microsoft.com/en-us/download/details.aspx?id=20

022

LTK (Load Testing Kit)

Page 19: V Greavu - Testing with Sharepoint

TESTELE DE SECURITATE

Users need access to SharePoint before they can use it

SharePoint 2010 conține o serie de grupuri și niveluri de securitate predefinite

Model de grupuri bazat pe Active Directory

Page 20: V Greavu - Testing with Sharepoint

TEAM FOUNDATION 2010

Integrating Team Foundation Server 2010 with SharePoint 2010

http://blogs.msdn.com/b/tfssetup/archive/2012/02/21/integrating-team-foundation-server-2010-with-sharepoint-2010.aspx

Page 21: V Greavu - Testing with Sharepoint

ARHITECTURA TFS + SP

Page 22: V Greavu - Testing with Sharepoint

MONITORIZAREA PERFORMANȚEI Add-SPDiagnosticsPerformanceCounter -Category

"Processor" -Counter "% Processor Time" -Instance "_Total" –WebFrontEnd SharePoint monitoring Windows counters (Processor, Network Interface, Memory) IIS (ASP.NET, .NET CLR) SQL Server (General Statistics, Transactions, Locks)

Page 23: V Greavu - Testing with Sharepoint

CAML CREATOR V1

http://gallery.technet.microsoft.com/CAML-Creator-v1-a6eafc60

Collaborative Application Markup Language (CAML)

CAML este utilizat pentru: Definiția site-urilor web Definiția listelor, view-urilor și formularelor Definiția câmpurilor și restricțiilor asociate Automatizarea operațiunilor de creare a conținutului

Page 24: V Greavu - Testing with Sharepoint

CAML CREATOR

="$v"&PROPER(C2)&"="&CHAR(34)&"<Field Type='"&G2&"' Name='"&C2&"' BaseType='"&H2&"' Format='"&I2&"' DisplayName='"&D2&"' EnforceUniqueValues='"&K2&"' Required='"&J2&"' MaxLength='"&L2&"' Description='"&E2&"' "&IF(K2="Yes";"Indexed='TRUE'";"")&">"&IF(OR(G2="Choice";G2="MultiChoice");"<CHOICES><CHOICE>"&SUBSTITUTE(F2;";";"</CHOICE><CHOICE>")&"</CHOICE></CHOICES>";"")&"<Default>"&M2&"</Default></Field>"&CHAR(34)

Page 25: V Greavu - Testing with Sharepoint

GENERATED SCRIPT

Page 26: V Greavu - Testing with Sharepoint

ADDITIONAL RESOURCES

SharePoint Server 2010 de la A la Y http://valygreavu.com/2011/03/03/sharepoint-server-2010-de-la-a-la-y/

SharePoint 2010 - http://sharepoint.microsoft.com/en-us/Pages/default.aspx

SharePoint Governance Policies, Plans, and Documents Listing - http://www.rharbridge.com/?page_id=726

Page 27: V Greavu - Testing with Sharepoint

ÎNTREBĂRI ȘI RĂSPUNSURI

Page 28: V Greavu - Testing with Sharepoint

VĂ MULȚUMESC!

Blog: http://valygreavu.comE-mail: [email protected] Facebook: Valy.Greavu Twitter: valygreavu Linkedin: valygreavu


Recommended