marcel de vries
play

Marcel de Vries CTO Xpirit @marcelv @marcelv Lets sell music - PowerPoint PPT Presentation

#TESTWORKSCONF #XPIRT Marcel de Vries CTO Xpirit @marcelv @marcelv Lets sell music online! @marcelv Assemble a team We do Scrum We read THE book @marcelv @marcelv Marketing is doing great! @marcelv Website looks great . @marcelv


  1. #TESTWORKSCONF #XPIRT Marcel de Vries CTO Xpirit @marcelv @marcelv

  2. Lets sell music online! @marcelv

  3. Assemble a team We do Scrum We read THE book @marcelv

  4. @marcelv

  5. Marketing is doing great! @marcelv

  6. Website looks great …. @marcelv

  7. Launch date …. @marcelv

  8. What just happened? @marcelv

  9. @marcelv

  10. But…….?!? We did the lean startup thing…. We used agile methodology to produce the software…. We wrote tons of tests, everything is unit tested, we have 98% coverage!!! We use Microsoft Azure…. We have auto scaling turned on….. @marcelv

  11. Welcome to the pitfall called success! Applications always behave differently when running under high load and stress conditions! @marcelv

  12. I never make the same mistake twice. I make it five or six times, just to be sure.” – Anonymous @marcelv

  13. Performance Load Stress Capacity testing: testing: testing: planning: How will the What is point of users- Will the application How fast will application behave in load that will break be able to scale up the application front of the expected your application? to the expected code perform? users load? future capacity? @marcelv

  14. T ools that can help in this space Variation of Open Source and Commecial software Some common tools used: @marcelv

  15. Performance testing in VS Visual Studio Ultimate(2010,12,13) Visual Studio Enterprise 2015 Web Performance T est Any unit test We have done an amazing job of hiding this diamond (a 10K+ load testing tool) inside the box for years -- Charles Sterling .Net Rocks episode 1202 @marcelv

  16. Demo @marcelv

  17. Typical Enterprise setup TFS Dev .myenterprise.com Server Dev Servers AD server TST .myenterprise.com Prod .myenterprise.com & DNS Server Prod servers AD server DEV network AD server & & DNS Server Dev Clients DNS Server TST Servers Prod network TST network Workplace clients @marcelv TST Clients

  18. Load test configuration TST .myenterprise.com Load test database Load test rig TST network AD server & DNS Server Load generator Load generator Http(s)://myurl.tst.myenterprise.com + Controller TST Workstation @marcelv System Under Test

  19. What is needed to make this work? Appropriate/buy/ rent computers Install your software/agents Physically setup computers Replicate this to all the computers @marcelv

  20. Benefits of cloud load testing No need to Get infrastructure Use the same load Scale out easily setup your own in cloud when test project which in case of doing infrastructure you need it. you use for on stress testing. and maintain it. premises today. @marcelv

  21. Cloud Load test configuration TST .myenterprise.com Load test rig AD server & DNS Server TST network Http(s)://myurl.tst.myenterprise.com Load generator TST Workstation System Under Test Load generator + @marcelv Controller

  22. @marcelv New capabilities in VS 2015 & Update 5 13 regions up to 100 Cores for 72 hrs! @marcelv

  23. Demo @marcelv

  24. But I don’t want Visual Studio! @marcelv

  25. No worries, don’t need it @marcelv

  26. Demo @marcelv

  27. Load testing Approach Need to create representative scenarios Need to provide a real life scenario mix Start with a baseline Always compare to the baseline and check improvements Make it part of your daily routine “It is not hard to break something with a load test but it is extremely hard to learn something when you do” -- Richard Campbell, .Net Rocks episode 1202 @marcelv

  28. Example Node.JS & Mongo optimization done in April @marcelv

  29. Load testing part of build & Release VSTS standard build engine VSTS Release pipelines @marcelv

  30. Demo @marcelv

  31. But what does this cost? • First we need to define a VUM.. • E.g run a test for 1 hour to simulate 10,000 users => @marcelv

  32. Conclusion Cloud based load testing enables easy road to load testing for your external facing sites / API’s Visual Studio supports simple to set up load tests Visual Studio T eam Services(VSTS) provides cloud based load tests supports various formats including JMeter Make load testing part of you automated deployment strategy! @marcelv

  33. @marcelv http://fluentbytes.com mdevries@xpirit.com @marcelv

  34. xpir.it/XpiritMagazine @marcelv http://fluentbytes.com mdevries@xpirit.com @marcelv

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend