Pressure testing method for interface and testing device

A technology for stress testing and testing equipment, applied in the field of data processing, can solve problems such as higher requirements, and achieve the effect of improving simplicity

Active Publication Date: 2017-01-04
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, when stress testing an interface, the tester needs to know the function of the interface, even read the development code of the interface, and then write the test case of the interface on the basis of knowing the function of the interface; this kind of stress testing method of the interface requires the tester Familiar with application development frameworks (such as RPC frameworks, etc.), and need to be able to understand the communication protocols used in the development framework, the requirements for testers are high; therefore, how to provide a simple stress test method so that testers can compare Simple interface pressure testing has become a problem that those skilled in the art need to consider

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
  • Pressure testing method for interface and testing device
  • Pressure testing method for interface and testing device
  • Pressure testing method for interface and testing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] 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.

[0030] figure 1 The flow chart of the stress test method for the interface provided by the embodiment of the present invention, the stress test method can be applied to the test device, the test device can be an electronic device loaded with stress test logic, and the embodiment of the present invention can implement the interface on the client Correspondingly, the test device may be a client computer loaded with stress test logic, and the embodiment of the pr...

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

An embodiment of the invention provides a pressure testing method for an interface and a testing device. The method comprises steps as follows: acquiring a description text used during interface definition, wherein the description text is defined by a communication protocol provided by a development framework; analyzing the description text, and configuring content which is contained in the text and corresponds to a to-be-tested interface into a data structure in a set format, the set format is different from a format of descriptive language adopted by the communication protocol; configuring testing content according to the data structure of the set format to obtain test content in the set format; calling pressure test logic and performing pressure testing on the to-be-tested interface according to the test content in the set format. With the adoption of the testing method for the interface and the testing device, a user can realize pressure testing on the interface more simply, and the convenience of pressure testing is improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a pressure testing method and testing equipment for an interface. Background technique [0002] At present, the application background is generally developed based on RPC (Remote Procedure Call Protocol) and other development frameworks; the RPC framework will provide the communication protocol between the application client and the application background, and these communication protocols are generally defined by descriptive language ; and the RPC framework can compile and generate the corresponding serialization and deserialization interfaces based on the communication protocol defined by the descriptive language; it is very important to stress test these interfaces when performing application background testing; stress testing the interfaces is It refers to the situation of simulating the actual use process of the interface, and tests the performance, reliability, stab...

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/3668
Inventor 贾珍珍
Owner TENCENT TECH (SHENZHEN) CO 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