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

Software project testing method and device, equipment and storage medium

A software project and testing method technology, applied in the software field, can solve problems such as inability to call data, multiple test resources, consumption, etc., and achieve the effects of improving test efficiency, simplifying the test process, and quickly positioning

Inactive Publication Date: 2020-04-17
ZHUHAI SUIBIAN TECH CO LTD
View PDF2 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the Telnet-based debugging interface can only implement simple data verification, verify whether the interface is available, and cannot call the data in the interface; the XML-based configuration method cannot flexibly add or modify the test code, and can only use constants For testing, variable and multi-data testing cannot be realized; based on the API method, when an abnormal situation occurs, it is difficult to locate the abnormality in time, and only by analyzing the output log can the location where the abnormality occurs, and the positioning method It is cumbersome and requires excessive testing resources

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
  • Software project testing method and device, equipment and storage medium
  • Software project testing method and device, equipment and storage medium
  • Software project testing method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Figure 1A It is a flow chart of a testing method for a software item provided in Embodiment 1 of the present invention. This embodiment is applicable to the situation where an interface test and / or performance test is performed on a software item. The method can be implemented by the software item in the embodiment of the present invention. The test device is carried out, and this device can be realized by software and / hardware, and is integrated on the Jmeter client end, and this method specifically comprises the following steps:

[0028] S110. Obtain a Dubbo test Jar package and save it in a target folder; the Dubbo test Jar package includes a Dubbo test class.

[0029] The Jmeter client, namely Apache Jmeter, is a Java-based stress testing tool for stress testing, functional testing, and regression testing of software projects. It can be used for both static resource testing and dynamic resource testing.

[0030] Dubbo is a lightweight Java service framework, which ...

Embodiment 2

[0049] figure 2 It is a test device for a software project provided by Embodiment 2 of the present invention, which can manage threads or thread group objects in batches, and effectively organize threads or thread group objects; wherein, thread groups are classified into first-level associations (ie Include child object in the parent object, but do not create child-grandchildren object) and multi-level association (comprise child object in the parent object); 230 and storage module 240.

[0050] The test Jar package acquisition module 210 is used to obtain the Dubbo test Jar package and save it in the target folder; the Dubbo test Jar package includes the Dubbo test class;

[0051] The test management thread group building module 220 is used to set up the test management thread group according to the thread group configuration information;

[0052] The test trigger module 230 is used for calling the Dubbo test Jar package from the target folder through the test management t...

Embodiment 3

[0067] image 3 A schematic structural diagram of a device provided in Embodiment 3 of the present invention, such as image 3 As shown, the device includes a processor 30, a memory 31, an input device 32 and an output device 33; the number of processors 30 in the device can be one or more, image 3 Take a processor 30 as an example; the device processor 30, memory 31, input device 32 and output device 33 can be connected by bus or other means, image 3 Take connection via bus as an example.

[0068] Memory 31, as a computer-readable storage medium, can be used to store software programs, computer-executable programs and modules, such as the modules corresponding to the test device of the software project in Embodiment 2 of the present invention (test Jar package acquisition module 210, test management thread group establishment module 220, test trigger module 230 and storage module 240). The processor 30 executes various functional applications and data processing of the d...

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 embodiment of the invention discloses a software project test method and device, equipment and a storage medium. The method comprises the steps of obtaining a Dubbo test Jar packet; establishing atest management thread group according to the thread group configuration information; calling the Dubbo test Jar packet through the test management thread group so as to trigger a performance test and / or an interface test; and correspondingly storing the test results of the performance test and / or the interface test according to result tree configuration information. According to the technical scheme, the obtained Dubbo test Jar packet is called through the Jmeter, the Dubbo test class is executed, the interface test and / or the performance test of the Dubbo service are / is realized, and the test result obtained through the result tree configuration information already comprises detailed test data, so that the analysis of the output log is avoided, the test process is simplified, the consumption of test resources is reduced, and the test efficiency is improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of software, and in particular to a testing method, device, equipment and storage medium for a software item. Background technique [0002] With the rapid development of network technology, more and more software has begun to come into people's sight, and the continuous development of business makes each software project need to be updated iteratively. Therefore, the performance test and interface test of software projects become is particularly important. [0003] The prior art generally adopts three testing methods for Dubbo services, a Telnet-based debugging interface, an XML configuration-based Dubbo testing method, and an API-based Dubbo testing method. However, the Telnet-based debugging interface can only implement simple data verification, verify whether the interface is available, and cannot call the data in the interface; the XML-based configuration method cannot flexibly...

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
CPCG06F11/3668G06F11/3684G06F11/3688
Inventor 赵彤蔡军高
Owner ZHUHAI SUIBIAN TECH CO LTD
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