A method for api discovery, method and device for determining test coverage

A test coverage and routing technology, applied in the field of web application testing, can solve the problem of obtaining target web application API information, difficulty, etc.

Active Publication Date: 2021-11-19
BEIJING ANPRO INFORMATION TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, for the gray / black box testing based on the web application developed based on the front-end and back-end separation architecture as the test object, it is often difficult to comprehensively and comprehensively test whether it is through the manual statistics of the development team or through the traditional means of crawling. Obtain the external API information of the target web application without omission

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 method for api discovery, method and device for determining test coverage
  • A method for api discovery, method and device for determining test coverage
  • A method for api discovery, method and device for determining test coverage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0030] In the description of the embodiments of the present disclosure, the term "comprising" and its similar terms should be interpreted as an open inclusion, that is, "including but not limited to". The term "based on" should be understood as "based at least in part on". The term "one embodiment" or "the embodiment" should be read as "at least one embodi...

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 embodiments disclosed in this application provide a method for API discovery, a method and a device for determining test coverage. Among them, the method of the former API discovery includes: obtaining the mapping set between the URL path registered by the routing system and the actual processing program through the first probe inserted in advance, and according to the mapping relationship information between the URL path and the actual processing program, obtain Corresponding API information. The above solution can comprehensively and effectively grasp the external API information of the target Web application. The latter scheme for determining the test coverage is based on the former scheme. By obtaining the full amount of external API information in the target web application, it can obtain accurate and reliable external API test coverage during the test process, and then evaluate more effectively. Test integrity to objectively understand software quality and better improve testing efforts.

Description

technical field [0001] The embodiments disclosed in this application mainly relate to the field of Web application testing, and more specifically, relate to a method for API discovery, and a method and device for determining test coverage. Background technique [0002] Test Coverage is an important indicator to measure the integrity of software testing. Mastering reliable test coverage data is conducive to objective understanding of software quality, correct understanding of test status, and effective improvement of test work. However, if you want to evaluate the test effect with the test coverage index, you must first face the problem of how to measure the test coverage. Different test coverage definitions will produce completely different test coverage data and corresponding measurement methods. Among them, testers can define interface-related test coverage (such as interface coverage) to properly evaluate the coverage of related tests in related dimensions such as inter...

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/3676G06F11/3688G06F11/3624
Inventor 张涛宁戈牛伟颖董毅
Owner BEIJING ANPRO INFORMATION TECH
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