Test case generation method and device for remote procedure call interface, storage medium and electronic equipment

A technology for remote procedure call and test case generation, applied in the field of testing, can solve the problems of low test efficiency and spend a lot of time, and achieve the effect of improving generation efficiency, improving coverage and reducing test cost

Pending Publication Date: 2021-02-05
BEIJING BYTEDANCE NETWORK TECH CO LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in related technologies, the testing of RPC interfaces mainly relies on manually writing test case scripts, which requires testers to spend a lot of time analyzing how to define parameters and optional values ​​of parameters for each interface, and the testing 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
  • Test case generation method and device for remote procedure call interface, storage medium and electronic equipment
  • Test case generation method and device for remote procedure call interface, storage medium and electronic equipment
  • Test case generation method and device for remote procedure call interface, storage medium and electronic equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein; A more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for exemplary purposes only, and are not intended to limit the protection scope of the present disclosure.

[0027] It should be understood that the various steps described in the method implementations of the present disclosure may be executed in different orders, and / or executed in parallel. Additionally, method embodiments may include additional steps and / or omit performing illustrated steps. The scope of the present disclosure is not limited in this respect. ...

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 relates to a test case generation method and device for a remote procedure call interface, a storage medium and electronic equipment, and aims to realize automatic generation of a test case of the remote procedure call interface, reduce the labor cost and test time input in a remote procedure call interface test and improve the test efficiency of the remote procedure call interface.The method comprises the steps: collecting the remote procedure call interface data of a business service through a service grid, wherein the business service is deployed with the service grid, and aflow agent function of the service grid is in an open state; acquiring an interface definition language file for analyzing the remote procedure call interface data from a public interface definition language library; analyzing the remote procedure call interface data according to the obtained interface definition language file to obtain parameter information corresponding to a network request received by a remote procedure call interface; and calling a test case generation tool, and generating a test case of the remote procedure call interface based on the parameter information.

Description

technical field [0001] The present disclosure relates to the technical field of testing, and in particular, to a method, device, storage medium and electronic equipment for generating test cases of a remote procedure call interface. Background technique [0002] RPC (Remote Procedure Cal, remote procedure call) is mainly used to solve the problem of calling between services in a distributed system. When making a remote call through the RPC interface, it can be as convenient as a local call, so that the caller cannot perceive the logic of the remote call . Therefore, in the microservice architecture, RPC interfaces are mostly used. However, in related technologies, testing of RPC interfaces mainly relies on manually writing test case scripts, which requires testers to spend a lot of time analyzing how to define parameters and optional values ​​of parameters for each interface, and the testing efficiency is low. Contents of the invention [0003] This Summary is provided t...

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): G06F9/54G06F11/36
CPCG06F9/547G06F11/3684G06F11/3688G06F2209/544
Inventor 高玉军林晓升何埜杨萍左琼
Owner BEIJING BYTEDANCE NETWORK TECH 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