Method and device for distributed testing of module stability

A test method and test device technology, applied in the field of testing, can solve problems such as low efficiency and long time spent, and achieve the effect of reducing time spent and improving test efficiency

Active Publication Date: 2014-05-14
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the computing power of a single terminal is limited, in the case of a large amount of input data, it will take a long time for the module under test to run through all the input data. Very inefficient when testing

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for distributed testing of module stability
  • Method and device for distributed testing of module stability
  • Method and device for distributed testing of module stability

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach 1

[0044] Embodiment 1: The determining unit 1021 determines the encapsulation length according to the input data type of the module under test, and divides each encapsulation unit of the test data according to the encapsulation length. The module under test has been determined before the test. Since the module under test is determined, the input data type of the module under test can be determined according to the definition of the module under test. The length of this type of data can be determined by the data type, which is the encapsulation length. Please refer to image 3 , image 3 is a schematic diagram of test data in the present invention.

Embodiment approach 2

[0045] Embodiment 2: The determination unit 1022 encodes the test data into text, and divides each encapsulation unit of the test data according to the newline characters in the text. Specifically, base64 can be used to encode the binary test data, such as Figure 4 In the test data shown, each package unit can be determined according to the newline character " / ".

[0046] After the determination unit 1021 determines each encapsulation unit of the test data, when the division unit 1022 determines the test data set, the number of encapsulation units included in each test data set can be randomly determined, either one or multiple. After the division unit 1022 determines each test data set, the communication unit 1023 can send each test data set to the corresponding computing node. Preferably, the communication unit 1023 can send a test data set to a computing node.

[0047] Each compute node contains a test unit to figure 1 For example, the testing unit 103 is configured to ...

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 provides a method and device for distributed testing of module stability. The method for distributed testing of module stability comprises the steps of obtaining configuration files relevant with test data, and enabling the configuration files to record every test data set mark in a data row mode; splitting the configuration files according to rows to obtain more than two data rows, determining computation nodes corresponding to the data rows according to the test data set marks in the data rows, and sending the data rows to the corresponding computation nodes; determining storage addresses of test data sets on every computation node according to the test data set marks in the received data rows, and obtaining the test data sets of the storage addresses, deploying tested modules on every computation node, and running the obtained test data sets in the deploying tested modules so as to output test logs. According to the method and device for distributed testing of module stability, module stability test efficiency can be effectively improved.

Description

【Technical field】 [0001] The invention relates to testing technology, in particular to a distributed testing method and device for module stability. 【Background technique】 [0002] Testing is an important part of the software development process. According to the purpose of testing, testing can be divided into functional testing and performance testing. Functional testing focuses on the function of the module, and it needs to verify whether the function implementation of the module meets the requirement specification of the module. Performance testing focuses on the stability and robustness of the overall operation of the module. Among them, the stability test is an important aspect of the performance test. It mainly inputs a large amount of data to the module to detect whether the module can run stably during continuous data processing. [0003] In the prior art, the module stability test is performed in a stand-alone manner, that is, the module under test is deployed on...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 刘佳刘晶
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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