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

Test method and device

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

Active Publication Date: 2019-03-19
HANGZHOU HIKVISION SYST TECH
View PDF4 Cites 12 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
  • Test method and device
  • Test method and device
  • 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

Embodiments of the invention provide a test method and device that are applied to a client. The method comprises steps of: determining test items corresponding to a test requirement; acquiring an RESTinterface corresponding to each determined test item; determining a URL corresponding to each acquired REST interface; acquiring a parameter value of a test parameter defined by the acquired REST interface; generating a test request message comprising the determined URL and the acquired parameter value; sending the test request message to a server, so as to enable the server to test according thetest request message and acquire test data; receiving the test data sent by the server; and comparing the test data with an expected result of the determined test items, so as to obtain a test result. Through adoption of the method, the client can make information corresponding to multiple test items included in the same test request message, and then sends the test request message to the serveronce, so that the information is not sent for many times, the test process is simplified, and the test efficiency is improved.

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