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

Concurrent testing method and device

A test device and test method technology, applied in the network field, can solve the problems of manual release of breakpoints, low test efficiency and high cost, and achieve the effect of reducing test cost and improving test efficiency

Active Publication Date: 2018-06-05
ADVANCED NEW TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This technical solution needs to write test scripts, the cost is high, the user needs to manually release the breakpoint, and the test efficiency is low

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
  • Concurrent testing method and device
  • Concurrent testing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0018] figure 1 It is a flowchart of a concurrency testing method provided by an embodiment of the present invention. Such as figure 1 As shown, the method includes:

[0019] 101. The concurrent testing apparatus acquires test function parameters, where the test function parameters include a rendezvous identifier and a number of threads.

[00...

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 concurrent testing method and device. The method includes: the concurrent testing device obtains test function parameters including the assembly point identifier and the number of threads, uses the test function parameters to process the source file, and generates a test file, the test file includes the assembly point at the location indicated by the assembly point identifier and the instruction The number of threads running the test file that arrives at the rendezvous point reaches the number of threads and releases the thread so that the threads continue to run concurrently; according to the number of threads, the test file is called to make the thread run the test file, and the running result is obtained for It is judged whether there is a concurrent processing risk in the source file. The technical scheme of the invention reduces the concurrent test cost and improves the test efficiency.

Description

【Technical field】 [0001] The present invention relates to the field of network technology, in particular to a concurrent testing method and device. 【Background technique】 [0002] At present, many application systems, such as the Alipay system, are deployed in a distributed manner and process business in a multi-threaded manner, so there are many concurrent business scenarios. During offline testing, it has always been a difficult problem to find out whether business codes have concurrent processing risks. [0003] Existing solutions mainly use the next-generation testing (Testing Next Generation, testNG) technology to perform concurrent testing on java source codes. The main testing steps include: writing test scripts; configuring testNG parameters to enable multi-threaded concurrent operation; Mark a breakpoint on the specified code line; observe the variable value after multi-threading runs to the breakpoint; release the breakpoint manually; observe the running result af...

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 ADVANCED NEW 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