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

A pressure test method and test equipment for an interface

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

Active Publication Date: 2018-06-22
TENCENT TECH (SHENZHEN) CO LTD
View PDF4 Cites 0 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
  • A pressure test method and test equipment for an interface
  • A pressure test method and test equipment for an interface
  • A pressure test method and test equipment for an interface

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 Patents(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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products