Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating markdown syntax #40

Merged
merged 80 commits into from
Dec 26, 2017
Merged
Changes from 1 commit
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
8171556
Lab drafts
EdKaim Nov 17, 2017
e68b94d
Winter 2017 update final
EdKaim Dec 10, 2017
b02cbb0
updateing the content to TFS 2018
iamsrivatsa Dec 11, 2017
10d41d6
updating sidebar to TFS2018
iamsrivatsa Dec 11, 2017
0580a51
updating to TFS 2018
iamsrivatsa Dec 11, 2017
7992744
updating sidebars
iamsrivatsa Dec 11, 2017
11edaee
updated markdown nsyntax
iamsrivatsa Dec 11, 2017
5d2f118
updated markdown syntax
iamsrivatsa Dec 11, 2017
442cc3e
updating markdwn syntax
iamsrivatsa Dec 11, 2017
1595b04
updating markdown syntax
iamsrivatsa Dec 11, 2017
d02d8e9
updating markdown syntax
iamsrivatsa Dec 11, 2017
765d6a6
updating markdown syntax
iamsrivatsa Dec 11, 2017
c5890f6
updating markdown syntax
iamsrivatsa Dec 11, 2017
f9b7713
updating markdown syntax
iamsrivatsa Dec 11, 2017
1845bd9
updating markdown syntax
iamsrivatsa Dec 11, 2017
d1231cc
updating markdown syntax
iamsrivatsa Dec 11, 2017
904d71e
updating markdown syntax
iamsrivatsa Dec 11, 2017
101be1a
updating markdown syntax
iamsrivatsa Dec 11, 2017
945ce94
updating markdown syntax
iamsrivatsa Dec 11, 2017
9db0772
updating markdown syntax
iamsrivatsa Dec 11, 2017
7b96d95
updating markdown syntax
iamsrivatsa Dec 11, 2017
a93def2
updating markdown syntax
iamsrivatsa Dec 11, 2017
c5d32c6
updating markdown syntax
iamsrivatsa Dec 11, 2017
3b9d01b
updating markdown syntax
iamsrivatsa Dec 11, 2017
f3f9d6c
updating markdown syntax
iamsrivatsa Dec 11, 2017
a0bb464
updating markdown syntax
iamsrivatsa Dec 11, 2017
d92db7d
updating markdown syntax
iamsrivatsa Dec 11, 2017
f2a1f84
updating markdown syntax
iamsrivatsa Dec 11, 2017
2b2bd9b
updating markdown syntax
iamsrivatsa Dec 11, 2017
8496540
updating markdown syntax
iamsrivatsa Dec 11, 2017
e75d8c4
updating markdown syntax
iamsrivatsa Dec 11, 2017
e69b90e
updating markdown syntax
iamsrivatsa Dec 11, 2017
464263e
updating markdown syntax
iamsrivatsa Dec 11, 2017
4b4642c
updating markdown syntax
iamsrivatsa Dec 11, 2017
a60115a
updating markdown syntax
iamsrivatsa Dec 11, 2017
69daa77
updating markdown syntax
iamsrivatsa Dec 11, 2017
a336de6
updating markdown syntax
iamsrivatsa Dec 11, 2017
dba2472
updating markdown syntax
iamsrivatsa Dec 11, 2017
d616bf7
updating markdown syntax
iamsrivatsa Dec 11, 2017
cba1e19
updated content
iamsrivatsa Dec 12, 2017
623dc3d
updated content
iamsrivatsa Dec 12, 2017
63ffa29
updated content
iamsrivatsa Dec 12, 2017
9d96b59
updated content
iamsrivatsa Dec 12, 2017
1d611ca
updated content
iamsrivatsa Dec 12, 2017
e108189
updated content
iamsrivatsa Dec 12, 2017
6f5379a
updated content
iamsrivatsa Dec 12, 2017
cf3dd94
updating markdown syntax
iamsrivatsa Dec 12, 2017
892a745
updated content
iamsrivatsa Dec 12, 2017
5321097
Added missing screenshot
EdKaim Dec 12, 2017
9caeb54
updating TFS readme
hsachinraj Dec 12, 2017
7d1120a
update stylesheets
hsachinraj Dec 12, 2017
37d9b77
updating download links
hsachinraj Dec 12, 2017
d1acf4d
updating css
hsachinraj Dec 14, 2017
d78e52b
updated TFS version
hsachinraj Dec 14, 2017
07aacb8
Updating config
hsachinraj Dec 14, 2017
5c34030
updating content
iamsrivatsa Dec 14, 2017
f8f650c
updated content
iamsrivatsa Dec 14, 2017
4c33e69
renaming rm word document
iamsrivatsa Dec 14, 2017
5d7627d
2018 updates
hsachinraj Dec 14, 2017
ff6d154
Updated style and text
hsachinraj Dec 15, 2017
6191542
Fixing lab changes
hsachinraj Dec 15, 2017
aea9f79
fixing md escape
hsachinraj Dec 15, 2017
1e36724
fixing md escape
iamsrivatsa Dec 15, 2017
35b3e10
fixing md escape
iamsrivatsa Dec 15, 2017
84c626c
Updating header levels
hsachinraj Dec 15, 2017
c789da6
Adding new hero image
hsachinraj Dec 15, 2017
5a594ea
updating homepage
hsachinraj Dec 16, 2017
daa42cb
updating homepage text
hsachinraj Dec 16, 2017
d40f26a
adding announcement post
hsachinraj Dec 17, 2017
debd892
formatting html
hsachinraj Dec 18, 2017
5bb614d
Fixing css
hsachinraj Dec 18, 2017
aa122d8
updating blog posts
hsachinraj Dec 26, 2017
f60133b
adding readyroll
iamsrivatsa Dec 26, 2017
6f1928d
fixing the images
iamsrivatsa Dec 26, 2017
c1aac21
updated content
iamsrivatsa Dec 26, 2017
c64d76a
updated content
iamsrivatsa Dec 26, 2017
cb5d3c8
updated content
iamsrivatsa Dec 26, 2017
0ef601b
adding smartword4tfs
iamsrivatsa Dec 26, 2017
81709a0
Merge branch 'labs/tfs2018' of https://github.com/Microsoft/almvm int…
hsachinraj Dec 26, 2017
52ec4b8
Updating the blog post
hsachinraj Dec 26, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
updating markdown syntax
  • Loading branch information
