Test method and system for concurrent user access

A test method and user's technology, applied in error detection/correction, instruments, multi-program devices, etc., can solve problems such as inability to correctly count the number, proportion, success or failure of user request response time, and inability to accurately count response time. , to achieve the effect of ensuring fairness and accuracy

Inactive Publication Date: 2014-06-18
CHINA TELECOM CORP LTD
View PDF2 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method has the following obvious shortcomings: direct scheduling of threads may cause a certain user request to wait for too long to obtain an available database connection, and users often cannot accurately count the time from send

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 method and system for concurrent user access
  • Test method and system for concurrent user access
  • Test method and system for concurrent user access

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be described more fully hereinafter with reference to the accompanying drawings, in which exemplary embodiments of the invention are illustrated. The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention. The technical solution of the present invention will be described in various aspects below in conjunction with various figures and embodiments.

[0025] A thread is a single sequential flow of control in a program. Running multiple threads simultaneously in a single program to perform differ...

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 method and system for concurrent user access. The method includes the steps: receiving executive tasks applied for by users by a concurrent scheduling unit; decomposing the tasks into subtasks by the concurrent scheduling unit according to types of the tasks, and placing the subtasks into task scheduling queues; taking out the subtasks from the task scheduling queues by the concurrent scheduling unit to execute the subtask. The executive tasks are decomposed into the subtasks and respectively executed, task execution is scheduled, the users are not directly scheduled, a large number of concurrent user test tasks can be processed under the condition of high concurrent loads of the users, statistical accuracy of response time of the users is ensured, and fairness of user task execution is also ensured.

Description

technical field [0001] The invention relates to the technical field of concurrent access testing, in particular to a testing method and system for user concurrent access. Background technique [0002] When conducting software and hardware performance tests, due to the high concurrent user load characteristics in the performance test model, when the number of users increases to a relatively large number of concurrent accesses, there will be hundreds or even more transaction execution requests at a certain moment. To handle a large number of user tasks, this requires an efficient scheduling method. [0003] At present, the concurrent user scheduling method during stress testing generally uses multi-thread technology to achieve concurrent access by multiple users, and each thread represents a user. However, this method has the following obvious shortcomings: direct scheduling of threads may cause a certain user request to wait for too long to obtain an available database conne...

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/00G06F9/46
Inventor 邱红飞李先绪黄植勤黄春光吴家隐郑文武陈泳
Owner CHINA TELECOM CORP LTD
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