Unlock instant, AI-driven research and patent intelligence for your innovation.

A kind of test method and device

A test method and test method technology, applied in software testing/debugging, error detection/correction, instruments, etc.

Active Publication Date: 2021-05-28
HANGZHOU HIKVISION SYST TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the embodiments of the present invention is to provide a test method and device to solve the problem of sending test request messages to the server multiple times when multiple test items need to be tested

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 kind of test method and device
  • A kind of test method and device
  • A kind of test method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0087] In order to solve the problem that multiple test request messages need to be sent to the server when multiple test items need to be tested, the embodiment of the present invention provides a test method and device.

[0088] A test method and device provided in the embodiments of the present invention may be based on a RESTful software architecture, wherein the RESTful software architecture is used to provide a set of design principles and constraints, an...

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 embodiment of the present invention provides a test method and device, which are applied to the client, including: determining the test items corresponding to the test requirements; obtaining the respective REST interfaces corresponding to the determined test items; determining the respective URLs corresponding to the obtained REST interfaces; obtaining Obtain the parameter value of the test parameter defined by the REST interface; generate a test request message including the determined URL and the obtained parameter value; send the test request message to the server, so that the server performs the test according to the test request message and obtains the test Data; receiving the test data sent by the server; comparing the test data with the expected result of the determined test item to obtain the test result. Through the technical solution provided by the embodiment of the present invention, the client can include the information corresponding to multiple test items in the same test request message, and send it to the server at one time, avoiding multiple sending, and then can simplify the test process , improve test efficiency.

Description

technical field [0001] The invention relates to the technical field of computer testing, in particular to a testing method and device. Background technique [0002] Software testing is the process of operating the program under specified conditions, obtaining the actual output, and comparing and reviewing the actual output with the expected output under the specified conditions, so that program errors can be found, software quality can be measured, and whether the software can be evaluated Meet design requirements, etc. Among them, the interface test is an interface-based software testing method, and the interface test specifically includes: the software test client determines the local data sending interface corresponding to the test item and the data receiving interface of the server, and then calls the local data sending interface corresponding to the test item to the server. The data receiving interface sends a test request message, and the server feeds back the test da...

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): H04L12/26G06F11/36
CPCG06F11/3656G06F11/3684G06F11/3688H04L43/02H04L43/14
Inventor 熊银梅程万鹏谢天
Owner HANGZHOU HIKVISION SYST TECH