• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Web and Load Tests with VS2010
 

Web and Load Tests with VS2010

on

  • 7,584 views

Как нужно работать с веб и нагрузочными тестами в Visual Studio 2010. Данная презентация показывает детали работы с ...

Как нужно работать с веб и нагрузочными тестами в Visual Studio 2010. Данная презентация показывает детали работы с данным инструментом автоматизации.

Statistics

Views

Total Views
7,584
Views on SlideShare
3,465
Embed Views
4,119

Actions

Likes
1
Downloads
0
Comments
0

9 Embeds 4,119

http://automated-testing.info 3937
http://l.lj-toys.com 73
http://autotest.aexchecker.com 68
http://www.automated-testing.info 28
url_unknown 8
http://webcache.googleusercontent.com 2
http://www.slideshare.net 1
http://feeds.feedburner.com 1
http://translate.googleusercontent.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Web and Load Tests with VS2010 Web and Load Tests with VS2010 Presentation Transcript

    • Web and Load Tests with VS2010
      Yuliya Solovyova
      http://mswebtest.blogspot.com/
    • Agenda
      2
      Why do testing with VSTS
      Web tests
      Load Test
      Helping Tools
      Books
    • Why do testing with VSTS
      • Visual Studio allows:
      • Manual Tests
      • Web Tests
      • Load Tests
      • TFS Work Item Tracking
      • TFS Reporting
      • Source code control integration
    • Web test
    • Typical load testing configuration
      Just using Visual Studio Ultimate enables you to generate 250 virtual users of load. To go higher than 250 users, you need to purchase a Virtual User Pack, which gives you 1000 users. You can use the 1000 users on any number of agents. *
      *http://blogs.msdn.com/b/edglas/archive/2010/02/07/vs-2010-sku-lineup-and-pricing-finalized.aspx
    • Web test in VSTS
      • Capture and playback http-level interactions
      • Records AJAX, Popup windows
      • Composition & Decomposition
      • Auto-validate response URL
      • Integrated with Team Build
      • Hidden running mode
      • Multi Browsers support
      • Data Driven Tests
    • Web test features
      • Web test Properties:
      • Cache Control
      • Parse Dependent Request
      • Response Time Goal
      • Think Time
      • Expected URL
      • Url
      • Timeout
    • Web test features
      • Validation Rules
      • Find Text
      • Form Field
      • Maximum Request Time
      • Required Tag
      • Required Attribute Name
      • Hidden Fields
      • Extraction Rules
      • Selected Option
      • Tag Inner Text
      • Extract Attribute Value
      • Extract From Field
      • Extract Text
      • Extract Hidden Fields
    • Test Log
      • The Result Log is a file stored in the same directory as the web test is recorded into (*.webtestresult)
    • Handle errors
      • Incorrect User credentials
    • Run tests
      • TestList Editor
      • Manually from test
      • Create Batch File
      • For single test
      mstest/TestContainer:WebTest1.webtest
      • For Multiple WebTests
      mstest /TestContainer:WebTest1.webtest /TestContainer:WebTest2.webtest
      /RunConfig:NewRunConfig.testrunconfig/resultsfile:c:resultsMyResults.trx
      • For TestList
      mstest" /testmetadata:"C:QAVSTSCurrent.vsmdi" /testlist:Regression
      /resultsfile:c:resultsMyResults.trx
    • Load tests in VSTS
      • Simulate multiple user running
      • Collect data from Target Server
      and any other servers
      • Useful for testing stress/load on:
      • Database
      • Custom Business Logic
      • Web Sites
      • Web Services
      • What can be measured:
      • Time To First Byte (TTFB)
      • Time To Last Byte (TTLB)
      • Active Sessions, Active Users
      • Pages per Second
      • Transactions per Second
      • Memory (% Committed Bytes)
      • Processor (% Consumption)
      • ASP.NET (Session Count, Requests/Sec)
    • Load tests in VSTS
      • What can be managed:
      • User load
      • Network Mixed
      • Browser Mixed
      • Test Mix
      • Load Test Plug-In:
      • LoadTestStarting
      • LoadTestFinished
      • LoadTestWarmupComplete
      • TestStarting
      • TestFinished
      • ThresholdExceeded
      • HeartBeat
      • LoadTestAborted
    • Load test results
      • Virtual User Activity Chart
      • Key Indicators Chart
    • Load test results
      • Export to Excel reports
    • Helping Tools
    • Helping Tools
    • Books
    • 19
      Узнай больше на