Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Test case generation method and device

A test case generation and test case generation technology, applied in the field of communication, can solve problems such as low test coverage, low accuracy, and disconnection, and achieve the effect of solving data preparation difficulties, ensuring coverage, and improving versatility

Pending Publication Date: 2021-11-26
CHINA MOBILE GROUP ZHEJIANG +1
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1) The accuracy of the test results of the solution based on functional test cases to collect performance data is low: the functional test cannot generate a large concurrent pressure on the system under test, and the system performance is only evaluated based on the resource data in the functional test state, which is different from the performance under the real stress state. Big difference, low accuracy
[0009] 2) The scheme of obtaining test cases based on cluster analysis of traffic data has low test coverage: this scheme can only obtain typical test cases and cannot cover all test scenarios
Moreover, this solution breaks away from the correlation between different services, and cannot evaluate the performance impact on the system under test when different services are superimposed

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
  • Test case generation method and device
  • Test case generation method and device
  • Test case generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0032] Figure 1A A flow chart of a method for generating a test case provided by an embodiment of the present invention is shown. Such as Figure 1A As shown, the method includes the following steps:

[0033] Step S101, receiving a test case generation request.

[0034] Specifically, a control interface can be provided to the tester, wherein the control interface includes a test case generation button, and the tester can send a test case gene...

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 test case generation method and device. The method comprises the following steps: receiving a test case generation request; obtaining a test scene and corresponding test atomic data, and determining the test atomic data and the test scene according to business log data stored in the offline log library; and based on a preset case template, performing case assembly processing on the test scene and the test atomic data to generate a test case. According to the scheme provided by the invention, the test scene and the test atomic data are generated based on the service log data formed by the real service request stored in the offline log, the association relationship between services is reserved, the problem that data required by a traditional performance test is difficult to prepare is solved, the generated test scene is comprehensive, namely, the full-scene performance test is supported, the universality is improved, and the test case coverage rate is also ensured. And moreover, no influence is generated on a production system, and the safety is improved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a test case generation method and device. Background technique [0002] Performance testing has always been an important test method to ensure system stability. It evaluates service performance and detects system capacity by simulating test traffic. Among them, the preparation of use cases for performance testing is the most complex and heavy workload. It not only requires testers to be familiar with business characteristics, design typical test scenarios, but also prepare tens of thousands of available test data. [0003] Especially with the gradual promotion of middle-end architecture and the flourishing of front-end business models, various performance test scenarios need to be customized. For example, a public middle platform involves multiple front-end businesses calling together. The performance test of this type of middle platform needs to simulate the test scenari...

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
CPCG06F11/3684
Inventor 戴安妮叶晓龙王璇
Owner CHINA MOBILE GROUP ZHEJIANG
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products