

In Browsing.webtest, click the Set Request Details button. In Solution Explorer, rename WebTest1.webtest to Browsing.webtest.

Note that the parameters have been extracted so that you can easily swap in different values to test with other values. Locate the step that navigates to /Store/Browse and expand QueryString Parameters. You can also dig into the specific HTTP requests and responses.įrom Solution Explorer, open WebTest1.webtest if it’s not already open. Select different requests throughout the test run to see details on how it performed, how large the payloads were, and so on. Double-click the successful run to load its details. Since the browsing was basic, it should easily pass. When ready to move on, click Stop in the Web Test Recorder.Īfter stopping the recording session, Visual Studio will analyze the recorded traffic to attempt to identify dynamic parameters that can be abstracted for dynamic configuration later on.Īn initial test will also be run. However, do not log in or add anything to your cart. Note that each navigation you perform will be recorded so that it can be played back later as part of an automated test.Ĭontinue browsing the site to generate more traffic, if desired. In the browser, click the Parts Unlimited shortcut to load the main site. Click the Add Recording button to begin a recording session.

Once the project has been created, the default (and empty) WebTest1.webtest file will be opened. Enter a Name of “PULWebTest” and click OK. Select the Visual C# | Test category and the Web Performance and Load Test Project template. In Solution Explorer, right-click the solution node and select Add | New Project. Open the PartsUnlimited solution from the Start Page. Launch Visual Studio 2017 from the taskbar.
#VISUAL STUDIO 2017 ENTERPRISE EDITION DOWNLOAD#
Click the button below to launch the virtual machine on the Microsoft Hands-on-Labs portal.Īlternatively, you can download the virtual machine from here Exercise 1: Web Application Load and Performance Testing with Visual Studio 2017 Task 1: Recording web tests In order to complete this lab you will need the Visual Studio 2017 virtual machine provided by Microsoft. 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. 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. In this lab, you will be introduced to the Web performance and Load testing capabilities provided in Visual Studio Enterprise 2017.
