Software system testing method based on Hadoop platform

A technology of software system and testing method, applied in the field of cloud computing, software testing, Hadoop, which can solve the problems of complicated and difficult testing process

Inactive Publication Date: 2015-01-21
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Compared with traditional software, Hadoop platform software system has the characteristics of distribution, virtualization, high reliability, and high scalability. Therefore

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0015] A software system testing method based on the Hadoop platform, aiming at the distributed, virtualized, high reliability, and high scalability characteristics of the Hadoop platform, in three aspects of test case design, test environment deployment, and test result analysis. A testing strategy for , where:

[0016] Test case design strategy, in addition to the commonality with traditional software test case design, based on the characteristics of Hadoop, consider the operating habits of most users rather than specific objects in terms of ease of use; in terms of compatibility, consider a wider range of hardware platforms , operating system, application software, and network environment; in terms of high availability, consider the master node downtime, network disconnection, abnormality of a slave node, etc.; in terms of high scalability, consider the flexibility of increasing or decreasing the master-slave node, and expand Afterwards, the performance is displayed; in ter...

Embodiment 2

[0020] On the basis of embodiment 1, this embodiment designs the automatic selection use case of master node for the high availability of Hadoop platform software system, and the system configures a plurality of master nodes, wherein one master node is in use, and another master node is idle, when normal After the master node in use fails, the system automatically searches for an available master.

[0021] Specific steps:

[0022] 1) Disconnect the network cable or shut down the currently working master node;

[0023] 2) Confirm that there are other master nodes that can be used normally in the environment, and wait for a while;

[0024] 3) Check whether the system is running normally.

[0025] Expected results: The waiting time for searching and switching the master is acceptable, the system automatically returns to normal, and the service response time is acceptable.

Embodiment 3

[0027] On the basis of Embodiment 1, this embodiment designs a slave node deletion use case for the high scalability and load scheduling of the Hadoop platform software system. After a slave node is deleted, the system automatically balances the load to other slave nodes.

[0028] Specific steps:

[0029] 1) Perform frequent input and output operations on the software system and use automated testing tools;

[0030] 2) The two slave nodes are in normal use, recording the usage of cpu and memory;

[0031] 3) Shut down one of the slave nodes or disconnect from the network;

[0032] 4) View the CPU and memory usage of another slave node.

[0033] Expected results: The Hadoop platform automatically balances the load, and the CPU and memory usage of the other slave node increases, but the response time of the read and write operations of the software system will not fluctuate too much.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a software system testing method based on a Hadoop platform. Based on the characteristics of distribution, virtualization, high reliability and high telescopic performance of the Hadoop platform, a test case design strategy is adopted, the operation habits of most users instead of specified objects are considered, wider hardware platforms, operation systems, application software and network environment are considered, the conditions that master nodes break down and are turned off, and certain salve nodes are abnormal are considered, the increase and decrease flexibility of the master nodes and the slave nodes and performance display conducted after extension are considered, and concurrence reading-writing accuracy, consistency and performance of the slave nodes are considered. A testing environment deployment strategy is adopted, and a small simulated Hadoop software system testing environment is built. A testing result analysis strategy is adopted, whether a rear server is restarted, breaks down and is turned off or not is considered, the Hadoop operation log is combined, the compatibility information and other important data information of testing environment software and hardware platforms are analyzed, and the work state of a server program is diagnosed.

Description

technical field [0001] The invention relates to the fields of cloud computing, Hadoop and software testing, in particular to a software system testing method based on the Hadoop platform. Background technique [0002] Hadoop is a software framework capable of distributed processing of massive data. It is an open source implementation of Google's cloud computing framework. It can run applications on clusters composed of a large number of cheap hardware devices, aiming to build a system with high reliability and good scalability. distributed system. [0003] In the family of cloud computing, Hadoop has gradually become the cloud computing platform of choice for various software development teams through its own open source distributed computing framework, and software systems based on the Hadoop platform have also emerged. Compared with traditional software, Hadoop platform software system has the characteristics of distribution, virtualization, high reliability, and high sca...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F11/36
Inventor 赵霞孙言弟张新玲
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products