iamsrivatsa committed Dec 11, 2017
commit d92db7d509c144ce6cb50fbe666f3b9d21e52e13
49 changes: 16 additions & 33 deletions labs/tfs/load/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,17 @@ Lab version:15.4

Last updated:11/3/2017

<a name="Overview"></a>
## Overview ##
# Overview

In this lab, you will be introduced to the [Web performance and Load testing capabilities](https://www.visualstudio.com/en-us/docs/test/performance-testing/getting-started/getting-started-with-performance-testing) provided in Visual Studio Enterprise 2017. You will walk through a scenario using a fictional online storefront where your goal is to model and analyze its performance with a number of simultaneous users. This will involve the definition of web performance tests that represent users browsing and ordering products, the definition of a load test based on the web performance tests, and finally the analysis of the load test results.

<a name="Prerequisites"></a>
### Prerequisites ###
# Prerequisites

In order to complete this lab you will need the Visual Studio 2017 virtual machine provided by Microsoft. For more information on acquiring and using this virtual machine, please see [this blog post](http://aka.ms/almvm).

<a name="Exercise1"></a>
## Exercise 1: Web Application Load and Performance Testing with Visual Studio 2017 ##
## Exercise 1: Web Application Load and Performance Testing with Visual Studio 2017

<a name="Ex1Task1"></a>
### Task 1: Recording web tests ###
### Task 1: Recording web tests

1. Log in as **Sachin Raj (VSALM\Sachin)**. All user passwords are **P2ssw0rd**.

Expand Down Expand Up @@ -76,8 +72,7 @@ In order to complete this lab you will need the Visual Studio 2017 virtual machi

1. Close the test results.

<a name="Ex1Task2"></a>
### Task 2: Working with web tests ###
### Task 2: Working with web tests

1. From **Solution Explorer**, open **WebTest1.webtest** if it's not already open.

Expand All @@ -97,11 +92,9 @@ In order to complete this lab you will need the Visual Studio 2017 virtual machi

1. This dialog enables you to configure the **Think Time** to use for each step. **Think Time** simulates the time an end user would stop to read the current page, think about their next action, etc. Here you can manually set how much time to use for each step, as well as to set goals for response time on each navigation. Click **Cancel**.

<a name="![](images/015.png)"></a>
### ![](images/015.png) ###
![](images/015.png)

<a name="Ex1Task3"></a>
### Task 3: Recording sophisticated tests ###
### Task 3: Recording sophisticated tests

1. Now let's add a more sophisticated test that involves completing a purchase. In **Solution Explorer**, right-click the **PULWebTest** project and select **Add | Web Performance Test**.

Expand Down Expand Up @@ -153,11 +146,9 @@ In order to complete this lab you will need the Visual Studio 2017 virtual machi

1. In **Solution Explorer**, rename **WebTest1.webtest** to **Buying.webtest**.

<a name="![](images/028.png)"></a>
### ![](images/028.png) ###
![](images/028.png)

<a name="Ex1Task4"></a>
### Task 4: Viewing web test result details ###
### Task 4: Viewing web test result details

1. As before, Visual Studio will process the recorded steps and then attempt to execute the test. However, note that it failed this time. Double-click the failed test run to view it.

Expand Down Expand Up @@ -189,11 +180,9 @@ In order to complete this lab you will need the Visual Studio 2017 virtual machi

1. Since we're going to use this test as part of a load testing run, let's update the **Think Time** columns with some realistic numbers. Try to have the whole run use around 30 seconds of total think time. For example, you may want the obvious navigations to each have 5 seconds of think time while all the other requests have 0. Click **OK** when done.

<a name="![](images/036.png)"></a>
### ![](images/036.png) ###
![](images/036.png)

<a name="Ex1Task5"></a>
### Task 5: Adding a load test ###
### Task 5: Adding a load test

1. Now that we have two tests that cover common scenarios, let's use them as part of a load test to see how the system might perform with a variety of simultaneous users. In **Solution Explorer**, right-click the **PULWebTest** project and select **Add | Load Test**.

Expand Down Expand Up @@ -257,11 +246,9 @@ In order to complete this lab you will need the Visual Studio 2017 virtual machi

1. Select the **Data and Diagnostics** tab to view the available adapters. Options include those for **ASP.NET**, **Event Log**, **IntelliTrace**, **Network Emulation**, and more. No adapters are selected by default because many of them have a significant impact on the machines under test and can generate a large amount of data to be stored over the course of long load tests.

<a name="![](images/052.png)"></a>
### ![](images/052.png) ###
![](images/052.png)

<a name="Ex1Task6"></a>
### Task 6: Configuring the test controller ###
### Task 6: Configuring the test controller

1. **LoadTest1.loadtest** should already be open. Click the **Manage Test Controllers** button.

Expand All @@ -277,8 +264,7 @@ In order to complete this lab you will need the Visual Studio 2017 virtual machi

1. Press **Esc** to close the **Manage Test Controller** dialog.

<a name="Ex1Task7"></a>
### Task 7: Executing, monitoring, and reviewing load tests ###
### Task 7: Executing, monitoring, and reviewing load tests

1. Click the **Run Load Test** button to begin a load test.

Expand Down Expand Up @@ -306,11 +292,9 @@ In order to complete this lab you will need the Visual Studio 2017 virtual machi

1. Click the **Pages/Sec** row from the **Key Indicators** section of the counter grid to highlight it in the graph. In the screenshot shown below we can see that the average number of pages per second over the duration of the test was **1.18** (this may vary for you).

<a name="![](images/062.png)"></a>
### ![](images/062.png) ###
![](images/062.png)

<a name="Ex1Task8"></a>
### Task 8: Generating and viewing load test trend reports ###
### Task 8: Generating and viewing load test trend reports

1. Even though the initial load test may result in some numbers that don't seem to provide a wealth of information it does provide a good baseline and allow us to make relative measures between test runs to help measure performance impacts of code changes. For example, if we had seen a relatively high level of batch requests per second during our initial load tests, perhaps that could be addressed by adding in some additional caching, and then re-testing to make sure that the request per second goes down.

Expand Down Expand Up @@ -353,4 +337,3 @@ In order to complete this lab you will need the Visual Studio 2017 virtual machi
1. Your report will vary based on the test results and number of tests. However, you can easily see how this would be very useful when analyzing how changes in the solution impacted performance. You would very easily be able to track a performance regression to a time (and build).

![](images/072.png)