Test method based on improved rest protocols and electronic device
AssigneeHon Hai Precision Industry Co., Ltd.
InventorCHIEN-WU YEN
Life of this patent
Estimating the term…
Loading patent…
AssigneeHon Hai Precision Industry Co., Ltd.
InventorCHIEN-WU YEN
Estimating the term…
A test method based on improved REST protocols and an electronic device applying the method are disclosed. In response to a received test task, the method sends a REST control request in JSON format from the client to the server and receives a REST response fed back by the server according to the REST control request. A status code is obtained from the REST response and response mode is determined according to the status code, thereby testing the client and the server based on the improved REST protocol. The REST protocol is easy to upgrade, supports multiple protocols, and reduces the complexity of the system, the data is simple and flexible.
A test method based on improved REST protocols, applied to a client communicating with a server, the method comprising:
An electronic device comprising a memory and a processor, the memory stores at least one computer-readable instruction, and the processor executes the at least one computer-readable instruction to:
A non-transitory storage medium having stored thereon at least one computer-readable instructions that, when the at least one computer-readable instructions are executed by a processor to implement the following steps:
Dependencies are inferred from the claim text.