Your SlideShare is downloading. ×
0
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Web and Load Tests with VS2010
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Web and Load Tests with VS2010

7,212

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,212
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<br />Yuliya Solovyova<br />http://mswebtest.blogspot.com/<br />
  • 2. Agenda<br />2<br />Why do testing with VSTS<br />Web tests<br />Load Test<br />Helping Tools<br />Books<br />
  • 3. Why do testing with VSTS<br /><ul><li>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</li></li></ul><li>Web test<br />
  • 10. Typical load testing configuration<br />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. *<br />*http://blogs.msdn.com/b/edglas/archive/2010/02/07/vs-2010-sku-lineup-and-pricing-finalized.aspx<br />
  • 11. Web test in VSTS<br /><ul><li>Capture and playback http-level interactions
  • 12. Records AJAX, Popup windows
  • 13. Composition &amp; Decomposition
  • 14. Auto-validate response URL
  • 15. Integrated with Team Build
  • 16. Hidden running mode
  • 17. Multi Browsers support
  • 18. Data Driven Tests</li></li></ul><li>Web test features<br /><ul><li>Web test Properties:
  • 19. Cache Control
  • 20. Parse Dependent Request
  • 21. Response Time Goal
  • 22. Think Time
  • 23. Expected URL
  • 24. Url
  • 25. Timeout</li></li></ul><li>Web test features<br /><ul><li>Validation Rules
  • 26. Find Text
  • 27. Form Field
  • 28. Maximum Request Time
  • 29. Required Tag
  • 30. Required Attribute Name
  • 31. Hidden Fields
  • 32. Extraction Rules
  • 33. Selected Option
  • 34. Tag Inner Text
  • 35. Extract Attribute Value
  • 36. Extract From Field
  • 37. Extract Text
  • 38. Extract Hidden Fields</li></li></ul><li>Test Log<br /><ul><li>The Result Log is a file stored in the same directory as the web test is recorded into (*.webtestresult)</li></li></ul><li>Handle errors<br /><ul><li>Incorrect User credentials</li></li></ul><li>Run tests<br /><ul><li>TestList Editor
  • 39. Manually from test
  • 40. Create Batch File
  • 41. For single test </li></ul>mstest/TestContainer:WebTest1.webtest<br /><ul><li>For Multiple WebTests</li></ul>mstest /TestContainer:WebTest1.webtest /TestContainer:WebTest2.webtest<br /> /RunConfig:NewRunConfig.testrunconfig/resultsfile:c:resultsMyResults.trx<br /><ul><li>For TestList</li></ul>mstest&quot; /testmetadata:&quot;C:QAVSTSCurrent.vsmdi&quot; /testlist:Regression<br /> /resultsfile:c:resultsMyResults.trx<br />
  • 42. Load tests in VSTS<br /><ul><li>Simulate multiple user running
  • 43. Collect data from Target Server</li></ul>and any other servers<br /><ul><li>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)</li></li></ul><li>Load tests in VSTS<br /><ul><li>What can be managed:
  • 57. User load
  • 58. Network Mixed
  • 59. Browser Mixed
  • 60. Test Mix
  • 61. Load Test Plug-In:
  • 62. LoadTestStarting
  • 63. LoadTestFinished
  • 64. LoadTestWarmupComplete
  • 65. TestStarting
  • 66. TestFinished
  • 67. ThresholdExceeded
  • 68. HeartBeat
  • 69. LoadTestAborted</li></li></ul><li>Load test results<br /><ul><li>Virtual User Activity Chart
  • 70. Key Indicators Chart</li></li></ul><li>Load test results<br /><ul><li>Export to Excel reports</li></li></ul><li>Helping Tools<br />
  • 71. Helping Tools<br />
  • 72. Books<br />
  • 73. 19<br />Узнай больше на <br />

×