in test adaptation of workload in enterprise application
play

In-Test Adaptation of Workload in Enterprise Application Performance - PowerPoint PPT Presentation

In-Test Adaptation of Workload in Enterprise Application Performance Testing Maciej Kaczmarski April 23, 2017 Agenda 1 Motivation & Research Objective 2 Proposed Approach 3 Experimental Evaluation 4 Conclusions & Future work Maciej


  1. In-Test Adaptation of Workload in Enterprise Application Performance Testing Maciej Kaczmarski April 23, 2017

  2. Agenda 1 Motivation & Research Objective 2 Proposed Approach 3 Experimental Evaluation 4 Conclusions & Future work Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 2 / 12

  3. Motivation A considerable number of the performance issues which occur in the software systems are dependent on the input workloads. Traditional Techniques are ineffective because: ´ rely on static workloads , ´ it is common to use time-consuming and complex iterative test methods, ´ heavily rely on human expert knowledge . They could cause: ´ the complexity escalation, ´ the risk of potentially overlooking performance issues. Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 3 / 12

  4. Research Objective Automated approach to dynamically adapt the workload used by a testing tool Based on a set of diagnostic metrics , evaluated in real-time , to determine if any test workload adjustments are required for the tested application Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 4 / 12

  5. Proposed Approach Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 5 / 12

  6. Experimental Set-up Testbed Two independent VMs located on a 24-core, 64GB RAM server: ´ Server (2 core, 4GB RAM): ´ JPetstore, NMon, WAIT data collector ´ Test Controller (2 cores, 4GB RAM): ´ JMeter, Controlling tool (Java) Tests execution Static: ´ Run a range of workloads in order to establish Static Base Line; to be compared with our solution Dynamic: ´ Tests run with our solution (prototype) Analyzed parameters: # Bugs, Transaction Response Time, Throughput, Error rate, CPU and Memory utilisations Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 6 / 12

  7. Results Bugs detection 100 Bugs classification best-static Perf. Bugs Found (#) dynamic (frequency 80 avg-static occurrence based): worst-static ´ major (more 60 than 5%) 40 Comparable number 20 of detected bugs w.r.t. the best 0 static workload Any Major Bug Classification Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 7 / 12

  8. Results Execution time 40 35 Reduction in the 30 duration of the Time (hr) 25 performance testing 20 activities of 94% 15 Workload decision 10 taken out from a 5 tester hands 0 static runs dynamic run Test Run Type Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 8 / 12

  9. Results Resource utilisation 100 Average Utilisation (%) best-static dynamic More CPU efficient 80 avg-static than static workload worst-static 60 Marginally more memory-intensive 40 due to monitoring 20 the workload behaviour 0 CPU Memory Resource Type (JMeter) Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 9 / 12

  10. Conclusions Automated approach to dynamically adapt the workload so that issues (e.g. bottlenecks) can be identified more quickly, as well as with less effort and expertise Reduction in the duration of the performance testing activities of 94% The approach is able to identify almost as many relevant bugs as the best test run (from the tests using static workloads) Introducing a moderate level of overhead in memory (i.e., 5% increment) utilisation in the JMeter machine. Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 10 / 12

  11. Future work Improve experimental validation of our approach: ´ by diversifying the tested applications, ´ the diagnosis tools used to identify the bugs, ´ the size and composition of the test environment, ´ test duration. Keep investigating how best to extend our technique (i.e., by exploring the idea of using different workloads, per transaction type). Maciej Kaczmarski — LTB L’Aquila April 23, 2017 — 11 / 12

  12. Thank you for your attention. Questions?

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