Your SlideShare is downloading. ×

Web and Load Tests with VS2010

7,139
views

Published on

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

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

Published in: Technology

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
7,139
On Slideshare
0
From Embeds
0
Number of Embeds
4
Actions
Shares
0
Downloads
0
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Web and Load Tests with VS2010
    Yuliya Solovyova
    http://mswebtest.blogspot.com/
  • 2. Agenda
    2
    Why do testing with VSTS
    Web tests
    Load Test
    Helping Tools
    Books
  • 3. Why do testing with VSTS
    • Visual Studio allows:
    • 4. Manual Tests
    • 5. Web Tests
    • 6. Load Tests
    • 7. TFS Work Item Tracking
    • 8. TFS Reporting
    • 9. Source code control integration
  • Web test
  • 10. 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
  • 11. Web test in VSTS
    • Capture and playback http-level interactions
    • 12. Records AJAX, Popup windows
    • 13. Composition & Decomposition
    • 14. Auto-validate response URL
    • 15. Integrated with Team Build
    • 16. Hidden running mode
    • 17. Multi Browsers support
    • 18. Data Driven Tests
  • Web test features
  • Web test features
  • 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
    • 39. Manually from test
    • 40. Create Batch File
    • 41. 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
  • 42. Load tests in VSTS
    • Simulate multiple user running
    • 43. Collect data from Target Server
    and any other servers
    • Useful for testing stress/load on:
    • 44. Database
    • 45. Custom Business Logic
    • 46. Web Sites
    • 47. Web Services
    • 48. What can be measured:
    • 49. Time To First Byte (TTFB)
    • 50. Time To Last Byte (TTLB)
    • 51. Active Sessions, Active Users
    • 52. Pages per Second
    • 53. Transactions per Second
    • 54. Memory (% Committed Bytes)
    • 55. Processor (% Consumption)
    • 56. ASP.NET (Session Count, Requests/Sec)
  • Load tests in VSTS
  • Load test results
    • Virtual User Activity Chart
    • 70. Key Indicators Chart
  • Load test results
    • Export to Excel reports
  • Helping Tools
  • 71. Helping Tools
  • 72. Books
  • 73. 19
    Узнай больше на