The Implementation and Application of the Automatic Test for Cimprovider on IBM i System

Author
ZhangShouDi
Advisor
QinGuiHe
School
Jilin University
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2012
Downloads
8
Citations
0

Request the full text

Abstract

To test the functionality of different types of providers based on CIM specification, wecan define and implement a more general test suit that can be exploited by different peers.Also possibly facilitate the unit test during provider development cycle. Themotivation/requirement of the test client can be summarized in the following lists.As one of the most important steps in the project, test is absolutely necessary to ensurethe quality before products submitted to customers. For the test of providers on IBM i system,tester used to use the CLI tool, which is easy and may do most of work. However, this methodjust need work manually, so that it is not a good idea for the efficiency of test. Especially, itneeds testers more professional, for example, maintain for script. As high efficiency ispursued everywhere today, it is necessary to do automatic test for companies, especially IBMwhich is one of the fortune500top companies and whose process is definite. Though theautomatic test client for providers has been implemented by c++language, we will use javalanguage together with existing technology to make another one in order to get moreflexibility and more convenience. And then, we can complete the provider test on IBM isystem successfully together with manual test.This paper introduces which technologies Jtestclient have used and how to use it. And byusing it together with CLI tool, we can do the cimprovider test on IBM i system.The providers can be divided into different types based on their functions, includinginstance provider, association provider, method provider, indication provider and so on.Different type of providers have different test requirements. Jtestclient can not only test theoperations and properties of all kinds of providers, but also can do the Stress/Concurrency/Performance testing and Globalization testing after simple config. We can do the automatictest after import Jtestclient into Eclipse or XML Spy, etc. Jtestclient has unified provider test cases to avoid duplicated work.As it is wrote byusing java language which has the feature "once complied, run everywhere!", Jtestclientsupports different platforms. Any data are not hard coded in Jtestclient, but will be injectedinto execution at runtime. So it is easy to configure and maintain for testers. And also, thereport generated after execution makes it easy to analysis for testers. Jtestclient serves fordifferent peers. As all protocols or frameworks being used are open and well-accepted and thedata model for Jtestclient is based on XML Schema, it is easy to extend models or implementmore test cases by exploiters.It is impossible for automatic test to complete all the test requirements. In fact, it ismutually complementary with matual test. In order to finish all the test requirements ofproviders, we have to use CLI tool. No matter restart and shutdown cimsever, configuresystem values or install UME/PTF, we need run commands on IBM i system to do this.Now, we have used Jtestclient to do the automatic test of providers on IBM i system. It isvery flexible and convenient. All testers and developers feel good. Obviously, itsimplementation for the whole project is significant.

Table of contents

Summary 4-6 Abstract 6-11 Chapter 1 Introduction 11-14 1.1 Background and Significance topics 11 - 12 1.2 research status research content and structure of 12-13 1.3 of this paper technical background 13-14 Chapter 2 Cimprovider testing and automated testing motivation 14-22 2.1 IBM i operating system and related technical concepts 14-17 2.1.1 IBM i operating system profile 14-15 2.1.2 LPAR 15 2.1.3 PTF 15 2.1.4 PASE 15-16 2.1.5 UME 16-17 2.2 WBEM / CIM Overview 17-20 2.3 cimprovider automated test motivation 20-22 2.3.1 automated testing and its advantages 20-21 2.3.2 cimprovider automated test motivation 21-22 Chapter 3 Cimprovider automated testing requirements and technology 22-31 <br / > general functional test requirements 3.1 Cimprovider of 22-24 3.2 Jtestclient technical implementation 24-30 3.2.1 Junit ant to complete automated testing combined 25 -27 3.2.2 SBLIM 27 3.2.3 log4j 27-28 3.2.4 ICU 28-29 3.2 .5 XMLBeans 29-30 3.3 Jtestclient features 30-31 Chapter 4 combines automated testing tools to test the application of CL 31-45 4.1 test environment 31-32 4.1.1 software environment ( operating system requirements ) 31 4.1.2 hardware environment 31-32 4.2 process automation testing 32-36 4.3 CL assist manual test 36-43 4.3.1 UME / PTF installation 36-38 <br / > 4.3.2 Enable / Disable cim sever 38 4.3.3 MOF registration documents verify 38-39 4.3.4 system environment information 39-40 4.3.5 error Recovery 40 4.3.6 Method provider test 40-41 4.3.7 DIABLE provider 41 4.3 .8 globalization testing 41-43 4.4 defect management process 43-45 4.4.1 TTT database 43 4.4.2 SPR database relations 43-44 4.4.3 TTT and SPR database 44-45 Chapter 5 summary and Outlook 45-48 5.1 summary 45-46 5.2 Prospects 46-48 References 48-50 Thanks 50-51

Related dissertations

  1. 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
  2. The Design of PC Type Tester for Dial Indicator Gauges
  3. Design and Implementation of RFID Reader Based on Virtual Radio Technology
  4. Research and Design of AVR-based RFID Reader
    ShiZhenTong ·Ningxia University ·2014 ·Master's thesis
  5. Design and Implementation of HRMS Based on Active Database Technology
  6. Design and Implementation of Java Refactoring Plug-in Based on Eclipse
  7. Design and Implementation of the Nanjing Railway Vocational and Technical College Employment Management System
    ShiMingXiang ·Dalian University of Technology ·2013 ·Master's thesis
  8. Design and Implementation of Examination Management System of Anhui Sanlian College
    ChengMiao ·Dalian University of Technology ·2013 ·Master's thesis
  9. Workload Generation Techniques for Process-Aware Information Systems
    DuNaiQiao ·Tsinghua University ·2012 ·Doctoral dissertation
  10. Design&Implementation of Military Asset Management System
    DingLing ·Shandong University ·2013 ·Master's thesis
  11. Design and Implementation of Tobacco Monopoly Management Information System
    WangZuo ·Jilin University ·2013 ·Master's thesis
  12. SINS/GPS Inertial Integrated Navigation System
    LiDiFei ·Shenyang Ligong University ·2013 ·Master's thesis
  13. Design and Implementation of Radar’s Electrify Console
  14. Design of Video Monitor Based on Android
  15. Research of Radio Channel Based on a Localization Rescue System in Disasters
    ChaiLunShang ·Zhejiang University ·2014 ·Master's thesis
  16. The Design and Implementation of the FPGA Based Verification and Testing Platform of NoC
  17. Based on the40Nm Process LVDS Design and Implementation
    MaJuan ·Beijing Jiaotong University ·2014 ·Master's thesis
  18. Functional Verification of YHFT-DX High Performance DSP
  19. Test and application characteristics of dual cascade of microchannel plate
  20. Study on the Application of Schema Theory in English Teaching in Junior Middle School
    HuangLin ·Sichuan Normal University ·2013 ·Master's thesis