AzureStack-QuickStart-Templ.../sharepoint-2013-sample-load...
vikasnav 891997c2fa Push changes from develop to master (#164)
* Fixed jetstress Storage Endpoint api usage (#152)

* Metadata.json fix for all the existing ones and newly created for Linux templates (#154)

* Docker swarm compute resource apiversion fix (#157)

* SharePoint 2013 and VS2013 template readme updates (#160)

Updated readme files for the SharePoint 2013 and Visual Studio 2013
templates

* More fixes based on VS code tool (#163)
2016-09-27 12:05:37 -07:00
..
DownloadLoadTestPackage.ps1 Push changes from develop to master (#164) 2016-09-27 12:05:37 -07:00
PrepareSampleLTForRun.ps1 SP_2013_Sample_LoadTest_CR_feedback 2016-04-13 10:59:25 -07:00
PrepareTargetForRun.ps1 SP_2013_Sample_LoadTest_CR_feedback 2016-04-13 10:59:25 -07:00
Readme.md SP_2013_Sample_LoadTest_PR_feedback 2016-04-13 16:40:00 -07:00
SPSampleLT.zip SP_2013_Sample_LoadTest_CR_feedback 2016-04-13 10:59:25 -07:00
ScriptExtensionRunner.ps1 SP_2013_Sample_LoadTest_CR_feedback 2016-04-13 10:59:25 -07:00
SharePointFarmPrepareForLoadTest.json Fixes from CR feedback 2016-08-05 13:30:08 -07:00
StartLoadTestRun.ps1 SP_2013_Sample_LoadTest_CR_feedback 2016-04-13 10:59:25 -07:00
TestControllerRunLoadTest.json Revert "Fix VS code editor issues" 2016-09-27 12:00:34 -07:00
azuredeploy.json Update the assetlocation 2016-09-19 18:06:22 -07:00
azuredeploy.parameters.json Parameters file fixes for SharePoint load test tempaltes 2016-09-01 12:47:42 -07:00
metadata.json Add metadata.json to all the files 2016-09-22 16:56:49 -07:00

Readme.md

Download and run a sample load generation load test against an existing SharePoint farm

This template will prepare the target SharePoint farm for load test execution and download and run a load test on an existing test controller by creating the following resources:

  • One custom script VM extension on an existing SharePoint VM resource to prepare the farm for load testing
  • One custom script VM extension on an existing Visual Studio test controller VM resource to download and execute a load test run

Notes

Deploying from Portal

  • Login into Azurestack portal
  • Click "New" -> "Custom" -> "Template deployment"
  • Copy conent in azuredeploy.json, Click "Edit Tempalte" and paste content, then Click "Save"
  • Fill the parameters
  • Click "Create new" to create new Resource Group
  • Click "Create"

Deploying from PowerShell

Download azuredeploy.json and azuredeploy.parameters.json to local machine

Modify parameter value in azuredeploy.azurestack.parameters.json as needed

Allow cookies in IE: Open IE at c:\Program Files\Internet Explorer\iexplore.exe -> Internet Options -> Privacy -> Advanced -> Click OK -> Click OK again

Launch a PowerShell console

Change working folder to the folder containing this template


# Add specific Azure Stack Environment 

$AadTenantId = <Tenant Id> #GUID Specific to the AAD Tenant 

Add-AzureRmEnvironment -Name 'Azure Stack' `
<EFBFBD><EFBFBD><EFBFBD> -ActiveDirectoryEndpoint ("https://login.windows.net/$AadTenantId/") `
<EFBFBD><EFBFBD><EFBFBD> -ActiveDirectoryServiceEndpointResourceId "https://azurestack.local-api/" `
<EFBFBD><EFBFBD><EFBFBD> -ResourceManagerEndpoint ("https://api.azurestack.local/") `
<EFBFBD><EFBFBD><EFBFBD> -GalleryEndpoint ("https://gallery.azurestack.local/") `
<EFBFBD><EFBFBD><EFBFBD> -GraphEndpoint "https://graph.windows.net/"

# Get Azure Stack Environment Information 
$env = Get-AzureRmEnvironment 'Azure Stack' 

# Authenticate to AAD with Azure Stack Environment 
Add-AzureRmAccount -Environment $env -Verbose 

# Get Azure Stack Environment Subscription 
$SubName = <Subscription Name> # The subscription name is the offer name by default 
Get-AzureRmSubscription -SubscriptionName $SubName | Select-AzureRmSubscription

#Resource group name. Please make sure the resource group does not exist (optional, this template can be deployed to an existing resource group)
$resourceGroupName = "sqlResourceGroup"
$deploymentName = "SqlDeployment"
$location = "Local" 
New-AzurermResourceGroup -Name $resourceGroupName -Location $location 

#Start new Deployment
New-AzurermResourceGroupDeployment -Name $deploymentName -ResourceGroupName $resourceGroupName `
<EFBFBD><EFBFBD><EFBFBD> -TemplateParameterFile .\azuredeploy.parameters.json -TemplateFile .\azuredeploy.json