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

Asynchronous testing method and device

An asynchronous testing and testing technology, applied in the Internet field, can solve the problems of wasting resources, underutilized clients, low efficiency, etc., and achieve the effect of improving the efficiency of testing and simplifying the testing process.

Active Publication Date: 2016-03-09
BEIJING QIHOO TECH CO LTD +1
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Usually, when web testing is performed, unit testing and stress testing are performed separately, and corresponding test scripts are written by different teams, which is complicated to operate
In addition, when performing a stress test, usually multiple clients are required to simulate requests to the web server at the same time to measure the load capacity of the web server, but in fact each client is not fully utilized, resulting in a waste of resources
[0004] Based on the above analysis, it can be seen that the existing web testing scheme is inefficient

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0025] In order to solve the problem of low efficiency of the existing web testing scheme, the embodiment of the present invention provides an asynchronous testing method, such as figure 1 As shown, the method includes:

[0026] 101. Build an asynchronous testing framework.

[0027] In this embodiment, building an asynchronous testing framework is building an asynchronous testing framework on the client side. Then simulate the cl...

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 an asynchronous testing method and device, relates to the technical field of internets, and aims to solve the problem that the existing web testing scheme is low in efficiency. The method disclosed by the invention comprises the following steps: setting up an asynchronous testing framework; obtaining a unit test case based on the asynchronous testing framework, and performing unit tests of tested affairs; performing unit tests of the plurality of affairs by occupying the same thread if unit tests of the plurality of affairs are carried out simultaneously; obtaining a pressure test case based on the asynchronous testing framework, and performing the pressure test case for many times through internal and external nested cyclical functions; and performing the pressure test case in parallel through a plurality of threads so as to complete pressure tests of different orders. The asynchronous testing method and device disclosed by the invention are applied in the process of testing functions and performances of a web application.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to an asynchronous testing method and device. Background technique [0002] Because network web applications are directly related to users and usually need to withstand a large number of operations for a long time, the functions and performance of web applications must be reliably verified. This is subject to thorough testing of the web application. Common web tests include unit tests, stress tests, etc. Unit testing is to test the smallest functional module, and stress testing is to test how much traffic the web server can withstand. [0003] Usually, when performing web testing, unit testing and stress testing are performed separately, and corresponding test scripts are written by different teams, which is complicated to operate. In addition, during stress testing, usually multiple clients are required to simulate requests to the web server at the same time to measure the ...

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/3604G06F11/3688
Inventor 王院生
Owner BEIJING QIHOO 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