Method for automatically generating test data in cloud computing environment

A technology for automated testing and cloud computing environment, applied in the field of automated test data generation, it can solve the problems of expensive integrated solutions, open underlying design, limited memory resources, etc., to improve program robustness, reduce repetitive processes, and save effect of time

Inactive Publication Date: 2015-11-11
JILIN UNIV
View PDF2 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since multiple users share the memory, it is necessary to apply for resources (that is, memory) from the terminal. If the allocated memory is insufficient, the test will fail, and the memory resources of the system are very limited and cannot meet the needs of software development. In order to meet the constant needs of developers, cloud computing software testing can effectively utilize the dynamically scalable massive resources of the cloud platform, save testing time and reduce test

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 for automatically generating test data in cloud computing environment
  • Method for automatically generating test data in cloud computing environment
  • Method for automatically generating test data in cloud computing environment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Embodiment 1 General structure of the present invention

[0026] A method for generating automated test data in a cloud computing environment of the present invention comprises four steps: test plan definition, uploading data to be tested to a cloud test platform, test execution, and test report generation and analysis;

[0027]The definition of the test plan is that when a test plan is established, the test plan is displayed in a tree structure on the GUI interface of JMeter, and the storage format of its content is in xml form, and the script stored in this xml form is for Formal description of a tree test plan. When the test execution module executes the test plan, it will determine what kind of object should be created in the memory according to the description of the xml file to reflect the test plan created by the user, and generate respective behaviors according to different objects to access the test system;

[0028] The described uploading of the data to be te...

Embodiment 2

[0031] Embodiment 2 The method for automatically generating software structure test data based on the quantum leapfrog algorithm of the present invention

[0032] Automatically solving the problem of software test data generation can effectively reduce the work of testers, improve the efficiency of software testing, and save software development costs. The method for generating software test data adopted in the present invention is a quantum leapfrog algorithm. This method randomly selects input data from the program input space (input field), and then uses the input data to execute the program under test, and then combines the new input data generated by the quantum leapfrog algorithm according to the execution results of the input data in the program. , continue to run and test the program for trial until the optimal solution is found.

[0033] 1. Construction of fitness value function

[0034] The fitness value function is the optimization target of the quantum leapfrog a...

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 relates to a method for automatically generating test data in a cloud computing environment, belonging to the technical field of performance tests. The method comprises the four steps of defining a test plan, uploading data to be tested to a cloud testing platform, executing a test and generating and analyzing a test report. According to the invention, too much manual intervention is unnecessary; the repetitive process can be effectively reduced, so that the time, the cost and the workload can be saved; and the method has the advantages of being rapid in data processing and testing speed, saved in memory space and the like.

Description

technical field [0001] The invention belongs to the technical field of performance testing, in particular to a method for generating automated testing data in a cloud computing environment. Background technique [0002] Software testing is an important means to ensure and improve software quality, and it is an indispensable link in the software life cycle. In the process of software testing, the generation of test data is the core problem, and it is also the key and difficult point of software testing. Generating suitable test data is the basis of efficient software testing. The quantum leapfrog algorithm provides rich theories and methods for software test data generation, which can effectively improve the efficiency of software testing. [0003] Any test is inseparable from manual testing. Based on test cases, we need manual testing at the initial stage of testing, but manual testing also has its great limitations. First of all, it is impossible to cover every path. Ther...

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 JILIN UNIV
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