IP network management system test design and implementation

Author
LiQunHui
Advisor
LiXuWei
School
Sichuan University
Major
Computer Applications
Classification
TP393.07 Computer Network Management
Degree
Master's thesis
Year
2004
Downloads
76
Citations
0

Request the full text

Abstract

Software product quality metrics , assessment and assurance is the developer and the user is always the focus of attention , software testing is an important means to ensure software quality . In this paper, the \IP network management system is a carrier-class management system , and only through a complete and effective testing to ensure high availability and high reliability. This paper first introduces the basic theory of software testing , and then focused on network management system testing and unit testing program design and implementation . Test program uses the V model and X model combination to improve the efficiency of the test . Unit testing analysis division unit of granularity , test preparation methods , JUnit architecture and design patterns to study how the various design patterns in JUnit test class design combine to achieve rapid and efficient testing results, and gives the design unit testing framework . Found during testing for the network management system memory leak problem , the article analyzes the Java memory management mechanism , Java memory leaks and Java design patterns in patients with single- mode and multi- mode case , and according to the different causes a memory leak to different solutions to solve the memory leak problem . For network management system is running too slow problem , analyzed under win32 multithreading , Java multithreading in services and events in the control window in Java threading mechanism , windows handle window events will introduce the idea of ??Java, to solve the network system is too slow and can only wait for the problem and improve the system's operating speed. This paper describes a test designed with high flexibility and versatility in solving tests found NMS memory leaks and performance problems will not affect the existing network management system functionality and performance to ensure lt; WP = 3 gt; an IP the integrity of the network management system , to a certain extent to improve the quality of IP network management system .

Table of contents

1 Introduction 9-13 1.1 Project Background 9-10 1.2 Technical Background 10-12 1.2.1 Software Testing Overview 10-11 1.2.2 IP Network Management System Introduction 11-12 1.3 I work 12-13 2 Network Management System Testing Framework Analysis 13-23 2.1 test program design 13-20 2.1.1 V model 13-14 2.1.2 X model 14 -16 2.1.3 NMS testing program 16-20 2.2 test environment to build 20-23 2.2.1 Configuration Software Testing Environment Overview 20-21 2.2.2 NMS test environment 21-23 3 unit test design and implementation 23-45 3.1 Unit Testing Overview 23-25 ?? 3.2 test unit to determine 25-26 3.3 test case design 26-31 3.3.1 test case design Summary of Method 26-28 3.3.1.1 logical overlay 27-28 3.3.1.2 Basic Path Method 28 3.3.2 Unit Testing test case design 28-31 3.4 JUnit unit testing framework designed 31-40 3.4.1 JUnit architecture 31 3.4. 2 JUnit design pattern 31-38 3.4.2.1 command (Command) mode 32-33 3.4.2.2 Combination (Composite) mode 33-35 3.4.2.3 template methods (Template Method) mode 35-37 3.4.2.4 Adapter (Adapter) mode 37-38 3.4.3 unit testing framework design 38-40 3.5 ordinary unit test class design and implementation 40-43 3.6 EJB unit test class design and implementation 43-45 < br /> 4 NMS memory leak problems 45-63 4.1 Java memory management mechanism 45-51 4.1.1 garbage collector works 46-49 4.1.1.1 garbage recycling principle 46-48 4.1.1.2 garbage recycling methods 48-49 4.1 .2 Java memory leak in 49-51 4.2 Java design patterns 51-57 4.2.1 simple factory pattern 51-54 4.2.1.1 Multi-level product structure 52-53 4.2.1.2 Multiple Roles combinations 53-54 4.2.1.3 advantage of simple factory pattern 54 4.2.2 Singleton Pattern 54-56 4.2.2.1 instantiated way 55-56 4.2.3 multi-instance mode 56 -57 4.3 solutions and achieve 57-63 4.3.1 How to detect memory leaks 57-59 4.3.2 resolve to achieve 59 -63 5 performance optimization of the network management system design and implementation 63-77 5.1 Windows message queue and multi-threading mechanism 64-68 5.1.1 Windows message queue 64-66 5.1.1 Win32 multithreaded architecture 66-68 5.2 Java event handling and multithreading 68-73 < br /> 5.2.1 Java event handling mechanism 68-71 5.2.2 Java in the multi-threading mechanism 71-73 5.3 network management system to achieve optimal performance 73-77 6 Conclusion 77-79 References 79-80 during the reading of scientific Profile 80-81 < br /> originality statement 81-82 Thanks 82

Related dissertations

  1. Design and Implementation of Event Processing Module in the TD-SCDMA Drive Test Software
  2. Research on Micro-bolometer Optical Thermal and Electrical Parameters Test Technology
  3. The Study of SOC Resolvent and the Implement of TSOC-A System
    WangYanNi ·Jilin University ·2005 ·Master's thesis
  4. The Evaluation and Consumer Responses Toward Food Companies’ Social Responsibility Behaviours
    ZhaoYueChun ·Nanjing Agricultural College ·2013 ·Doctoral dissertation
  5. The Research on the Theory and Practice of Media’s Moral Excitation Function
    XiongLi ·Hunan University ·2013 ·Master's thesis
  6. A Research on the Rumours Spread and the Organizations Response with the Microblogging Perspective
    ZhangWenHao ·Shandong University ·2013 ·Master's thesis
  7. Study on the Mechanical System and the Key Technology of the Stair Climbing Robot Which Can Omnibearing Walk
    LiangHu ·Donghua University ·2014 ·Master's thesis
  8. The Design of PC Type Tester for Dial Indicator Gauges
  9. Design and Implementation of RFID Reader Based on Virtual Radio Technology
  10. Research and Design of AVR-based RFID Reader
    ShiZhenTong ·Ningxia University ·2014 ·Master's thesis
  11. Research on Key Techniques of Clutter Graphic System Migration Based on Android
  12. Design and Implementation of HRMS Based on Active Database Technology
  13. Design and Implementation of Java Refactoring Plug-in Based on Eclipse
  14. Design and Implementation of the Nanjing Railway Vocational and Technical College Employment Management System
    ShiMingXiang ·Dalian University of Technology ·2013 ·Master's thesis
  15. Design and Implementation of Examination Management System of Anhui Sanlian College
    ChengMiao ·Dalian University of Technology ·2013 ·Master's thesis
  16. Workload Generation Techniques for Process-Aware Information Systems
    DuNaiQiao ·Tsinghua University ·2012 ·Doctoral dissertation
  17. Design&Implementation of Military Asset Management System
    DingLing ·Shandong University ·2013 ·Master's thesis
  18. Shandong Unicom Online Self-service Research and Design
    LiWeiXia ·Shandong University ·2013 ·Master's thesis
  19. Design and Implementation of Tobacco Monopoly Management Information System
    WangZuo ·Jilin University ·2013 ·Master's thesis
  20. SINS/GPS Inertial Integrated Navigation System
    LiDiFei ·Shenyang Ligong University ·2013 ·Master's thesis