Test method and device for web service interface with authentication authorization

A web service and interface testing technology, applied in the computer field, can solve problems such as not supporting multi-user login, inability to guarantee the adequacy of interface testing, poor scalability of the system under test, etc.

Active Publication Date: 2019-11-12
CCB FINTECH CO LTD
View PDF8 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The existing technology is not suitable for automated testing of the web service interface of the system under test with authority control. It is too intrusive to the system and requires a separate deplo...

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 device for web service interface with authentication authorization
  • Test method and device for web service interface with authentication authorization
  • Test method and device for web service interface with authentication authorization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0034]Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, device, method or computer program product. Therefore, the present disclosure may be embodied in the form of complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[00...

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 device for a web service interface with authentication authorization, and relates to the technical field of computers. One specific embodiment of the method comprises the following steps: respectively establishing a login script for each tested system; dynamically loading and executing a login script corresponding to the tested system according to the incidence relation between the tested system and the login script so as to simulate the tested system for login testing and obtain authentication information; and providing the authentication informationto an interface test tool so as to add the authentication information to an interface access request of the tested system, and verifying response data returned by the tested system. The implementationmode is suitable for automatically testing the web service interface of the tested system with authority control. The method avoids too large invasiveness to the system, reduces errors, does not needto manually configure authentication authorization information, improves automation efficiency, is high in expandability, can achieve multi-user multi-role login, guarantees interface test sufficiency, does not need to be restarted, and improves system availability.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for testing a web service interface with authentication authorization. Background technique [0002] Software testing is an important part of the software life cycle and an important process to ensure software correctness, ease of use, security, and business function integrity. Among them, the interface test is a test that starts in the middle and late stages of the business function development stage, and its purpose is to test the correctness of data exchange, transmission and control in the communication between system components. [0003] In the implementation of the interface test of the web application system, testers need to use tools to simulate the web browser to send requests to the back-end service, and do checkpoint verification on the response message. For systems that require login, two solutions are generally adopted: one is to turn off login...

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/36
CPCG06F11/3672G06F11/3688
Inventor 李登宇
Owner CCB FINTECH 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