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

A method and device for testing web service interface with authentication and authorization

A web service and interface testing technology, applied in the computer field, can solve problems such as high system intrusion, inability to guarantee the sufficiency of interface testing, and failure to support multi-user login

Active Publication Date: 2021-03-30
CCB FINTECH CO LTD
View PDF8 Cites 0 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 deployment of the server, which will also bring unexpected errors. It has poor scalability for different systems under test. And it does not support multi-user login, and cannot guarantee the adequacy of interface testing

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

Disclosed are a test method and device for a web service interface having authentication authorization, relating to the technical field of computers. One specific embodiment of the method comprises: respectively establishing login scripts for tested systems; dynamically loading the login script corresponding to a tested system under test according to an association relationship between the tested systems and the login scripts and executing same, so as to simulate to log on the tested system under test to obtain authentication information; and supplying the authentication information to an interface test tool so as to add the authentication information to an interface access request for the tested system under test, and performing verification on response data returned by the tested system under test. The specific embodiment is suitable for automatically testing the web service interface of the tested system having authority control, avoids too large invasiveness to the system, reduces errors, does not need for manual configuration of authentication authorization information, improves automation efficiency, is high in expandability, can achieve multi-user multi-role login, guarantees interface test sufficiency, does not need for restarting, 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
Patent Type & Authority Patents(China)
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products