A distributed test method and device for 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: 2018-06-12
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF6 Cites 0 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
  • A distributed test method and device for module stability
  • A distributed test method and device for module stability
  • A distributed test method and device for 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 present invention provides a distributed testing method and device for module stability, wherein the distributed testing method for module stability includes: obtaining a configuration file related to test data, wherein the configuration file records each Test data set identification; segment the configuration file by line to obtain more than two data lines, and determine the computing node corresponding to the data line according to the test data set identification in each data line, and store the data line Send to the corresponding computing node; determine the storage address of the test data set according to the test data set identifier in the received data row on each computing node, and obtain the test data set at the storage address, and, in each Deploy the tested module on the computing node, and run the obtained test data set in the deployed tested module to output the test log. Through the above method, the present invention can effectively improve the efficiency of module stability testing.

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 Patents(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