Program testing method and device
A program testing and virtual testing technology, applied in the Internet field, can solve the problem of high verification cost and achieve the effect of saving verification cost
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] According to an embodiment of the present invention, an embodiment of a method for processing wireless network information is provided. It should be noted that the steps shown in the flow charts of the drawings can be executed in a computer system such as a set of computer-executable instructions, Also, although a logical order is shown in the flowcharts, in some cases the steps shown or described may be performed in an order different from that shown or described herein.
[0030] Optionally, in this embodiment, the above-mentioned program testing method is applied to such as figure 2 In the network environment shown. The network environment includes a first terminal 201 and a server 203 (the server can be a server or cloud platform for network connection applications), and a third terminal 205, wherein the terminal can establish a connection with the server through the network, the first terminal, the second terminal Processors can be set on both the server and the s...
test Embodiment cas
[0071] Let's take the payment application as an example, combined with Figure 5 to Figure 7 To describe the embodiment of the present invention in detail, optionally, the client of this application can also verify the results of each interface through joint debugging of the interface connected to the resource transfer platform, such as Figure 5 As shown, for the payment application, the merchant invokes the payment production environment API to initiate order placement, payment initiation, refund initiation, etc., and verify the verification requests initiated by the merchant client through the payment server (such as Figure 5 As shown in the verification order, verification payment, verification refund), and return the result; preferably, use such as Figure 6 In the shown virtual test system, in this embodiment, the path of the sandbox sandbox is configured on the interface of the merchant's program or configuration to access nginx, and the sandbox request is routed to th...
Embodiment 2
[0079] According to an embodiment of the present invention, a program testing device for implementing the above program testing method is also provided, such as Figure 8 As shown, the device includes:
[0080] The obtaining unit 81 is used for the virtual test system to obtain the test request sent by the client, wherein the test request is used to request the execution of the target test case;
[0081] Execution unit 83, the virtual test system and the client execute the target test case, wherein the target test case is used to test whether the client executes the resource transfer event in compliance with the execution rules;
[0082] The processing unit 85, the virtual test system records the operation information of the client, and determines whether the execution of the resource transfer event by the client conforms to the execution rules based on the operation information, wherein the operation information includes the operation behavior and generation of the client dur...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


