CN105786707A - Method and device for testing program - Google Patents

Method and device for testing program Download PDF

Info

Publication number
CN105786707A
CN105786707A CN201610113045.9A CN201610113045A CN105786707A CN 105786707 A CN105786707 A CN 105786707A CN 201610113045 A CN201610113045 A CN 201610113045A CN 105786707 A CN105786707 A CN 105786707A
Authority
CN
China
Prior art keywords
client
case
test system
virtual test
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610113045.9A
Other languages
Chinese (zh)
Other versions
CN105786707B (en
Inventor
赖峥嵘
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610113045.9A priority Critical patent/CN105786707B/en
Publication of CN105786707A publication Critical patent/CN105786707A/en
Application granted granted Critical
Publication of CN105786707B publication Critical patent/CN105786707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and device for testing a program. The method comprises the steps that a testing request sent by a client side is acquired by a virtual testing system, wherein the testing request is used for requesting for executing a target test case; the virtual testing system and the client side execute the target test case, wherein the target test case is used for testing whether a client side executing resource transfer event meets an executing rule or not; the virtual testing system records operating information of the client side and determines whether the client side executing resource transfer event meets the executing rule or not based on the operating information, wherein the operating information comprises an operating behavior occurring in the process that the clients side executes the target test case and a generated operating result. By means of the method and device, the problem that due to the fact that true resources are used for resource transfer verification in the prior art, verification cost is high is solved, and therefore verification cost is reduced.

Description

Program testing method and device
Technical field
The present invention relates to internet arena, in particular to a kind of program testing method and device.
Background technology
Development along with the rise of O2O and resource transfers platform, a large number of users (such as businessman) access-in resource transfer platform (as wechat pays), but, resource transfers platform exists various resource transfers scene, in the face of substantial amounts of resource transfers scene, a lot of users do not know the checking how completing access-in resource transfer platform;For some typical resource transfers scenes, user cannot process;For typically paying the process imperfection of abnormal scene;Do not know how safety ensureing resource transfers etc..
Specifically, the user of resource transfers platform (can be the trade company using resource transfers platform, namely the user of resource is proceeded to by resource transfers platform, as, collect money businessman) directly docking production environment joint debugging, then complete docking by the exploitation each interface of document joint debugging, as shown in Figure 1, vendor terminates into resource transfers production environment (as wechat pays production environment), and vendor end uses http request and resource transfers platform to interact, to complete resource transfers.Alternatively; vendor end can pass through HTTP Reverse Proxy nginx and http request access-in resource is shifted API application programming interface; vendor end such as can be placed an order by above-mentioned flow process, reimbursement etc. pays the checking of scene; but exception or security scenario cannot be verified; or real resource need to be used to carry out abnormal checking, and checking cost is high.
Carry out the checking of resource transfers, the problem that checking cost is high for above-mentioned use real resources, not yet propose effective solution at present.
Summary of the invention
Embodiments provide a kind of program testing method and device, at least to solve the checking using real resources to carry out resource transfers, the technical problem that checking cost is high.
An aspect according to embodiments of the present invention, it is provided that a kind of program testing method, the method includes: virtual test system obtains the test request that client sends, and wherein, described test request is used for asking performance objective test case;Described virtual test system and described client executing target detection use-case, wherein, described target detection use-case is used for testing whether described client executing resource transfers event meets executing rule;The operation information of client described in described virtual test system record, and determine whether described client executing resource transfers event meets described executing rule based on described operation information, wherein, described operation information includes the operation behavior of described client generation in the process performing described target detection use-case and the operating result of generation.
Another aspect according to embodiments of the present invention, additionally provides a kind of program test device, including: acquiring unit, obtain, for virtual test system, the test request that client sends, wherein, described test request is used for asking performance objective test case;Performance element, for described virtual test system and described client executing target detection use-case, wherein, described target detection use-case is used for testing whether described client executing resource transfers event meets executing rule;Processing unit, the operation information of client described in described virtual test system record, and determine whether described client executing resource transfers event meets described executing rule based on described operation information, wherein, described operation information includes the operation behavior of described client generation in the process performing described target detection use-case and the operating result of generation.
In embodiments of the present invention, test case can be provided by virtual test system, after receiving the test request that client sends, with client executing target detection use-case, the ability (as performed speed, operation behavior etc.) of resource transfers event is performed with test client, in real build environment, scene checking is carried out without client, even if client executing mistake, resource without loss client, solve and prior art uses real resources carry out the checking of resource transfers, the problem that checking cost is high, saves checking cost.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, and the schematic description and description of the present invention is used for explaining the present invention, is not intended that inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the configuration diagram of a kind of resource platform according to prior art;
Fig. 2 is the network environment schematic diagram of a kind of optional program testing method according to embodiments of the present invention;
Fig. 3 is the flow chart of a kind of optional program testing method according to embodiments of the present invention;
Fig. 4 is the schematic diagram one of a kind of optional program testing method according to embodiments of the present invention;
Fig. 5 is the schematic diagram two of a kind of optional program testing method according to embodiments of the present invention;
Fig. 6 is the schematic diagram three of a kind of optional program testing method according to embodiments of the present invention;
Fig. 7 is the schematic diagram four of a kind of optional program testing method according to embodiments of the present invention;
Fig. 8 is the schematic diagram of a kind of optional program test device according to embodiments of the present invention;
Fig. 9 is the schematic diagram of a kind of optional program test device according to embodiments of the present invention;
Figure 10 is the internal structure block diagram of terminal according to embodiments of the present invention.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, all should belong to the scope of protection of the invention.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second " etc. are for distinguishing similar object, without being used for describing specific order or precedence.Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to embodiments of the invention described herein can with except here diagram or describe those except order implement.In addition, term " includes " and " having " and their any deformation, it is intended to cover non-exclusive comprising, such as, contain series of steps or the process of unit, method, system, product or equipment be not necessarily limited to those steps or the unit clearly listed, but can include clearly not listing or for intrinsic other step of these processes, method, product or equipment or unit.
First, the abbreviation and the Key Term that the application are related to are explained as follows:
O2O and OnlineToOffline, is also combined togather by the chance of commercial affairs and the Internet under line, allows the Internet become the foreground of off-line transaction.Under this line-transect, service just can attract customers with on line, and user can with screening service on line, it is also possible to online transferring resource (such as clearing).
Sandbox: Sandbox, is a virtual system program, and sandbox environment is a kind of execution environment according to security strategy limiting program behavior;The realization means of sandbox system generally by hooking system service call, monitors program behavior, then controls and the limiting program use to computer resource according to user-defined strategy.
The mode of barcode scanning transferring resource, as barcode scanning pays, being beneficiary (such as the trade company) system protocol generation Quick Response Code by resource transfers platform (as wechat pays), paying party resource transfers APP scans the pattern completing resource transfers (as paid) to Quick Response Code.This pattern is applicable to the scenes such as the payment of PC website, solid shop/brick and mortar store list product or order payment, media advertisement payment.
Mode by public number transferring resource, as public number pays, being user's H5 page of opening resource recipient in resource transfers APP (such as wechat), the client of resource recipient has adjusted resource transfers module (such as wechat payment module) to complete payment at the JSAPI interface that the H5 page provides by calling wechat to pay.Application scenarios has: user enters businessman's public number in wechat public's account, opens certain homepage, completes to pay;The good friend of user shares merchant page at circle of friends, chat window etc. and connects, and user clicks on links opens merchant page, completes to pay;Trade company's conversion of page is become Quick Response Code, completes after opening the page in wechat browser after scanning input Quick Response Code to pay.
The mode of mobile terminal transferring resource, as APP pays, pay also known as mobile terminal, be that resource recipient (such as trade company) has adjusted resource transfers module (such as wechat payment module) to complete the pattern of resource transfers by applying integrated open SDK in APP in mobile terminal.
Embodiment 1
According to embodiments of the present invention, provide the embodiment of the processing method of a kind of radio network information, it should be noted that, can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing, and, although illustrate logical order in flow charts, but in some cases, it is possible to perform shown or described step with the order being different from herein.
Alternatively, in the present embodiment, said procedure method of testing is to be applied in network environment as shown in Figure 2.This network environment includes first terminal 201 and server 203 (this server can connect the server or cloud platform applied for network), and third terminal 205, wherein, terminal can be connected by network foundation with server, and first terminal, the second terminal and server all can arrange processor.
Above-mentioned network includes but not limited to: wide area network, Metropolitan Area Network (MAN) or LAN.Preferably, above-mentioned network is LAN;Above-mentioned first terminal can include personal computer, barcode scanning gun etc., and the client that this first terminal is installed can be logged in resource and receive account;Alternatively, this first terminal and the second terminal are mobile terminal (such as mobile phone, panel computer etc.), and the client that the second terminal is installed can be logged in resource and produce account.
Fig. 3 is the flow chart of a kind of optional program testing method according to embodiments of the present invention, as it is shown on figure 3, the method comprises the steps:
Step S302: virtual test system obtains the test request that client sends, and wherein, test request is used for asking performance objective test case;
Step S304: virtual test system and client executing target detection use-case, wherein, for test client, target detection use-case performs whether resource transfers event meets executing rule;
Step S306: the operation information of virtual test system record client, and determine whether client executing resource transfers event meets executing rule based on operation information, wherein, operation information includes the operating result of operation behavior that client occurs in the process of performance objective test case and generation.
Pass through the above embodiment of the present invention, test case can be provided by virtual test system, after receiving the test request that client sends, with client executing target detection use-case, the ability of resource transfers event is performed (as performed speed with test client, operation behavior etc.), in real build environment, scene checking is carried out without client, even if client executing mistake, resource without loss client, solve and prior art uses real resources carry out the checking of resource transfers, the problem that checking cost is high, save checking cost.
Virtual test system in above-described embodiment can be sandbox system;The account logged in client is used for receiving resource, that is, the account logged in client is for receiving the resource that other accounts proceed to, e.g., and the account of businessman.
Executing rule in above-described embodiment, it is possible to the guarantee client for pre-setting can correctly perform operation behavior or the operating process of resource transfers event.
nullAs shown in Figure 4,In virtual test system, record has multiple test cases,Client can have own resource management system,After the homegrown resource management system docking resource transfers platform (as wechat pays) of client has been developed,Set up and the connection of virtual test system (as wechat pays sandbox system),And according to resource transfers type (such as trade company's type of payment) and resource transfers scene (as paid scene)、Meet the different target detection use-case of record in executing rule request selecting virtual test system,Virtual test system and client complete to perform this target detection use-case jointly,Perform by rear (namely determining that client is performing the resource transfers event matches preset rules that this target detection use-case points to) at target detection use-case,The resource management system of client can be switched to the production environment of resource transfers platform,Due in early stage,Client is through the test of virtual test system,Determine this client executing resource transfers event matches executing rule,After accessing actual production environment,The highly reliable access of high-quality of resource transfers (as wechat pays) can be completed.Equipment in Fig. 4 is the equipment being provided with correspondence system.
Further, resource transfers platform (as wechat pays side) can also obtain resource recipient (namely the resource side of proceeding to from virtual test system (such as sandbox), trade company) access the implementation status of target detection use-case and perform result (namely above-mentioned operation information), cut-in quality and the safety of trade company can be learnt.
As shown in Figure 4, client can be passed through to be arranged on facility (such as scanner), personal computer or mobile terminal.
Client in above-described embodiment can be logged in using the account of the transferring resource of resource transfers platform, as proceeded to the user (as the side of collecting money) of (or reception) resource by resource transfers platform.
Carry out payment verification the embodiment of the present invention be described in detail in detail paying sandbox system by wechat below:
Client can after completing the exploitation of homegrown resource management system, revise the chained address of resource transfers platform in the own program of this resource management system or configuration, the address if initial chained address is the production environment pointing to resource transfers platform: https: //api.abc.com/pay;Can in the chained address increasing virtual test system: https: //api.abc.com/sandbox/pay, directly above-mentioned initial chained address (pointing to the address of the production environment of resource transfers platform) can also be changed to the chained address of virtual test system, resource management system corresponding to such client can access of virtual test system, pay in above-mentioned example is payment interface, other interface is similar, such as reimbursement, the interface such as cancels.
After setting up the connection of client and virtual test system, paying exploitation debugging website in wechat, insert correct resource transfers (as paid parameter) by interface document, initiation wechat pays request, completes to pay.
Virtual test system can guide client to complete multiple test case, if the operation information of each test case case meets expection (namely above-mentioned executing rule), then determine that examination completes, after examination completes, api link in the program of the resource management system that amendment client is corresponding or configuration, remove the path of sandbox (i.e. virtual test system), dock existing network production environment.
According to the abovementioned embodiments of the present invention, virtual test system and client executing target detection use-case include: virtual test system receives the first resource transfer request that client sends, and wherein, first resource transfer request is corresponding with target detection use-case;Virtual test system response first resource transfer request, send response message corresponding to target detection use-case to client, wherein, target detection use-case includes abnormality test use-case and safety test use-case, abnormality test use-case is used for the test client process for abnormal resource failover events, and safety test use-case performs the safety of resource transfers event for test client.
Resource transfers request in the embodiment of the present invention can ask the resource transfers operation performed by resource transfers platform, as by the resource transfers of the first account to the second account, specifically, resource transfers is the event that resource transfers occurs for the payment undertaken by internet platform or reimbursement etc., the side that the account that the client in the embodiment of the present application logs in swaps preferably with the resource of the object Yu transfer with entity structure.
Such as, target detection use-case can be: resource transfers test case, stress test use-case, signature test case, response timeout test case, repetitive requests test case and repeat notice test case.
In order to carry out safety and the quality assurance of payment transaction to trade company, test environment and the test case of virtual test system (as wechat pays sandbox) are provided from multiple scene directions of resource transfers, for client test, and realize dock highly reliable with client high-quality.Such as, in paying application, use different amount of money correspondence difference test case, it is provided that the multiple means of payment such as barcode scanning payment, app payment, public number payment, it is provided that typically pay scene, it is provided that the abnormal coping strategy paying scene.The test case that virtual test system provides, can shaking time-out, extremely fall the abnormal scenes such as list (abnormal ending event), false signature, repetition order (repeating to initiate resource transfers request), payment notice repetition (repeating to send resource transfers successfully to notify), slow-response by analog network, client has only to the guide of the testing process by virtual test system offer and test case can complete highly reliable and high-quality docking.
Below for stress test, the above embodiment of the present invention is described in detail in detail: virtual test system and client executing target detection use-case include: virtual test system receives the Secondary resource transfer request of the predetermined number that client sends, wherein, predetermined number is prenoticed to client by virtual test system;Each response Secondary resource transfer request of virtual test system, generates and is used for pointing out resource to change successful success message, and sends success message to client.
Alternatively, prenoticed to client predetermined number by virtual test system, after starting execution stress test use-case, virtual test system receives the Secondary resource transfer request of the predetermined number that client sends, and respond each Secondary resource transfer request, generate and be used for pointing out resource to change successful success message.Still optionally further, virtual test system can each success message of transmitted in parallel to client, whole success messages can also have been sent to client in the first duration, how to operate after receiving large batch of success message with test client, if client is after receiving success message, the operation behavior occurred or the operating result of generation do not meet executing rule, it is possible to prompting client is set the operation (as the operation that should perform) of execution.
The test resources such as account number, mobile terminal (user terminal), barcode scanning gun are tested really in a large number owing to client lacks, do not allow performance and the Capacity Assessment of the system of being easy to do, virtual test system (i.e. sandbox environment) provides stress test use-case, by this stress test use-case, without testing account number in a large number and test fund can carry out the pressure of low cost and survey, the performance of the resource management system that assessment client is corresponding and capacity.
Specifically, prenoticed to client predetermined number by virtual test system, after starting execution stress test use-case, virtual test system receives the Secondary resource transfer request of the predetermined number (such as 10,000) that client sends, after virtual test system receives the Secondary resource transfer request of this predetermined number, virtual test system not required parameter to this Secondary resource transfer request, request account is verified, but directly in response to Secondary resource transfer request, generation is used for pointing out resource to change successful success message, and the success message asked by each Secondary resource sends to client, with test client at the operation behavior received after substantial amounts of success message and operating result.
Further, the Secondary resource transfer request of predetermined number can be sent to virtual test system by client in preset time period, the success message of the Secondary resource transfer request of predetermined number is sent in parallel to client by virtual test system, so that client is carried out stress test.
In another optional embodiment, target detection use-case is signature test case, and virtual test system and client executing target detection use-case may include that virtual test system receives the information resources transfer request that client sends;Virtual test system response information resources transfer request, generate the request results information carrying system signature, request results information is sent to client, wherein, the system signature corresponding with information resources transfer request is the false signature of virtual test system, and request results information is carried out signature verification for trigger clients by request results information.
In the above-described embodiments, virtual test system is after the information resources transfer request receiving client, respond this information resources transfer request and generate request results information, and by should be corresponding with information resources transfer request system signature be set to the false signature of virtual test system, this request results information is sent to client, signature verification is carried out with trigger clients, if client does not carry out signature verification, then determine that this client exists signature safety problem, checking is not passed through, and how to operate when pointing out user such issues that run into.
Below for wechat payment, above-described embodiment is described in detail in detail: user side initiates to pay request, payment request is sent to virtual test system, after the response based on virtual test system generates Quick Response Code, Quick Response Code is scanned by the barcode scanning gun at client place, this Quick Response Code scanned is sent to virtual test system by client, virtual test system is after receiving the Quick Response Code that this client obtains, based on this Quick Response Code by the second account of login in the resource transfers of the first account of login on user side to client, but during the request results information that virtual resource notice client has shifted, request results information uses false signature, with trigger clients, it is carried out signature verification, if client is not verified, this operation does not meet executing rule.
In practical operation, if resource transfers platform is invaded or be there are other security breaches, resource transfers platform is not actually by the resource transfers in the first account to the second account, but it notifies client, resource in first account is transferred in the second account, if its signature is not verified by client, then may result in the loss of resource.Pass through above-described embodiment, resource transfers platform can be carried out authentication by client, such that it is able to when resource transfers platform is tampered or there are other security breaches, there are security breaches in client preliminary judgement resource transfers platform, the measure taking resource transfers to dam etc., to ensure the safety of client resource (such as fund).
In another optional embodiment, target detection use-case is for repeating notice test case, and virtual test system and client executing target detection use-case include: virtual test system receives the 4th resource transfers request that client sends;Virtual test system response the 4th resource transfers request, is not sent completely message to client in the same time at continuous print respectively, and wherein, completion message is used for indicating execution to complete the 4th resource transfers request, continuous print not in the same time between interval less than preset duration.
Specifically, virtual test system response the 4th resource transfers request, it is possible to be not sent completely message in the same time to client at continuous print, namely be repeatedly sent completely message, as sent a completion message respectively in t1 moment, t2 moment and t3 moment.
In the above-described embodiments, when virtual test system and client executing repeat notice test case, can after receiving the 4th resource transfers request that client sends, repeat to initiate completion message, so that client repeats reception completion notice, and record client and receive operation behavior and the operating result of generation that the completion message repeating to send occurs.By the test of this test case, it is possible to make client correctly operate repeating notice, it is ensured that client does not retransmit goods etc., it is ensured that the resource (such as fund) of client does not run off because retransmitting notice.
Pass through above-described embodiment, virtual test system provides multiple abnormality test use-case and safety test use-case, meets executing rule use-case and client is guided, and solves existing trade company and guides without checking and accepting case, accessing lack of standardization, many payment scene process imperfections are even omitted;Sandbox test system, without real resource transfers, solves and many abnormal pays scene inconvenience simulation, as network jitter, abnormal fall list, repeat notice etc., trade company accesses the problem that checking cost is high;Sandbox provides signature test case, solves trade company and checks not tight to abnormal signature, it is possible to pretends to be, distorts the chance of transaction to hacker, the problem causing monetary losses;Sandbox provide repeat notice test case, solve trade company payment is completed repeat notifier processes improper, it is possible to cause duplicate shipment, cause the problem that goods is impaired;Sandbox provides stress test use-case, solves that trade company needs to test in a large number account number, mobile terminal, test fund carry out performance pressure and survey, it is difficult to the problem of assessment power system capacity.
According to the abovementioned embodiments of the present invention, after determining based on operation information whether client executing resource transfers event meets executing rule, method can also include: virtual test system generates test feedback information, wherein, test feedback information is used for indicating whether client executing test resource failover events meets executing rule;Test feedback information is back to client by virtual test system.
Virtual test system is after obtaining operation information, based on whether client executing resource transfers event meets executing rule, generates test feedback information, and uses the level of security of this test feedback information prompting client.
Specifically, virtual test system generates test feedback information based on operation information and includes: if virtual test system judges the scheduled operation information match that operation information is corresponding with guidance information, then generate the first feedback information, wherein, the first feedback information is used for indicating client executing resource transfers event matches executing rule;If virtual test system judges operation information, the scheduled operation information corresponding with guidance information is not mated, then generate the second feedback information, wherein, second feedback information is used for indicating client executing resource transfers event not meet executing rule, wherein, test feedback information includes the first feedback information and the second feedback information.
If virtual test system generates the first feedback information, then prompting client can access the build environment of reality simultaneously.
If test feedback information instruction client executing resource transfers event does not meet executing rule, then while test feedback information is back to client, send test information and information to client, wherein, test information is for indicating client executing resource transfers event not meet the reason of executing rule, and information is used for pointing out client to re-start test;After information is resurveyed in the confirmation receiving the return of client end response information, virtual test system and client re-execute target detection use-case.
Alternatively, test information can be also used for how prompting client performs this resource transfers event.
Need it is further noted that before virtual test system obtains the test request that client sends, method also includes: virtual test system, after receiving the connection request that client sends, sets up the connection of virtual test system and client.
Below to pay application, in conjunction with Fig. 5 to Fig. 7 in detail the embodiment of the present invention is described in detail, alternatively, the client of the application can also pass through to dock the result of the interface joint debugging each interface of checking of resource transfers platform, as shown in Figure 5, should be used for saying for paying, payment production environment API calls in trade company, can initiate to place an order, initiate to pay, initiate reimbursement etc., the checking request respectively vendor end initiated by paying server is verified (checking as shown in Figure 5 place an order, validation of payment, checking reimbursement), and returns result;Preferably, adopt virtual test system as shown in Figure 6, in this embodiment, the program or configuration of trade company access the path of configuration sandbox sandbox in the interface of nginx, sandbox request is routed to sandbox environment.Further, realize testing each several part logic of sandbox test case by web server software apache and CGI(Common gateway interface) cgi, use Relational DBMS mysql data to be landed, and this Relational DBMS supports the result queries after test case case checks and accepts.
In virtual test system, multiple test cases of record can also be divided into optional test case and essential test case according to the significance level of its test case, in embodiment as shown in Figure 7,3.2 use-cases: payment of swiping the card includes 10 essential test cases, 4 optional test cases;3.3 use-cases: during the public pays, only one is optional, and remaining is essential;3.4 use-cases: APP is also that only one is optional in paying, and remaining is essential.
Each test case can be passed through the parameter tested, after testing is complete, it is possible to intuitively reflect in test feedback information, pay successfully or pay unsuccessfully, and record the abnormal conditions occurred in performing this test case.
Specifically, record test case in virtual test system, each test case can and have: use-case numbering, use-case illustrate (for the purposes of this test case is described, as tested normal payment flow), test prepare (to have opened function of swiping card and change sufficient such as test payment accounts), testing procedure etc..
By sandbox provided by the invention, trade company is accessed wechat and pays, according to different payment correspondence difference case, it is provided that acceptance manual, help trade company to do the highly reliable docking of high-quality;Thering is provided sandbox environment to access to trade company, simulate the common typical case occurred in various transaction and pay scene, acceptance manual offer processes coping strategy, processes reply for trade company's selection;The network jitter common by sandboxing techniques is overtime, extremely fall list, false signature, repetition order, repeats the abnormal scene that pays such as notice, slow-response, and guiding trade company carries out abnormality processing, improves result;Trade company is carried out strict signature verification, it is provided that forge a signature and pretend to be request to trade company, the safety of checking trade company and the correctness of proof of identity process and integrity, it is ensured that the fund security of trade company and cargo security;Sandbox provides pressure to survey case and surveys the amount of money with pressure so that trade company can test account number in a large number and test fund can carry out pressure and survey, and assesses performance and the capacity of commerce system;Obtain trade company from sandbox access the implementation status checking and accepting case and perform result, cut-in quality and the safety of trade company can be learnt.
It should be noted that, for aforesaid each embodiment of the method, in order to be briefly described, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, embodiment described in this description belongs to preferred embodiment, necessary to involved action and the module not necessarily present invention.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to the method according to above-described embodiment and realize, hardware can certainly be passed through, but in a lot of situation, the former is embodiment more preferably.Based on such understanding, the part that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, computer, server, or the network equipment etc.) perform the method described in each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, additionally providing a kind of program test device for implementing said procedure method of testing, as shown in Figure 8, this device includes:
Acquiring unit 81, obtains, for virtual test system, the test request that client sends, and wherein, described test request is used for asking performance objective test case;
Performance element 83, virtual test system and client executing target detection use-case, wherein, for test client, target detection use-case performs whether resource transfers event meets executing rule;
Processing unit 85, the operation information of virtual test system record client, and determine whether client executing resource transfers event meets executing rule based on operation information, wherein, operation information includes the operating result of operation behavior that client occurs in the process of performance objective test case and generation.
Pass through the above embodiment of the present invention, test case can be provided by virtual test system, after receiving the test request that client sends, with client executing target detection use-case, the ability of resource transfers event is performed (as performed speed with test client, operation behavior etc.), in real build environment, scene checking is carried out without client, even if client executing mistake, resource without loss client, solve and prior art uses real resources carry out the checking of resource transfers, the problem that checking cost is high, save checking cost.
Virtual test system in above-described embodiment can be sandbox system;The account logged in client is used for receiving resource, that is, the account logged in client is for receiving the resource that other accounts proceed to, e.g., and the account of businessman.
Executing rule in above-described embodiment, it is possible to the guarantee client for pre-setting can correctly perform operation behavior or the operating process of resource transfers event.
Process complete abnormal resource shift or
nullAs shown in Figure 4,In virtual test system, record has multiple test cases,Client can have own resource management system,After the homegrown resource management system docking resource transfers platform (as wechat pays) of client has been developed,Set up and the connection of virtual test system (as wechat pays sandbox system),And according to resource transfers type (such as trade company's type of payment) and resource transfers scene (as paid scene)、Meet the different target detection use-case of record in executing rule request selecting virtual test system,Virtual test system and client complete to perform this target detection use-case jointly,Perform by rear (namely determining that client is performing the resource transfers event matches preset rules that this target detection use-case points to) at target detection use-case,The resource management system of client can be switched to the production environment of resource transfers platform,Due in early stage,Client is through the test of virtual test system,Determine this client executing resource transfers event matches executing rule,After accessing actual production environment,The highly reliable access of high-quality of resource transfers (as wechat pays) can be completed.
Further, resource transfers platform (as wechat pays side) can also obtain resource recipient (namely the resource side of proceeding to from virtual test system (such as sandbox), trade company) access the implementation status of target detection use-case and perform result (namely above-mentioned operation information), cut-in quality and the safety of trade company can be learnt.
As shown in Figure 4, client can be passed through to be arranged on facility (such as scanner), personal computer or mobile terminal.
Client in above-described embodiment can be logged in using the account of the transferring resource of resource transfers platform, as proceeded to the user (as the side of collecting money) of (or reception) resource by resource transfers platform.
According to the abovementioned embodiments of the present invention, performance element includes: the first receiver module, receives, for virtual test system, the first resource transfer request that client sends, and wherein, first resource transfer request is corresponding with target detection use-case;First respond module, first resource transfer request is responded for virtual test system, send response message corresponding to target detection use-case to client, wherein, target detection use-case includes abnormality test use-case and safety test use-case, abnormality test use-case is used for the test client process for abnormal resource failover events, and safety test use-case performs the safety of resource transfers event for test client.
Resource transfers request in the embodiment of the present invention can ask the resource transfers operation performed by resource transfers platform, as by the resource transfers of the first account to the second account, specifically, resource transfers is the event that resource transfers occurs for the payment undertaken by internet platform or reimbursement etc., the side that the account that the client in the embodiment of the present application logs in swaps preferably with the resource of the object Yu transfer with entity structure.
In order to carry out safety and the quality assurance of payment transaction to trade company, test environment and the test case of virtual test system (as wechat pays sandbox) are provided from multiple scene directions of resource transfers, for client test, and realize dock highly reliable with client high-quality.Such as, in paying application, use different amount of money correspondence difference test case, it is provided that the multiple means of payment such as barcode scanning payment, app payment, public number payment, it is provided that typically pay scene, it is provided that the abnormal coping strategy paying scene.The test case that virtual test system provides, can shaking time-out, extremely fall the abnormal scenes such as list (abnormal ending event), false signature, repetition order (repeating to initiate resource transfers request), payment notice repetition (repeating to send resource transfers successfully to notify), slow-response by analog network, client has only to the guide of the testing process by virtual test system offer and test case can complete highly reliable and high-quality docking.
In an optional embodiment, target detection use-case is stress test use-case, and performance element includes: the second receiver module, receives the Secondary resource transfer request of the predetermined number that client sends for virtual test system, wherein, predetermined number is prenoticed to client by virtual test system;Second respond module, responds each Secondary resource transfer request for virtual test system, generates and is used for pointing out resource to change successful success message, and sends success message to client.
The test resources such as account number, mobile terminal (user terminal), barcode scanning gun are tested really in a large number owing to client lacks, do not allow performance and the Capacity Assessment of the system of being easy to do, virtual test system (i.e. sandbox environment) provides stress test use-case, by this stress test use-case, without testing account number in a large number and test fund can carry out the pressure of low cost and survey, the performance of the resource management system that assessment client is corresponding and capacity.
In another optional embodiment, target detection use-case is signature test case, and virtual test system and client executing target detection use-case include: the 3rd receiver module, receive, for virtual test system, the information resources transfer request that client sends;3rd respond module, information resources transfer request is responded for virtual test system, generate the request results information carrying system signature, request results information is sent to client, wherein, the system signature corresponding with information resources transfer request is the false signature of virtual test system, and request results information is carried out signature verification for trigger clients by request results information.
Pass through above-described embodiment, resource transfers platform can be carried out authentication by client, such that it is able to when resource transfers platform is tampered or there are other security breaches, there are security breaches in client preliminary judgement resource transfers platform, the measure taking resource transfers to dam etc., to ensure the safety of client resource (such as fund).
Alternatively, target detection use-case is for repeating notice test case, and virtual test system and client executing target detection use-case include: the 4th receiver module, receives, for virtual test system, the 4th resource transfers request that client sends;4th respond module, the 4th resource transfers request is responded for virtual test system, message it is not sent completely in the same time to client respectively at continuous print, wherein, completion message is used for indicating execution to complete the 4th resource transfers request, continuous print not in the same time in each not in the same time between interval less than preset duration.
By the test of this test case, it is possible to make client correctly operate repeating notice, it is ensured that client does not retransmit goods etc., it is ensured that the resource (such as fund) of client does not run off because retransmitting notice.
According to the abovementioned embodiments of the present invention, device also includes as shown in Figure 9: generate unit 91, for after determining based on operation information whether client executing resource transfers event meets executing rule, generate test feedback information, wherein, test feedback information is used for indicating whether client executing test resource failover events meets executing rule;Return unit 93, for virtual test system, test feedback information is back to client.
Specifically, generate unit specifically for:
If virtual test system judges the scheduled operation information match that operation information is corresponding with guidance information, then generating the first feedback information, wherein, the first feedback information is used for indicating client executing resource transfers event matches executing rule;If virtual test system judges operation information, the scheduled operation information corresponding with guidance information is not mated, then generate the second feedback information, wherein, second feedback information is used for indicating client executing resource transfers event not meet executing rule, wherein, test feedback information includes the first feedback information and the second feedback information.
If virtual test system generates the first feedback information, then prompting client can access the build environment of reality simultaneously.
If test feedback information instruction client does not pass through test, then while test feedback information is back to client, send test information and information to client, wherein, test information is for indicating client not pass through the reason of test, and information is used for pointing out client to re-start test;After information is resurveyed in the confirmation receiving the return of client end response information, virtual test system and client re-execute target detection use-case.
Alternatively, before virtual test system obtains the test request that client sends, virtual test system, after receiving the connection request that client sends, sets up the connection of virtual test system and client.
The using method that the modules provided in the present embodiment provides with the corresponding step of embodiment of the method is identical, application scenarios can also be identical.It is noted, of course, that the scheme that above-mentioned module relates to can be not limited to the content in above-described embodiment and scene, and above-mentioned module may operate in terminal or mobile terminal, it is possible to is realized by software or hardware.
Embodiment 3
According to embodiments of the present invention, additionally providing a kind of terminal for implementing said procedure method of testing, as shown in Figure 10, this terminal includes:
As shown in Figure 10, this server includes: one or more (only illustrating one in figure) processor 901, memorizer 903 and transmitting device 905 (dispensing device in above-described embodiment), as shown in Figure 10, this terminal can also include input-output equipment 907.
Wherein, memorizer 903 can be used for storing software program and module, programmed instruction/module that program testing method in the embodiment of the present invention is corresponding with device, processor 901 is by running the software program and module being stored in memorizer 903, thus performing the application of various function and data process, namely realize above-mentioned program testing method.Memorizer 903 can include high speed random access memory, it is also possible to includes nonvolatile memory, such as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances, memorizer 903 can farther include the memorizer remotely located relative to processor 901, and these remote memories can be connected to terminal by network.The example of above-mentioned network includes but not limited to the Internet, intranet, LAN, mobile radio communication and combination thereof.
Above-mentioned transmitting device 905 is for receiving via a network or sending data, it is also possible to transmit for the data between processor and memorizer.Above-mentioned network instantiation can include cable network and wireless network.In an example, transmitting device 905 includes a network adapter (NetworkInterfaceController, NIC), and it can be connected with router with other network equipments by netting twine thus communication can be carried out with the Internet or LAN.In an example, transmitting device 905 is radio frequency (RadioFrequency, RF) module, and it is for wirelessly carrying out communication with the Internet.
Wherein, specifically, memorizer 903 is used for storing application program.
Step S2: virtual test system obtains the test request that client sends, and wherein, test request is used for asking performance objective test case;
Step S4: virtual test system and client executing target detection use-case, wherein, for test client, target detection use-case performs whether resource transfers event meets executing rule;
Step S6: the operation information of virtual test system record client, and determine whether client executing resource transfers event meets executing rule based on operation information, wherein, operation information includes the operating result of operation behavior that client occurs in the process of performance objective test case and generation.
Pass through the above embodiment of the present invention, test case can be provided by virtual test system, after receiving the test request that client sends, with client executing target detection use-case, the ability of resource transfers event is performed (as performed speed with test client, operation behavior etc.), in real build environment, scene checking is carried out without client, even if client executing mistake, resource without loss client, solve and prior art uses real resources carry out the checking of resource transfers, the problem that checking cost is high, save checking cost.
Virtual test system in above-described embodiment can be sandbox system;The account logged in client is used for receiving resource, that is, the account logged in client is for receiving the resource that other accounts proceed to, e.g., and the account of businessman.
Executing rule in above-described embodiment, it is possible to the guarantee client for pre-setting can correctly perform operation behavior or the operating process of resource transfers event.
One of ordinary skill in the art will appreciate that, structure shown in Figure 10 is only signal, terminal can be the terminal units such as smart mobile phone (such as Android phone, iOS mobile phone etc.), panel computer, palm PC and mobile internet device (MobileInternetDevices, MID), PAD.Figure 10 its structure of above-mentioned electronic installation is not caused restriction.Such as, terminal may also include the assembly (such as network interface, display device etc.) more or more less than shown in Figure 10, or has the configuration different from shown in Figure 10.
Embodiment 4
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium may be used for the program code of storage execution said method.
Alternatively, in the present embodiment, above-mentioned storage medium may be located at least one network equipment in the multiple network equipments in the network shown in above-described embodiment.
Alternatively, in the present embodiment, storage medium is set to the storage program code for performing following steps:
Step S2: virtual test system obtains the test request that client sends, and wherein, test request is used for asking performance objective test case;
Step S4: virtual test system and client executing target detection use-case, wherein, for test client, target detection use-case performs whether resource transfers event meets executing rule;
Step S6: the operation information of virtual test system record client, and determine whether client executing resource transfers event meets executing rule based on operation information, wherein, operation information includes the operating result of operation behavior that client occurs in the process of performance objective test case and generation.
Pass through the above embodiment of the present invention, test case can be provided by virtual test system, after receiving the test request that client sends, with client executing target detection use-case, the ability of resource transfers event is performed (as performed speed with test client, operation behavior etc.), in real build environment, scene checking is carried out without client, even if client executing mistake, resource without loss client, solve and prior art uses real resources carry out the checking of resource transfers, the problem that checking cost is high, save checking cost.
Virtual test system in above-described embodiment can be sandbox system;The account logged in client is used for receiving resource, that is, the account logged in client is for receiving the resource that other accounts proceed to, e.g., and the account of businessman.
Executing rule in above-described embodiment, it is possible to the guarantee client for pre-setting can correctly perform operation behavior or the operating process of resource transfers event.
Alternatively, the concrete example in the present embodiment is referred to the example described in above-described embodiment, and the present embodiment does not repeat them here.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
If the integrated unit in above-described embodiment is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in the storage medium that above computer can read.Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by technical scheme substantially in other words can embody with the form of software product, this computer software product is stored in storage medium, including some instructions with so that one or more computer equipment (can for personal computer, server or the network equipment etc.) performs all or part of step of method described in each embodiment of the present invention.
In the above embodiment of the present invention, the description of each embodiment is all emphasized particularly on different fields, certain embodiment there is no the part described in detail, it is possible to referring to the associated description of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, can realize by another way.Wherein, device embodiment described above is merely schematic, the such as division of described unit, it is only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, unit or module, it is possible to be electrical or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
The above is only the preferred embodiment of the present invention; it should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention; can also making some improvements and modifications, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (15)

1. a program testing method, it is characterised in that including:
Virtual test system obtains the test request that client sends, and wherein, described test request is used for asking performance objective test case;
Described virtual test system and described client executing target detection use-case, wherein, described target detection use-case is used for testing whether described client executing resource transfers event meets executing rule;
The operation information of client described in described virtual test system record, and determine whether described client executing resource transfers event meets described executing rule based on described operation information, wherein, described operation information includes the operation behavior of described client generation in the process performing described target detection use-case and the operating result of generation.
2. method according to claim 1, it is characterised in that described virtual test system and described client executing target detection use-case include:
Described virtual test system receives the first resource transfer request that described client sends, and wherein, described first resource transfer request is corresponding with described target detection use-case;
Described virtual test system responds described first resource transfer request, sends response message corresponding to described target detection use-case to described client,
Wherein, described target detection use-case includes abnormality test use-case and safety test use-case, described abnormality test use-case is for testing the process for abnormal described resource transfers event of the described client, and described safety test use-case is for testing the safety of resource transfers event described in described client executing.
3. method according to claim 1, it is characterised in that described target detection use-case is stress test use-case, described virtual test system and described client executing target detection use-case include:
Described virtual test system receives the Secondary resource transfer request of the predetermined number that described client sends, and wherein, described predetermined number is prenoticed to described client by described virtual test system;
Described virtual test system responds each described Secondary resource transfer request, generates and is used for pointing out resource to change successful success message, and sends described success message extremely described client.
4. method according to claim 1, it is characterised in that described target detection use-case is signature test case, and described virtual test system and described client executing target detection use-case include:
Described virtual test system receives the information resources transfer request that described client sends;
Described virtual test system responds described information resources transfer request, generates the request results information carrying system signature, sends described request results information to described client,
Wherein, the false signature that described system signature be described virtual test system corresponding with described information resources transfer request, described request results information is used for triggering described client and described request results information is carried out signature verification.
5. method according to claim 1, it is characterised in that described target detection use-case is for repeating notice test case, and described virtual test system and described client executing target detection use-case include:
Described virtual test system receives the 4th resource transfers request that described client sends;
The described 4th resource transfers request of described virtual test system response, is not sent completely message to described client in the same time at continuous print respectively,
Wherein, described completion message is used for indicating execution to complete described 4th resource transfers request, described continuous print not in the same time between interval less than preset duration.
6. method as claimed in any of claims 1 to 5, it is characterised in that after determining based on described operation information whether described client executing resource transfers event meets described executing rule, described method also includes:
Described virtual test system generates test feedback information, and wherein, described test feedback information is used for indicating whether described client executing resource transfers event meets described executing rule;
Described test feedback information is back to described client by described virtual test system.
7. method according to claim 6, it is characterised in that described virtual test system generates test feedback information based on described operation information and includes:
If described virtual test system judges the scheduled operation information match that described operation information is corresponding with guidance information, then generate the first feedback information, wherein, described first feedback information is used for indicating executing rule described in described client executing resource transfers event matches;
If described virtual test system judges described operation information, the scheduled operation information corresponding with described guidance information is not mated, then generate the second feedback information, wherein, described second feedback information is used for indicating described client executing resource transfers event not meet described executing rule
Wherein, described test feedback information includes described first feedback information and described second feedback information.
8. method according to claim 6, it is characterised in that if described test feedback information indicates described client executing resource transfers event not meet described executing rule, described method also includes:
While described test feedback information is back to described client, send test information and information extremely described client, wherein, the reason that described test information does not meet described executing rule for indicating described client, described information is used for pointing out described client to re-execute described target detection use-case;
Resurveying after information receiving the confirmation that information described in described client end response returns, described virtual test system and described client re-execute described target detection use-case.
9. method as claimed in any of claims 1 to 5, it is characterised in that before virtual test system obtains the test request that client sends, described method also includes:
Described virtual test system, after receiving the connection request that described client sends, sets up the connection of described virtual test system and described client.
10. a program test device, it is characterised in that including:
Acquiring unit, obtains, for virtual test system, the test request that client sends, and wherein, described test request is used for asking performance objective test case;
Performance element, for described virtual test system and described client executing target detection use-case, wherein, described target detection use-case is used for testing whether described client executing resource transfers event meets executing rule;
Processing unit, the operation information of client described in described virtual test system record, and determine whether described client executing resource transfers event meets described executing rule based on described operation information, wherein, described operation information includes the operation behavior of described client generation in the process performing described target detection use-case and the operating result of generation.
11. device according to claim 10, it is characterised in that described performance element includes:
First receiver module, receives, for described virtual test system, the first resource transfer request that described client sends, and wherein, described first resource transfer request is corresponding with described target detection use-case;
First respond module, responds described first resource transfer request for described virtual test system, sends response message corresponding to described target detection use-case to described client,
Wherein, described target detection use-case includes abnormality test use-case and safety test use-case, described abnormality test use-case is for testing the process for abnormal described resource transfers event of the described client, and described safety test use-case is for testing the safety of resource transfers event described in described client executing.
12. device according to claim 10, it is characterised in that described target detection use-case is stress test use-case, and described performance element includes:
Second receiver module, receives the Secondary resource transfer request of the predetermined number that described client sends for described virtual test system, and wherein, described predetermined number is prenoticed to described client by described virtual test system;
Second respond module, responds each described Secondary resource transfer request for described virtual test system, generates and is used for pointing out resource to change successful success message, and sends described success message extremely described client.
13. device according to claim 10, it is characterised in that described target detection use-case is signature test case, and described virtual test system and described client executing target detection use-case include:
3rd receiver module, receives, for described virtual test system, the information resources transfer request that described client sends;
3rd respond module, responds described information resources transfer request for described virtual test system, generates the request results information carrying system signature, sends described request results information to described client,
Wherein, the false signature that described system signature be described virtual test system corresponding with described information resources transfer request, described request results information is used for triggering described client and described request results information is carried out signature verification.
14. device according to claim 10, it is characterised in that described target detection use-case is for repeating notice test case, and described virtual test system and described client executing target detection use-case include:
4th receiver module, receives, for described virtual test system, the 4th resource transfers request that described client sends;
4th respond module, for the described 4th resource transfers request of described virtual test system response, is not sent completely message to described client at continuous print respectively in the same time,
Wherein, described completion message is used for indicating execution to complete described 4th resource transfers request, described continuous print not in the same time between interval less than preset duration.
15. the device according to any one in claim 10 to 14, it is characterised in that described device also includes:
Generate unit, for after determining based on described operation information whether described client executing resource transfers event meets described executing rule, described virtual test system generates test feedback information, wherein, described test feedback information is used for indicating whether described client executing resource transfers event meets described executing rule;
Return unit, for described virtual test system, described test feedback information is back to described client.
CN201610113045.9A 2016-02-29 2016-02-29 Program testing method and device Active CN105786707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610113045.9A CN105786707B (en) 2016-02-29 2016-02-29 Program testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610113045.9A CN105786707B (en) 2016-02-29 2016-02-29 Program testing method and device

Publications (2)

Publication Number Publication Date
CN105786707A true CN105786707A (en) 2016-07-20
CN105786707B CN105786707B (en) 2019-01-11

Family

ID=56386756

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610113045.9A Active CN105786707B (en) 2016-02-29 2016-02-29 Program testing method and device

Country Status (1)

Country Link
CN (1) CN105786707B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656762A (en) * 2017-10-13 2018-02-02 上海酷屏信息技术有限公司 A kind of method and system that third party's function is realized in APP
CN108256846A (en) * 2016-12-28 2018-07-06 航天信息股份有限公司 A kind of method and system of integrated payment
CN109359027A (en) * 2018-08-15 2019-02-19 中国平安人寿保险股份有限公司 Monkey test method, device, electronic equipment and computer readable storage medium
CN109447733A (en) * 2018-09-25 2019-03-08 深圳壹账通智能科技有限公司 Transaction verification method, device and the storage medium of transaction system
CN109558313A (en) * 2018-11-09 2019-04-02 口碑(上海)信息技术有限公司 Construct the method and device of abnormality test scene
CN110580223A (en) * 2019-09-11 2019-12-17 中国工商银行股份有限公司 test method, device, system, equipment and medium
CN110825609A (en) * 2018-08-10 2020-02-21 阿里巴巴集团控股有限公司 Service testing method, device and system
CN110879787A (en) * 2019-12-31 2020-03-13 中国银行股份有限公司 Client test method and system
CN110990272A (en) * 2019-11-28 2020-04-10 中国银行股份有限公司 Mobile payment testing method, device and system
CN112418835A (en) * 2019-08-21 2021-02-26 腾讯科技(深圳)有限公司 Method and related device for testing online bank payment process
CN112783790A (en) * 2021-02-04 2021-05-11 腾讯科技(深圳)有限公司 Application program testing method and device
CN112994959A (en) * 2019-12-02 2021-06-18 腾讯科技(深圳)有限公司 Service test control system, method, device and storage medium
CN113641570A (en) * 2021-06-29 2021-11-12 银联商务股份有限公司 Test method and terminal
CN114417323A (en) * 2022-01-21 2022-04-29 北京飞书科技有限公司 Data reference method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222608A1 (en) * 2001-10-05 2008-09-11 Jason Michael Gartner Method and system for managing software testing
CN101789967A (en) * 2010-01-12 2010-07-28 重庆大学 Remote test service system based on electronic commerce and use method thereof
CN102662828A (en) * 2012-03-14 2012-09-12 浪潮(北京)电子信息产业有限公司 A method and device for achieving software automatic testing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080222608A1 (en) * 2001-10-05 2008-09-11 Jason Michael Gartner Method and system for managing software testing
CN101789967A (en) * 2010-01-12 2010-07-28 重庆大学 Remote test service system based on electronic commerce and use method thereof
CN102662828A (en) * 2012-03-14 2012-09-12 浪潮(北京)电子信息产业有限公司 A method and device for achieving software automatic testing

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256846A (en) * 2016-12-28 2018-07-06 航天信息股份有限公司 A kind of method and system of integrated payment
CN107656762A (en) * 2017-10-13 2018-02-02 上海酷屏信息技术有限公司 A kind of method and system that third party's function is realized in APP
CN110825609A (en) * 2018-08-10 2020-02-21 阿里巴巴集团控股有限公司 Service testing method, device and system
CN110825609B (en) * 2018-08-10 2023-05-02 阿里巴巴集团控股有限公司 Service testing method, device and system
CN109359027A (en) * 2018-08-15 2019-02-19 中国平安人寿保险股份有限公司 Monkey test method, device, electronic equipment and computer readable storage medium
CN109447733A (en) * 2018-09-25 2019-03-08 深圳壹账通智能科技有限公司 Transaction verification method, device and the storage medium of transaction system
CN109558313B (en) * 2018-11-09 2021-08-17 口碑(上海)信息技术有限公司 Method and device for constructing abnormal test scene
CN109558313A (en) * 2018-11-09 2019-04-02 口碑(上海)信息技术有限公司 Construct the method and device of abnormality test scene
CN112418835A (en) * 2019-08-21 2021-02-26 腾讯科技(深圳)有限公司 Method and related device for testing online bank payment process
CN110580223A (en) * 2019-09-11 2019-12-17 中国工商银行股份有限公司 test method, device, system, equipment and medium
CN110990272B (en) * 2019-11-28 2024-03-08 中国银行股份有限公司 Mobile payment testing method, device and system
CN110990272A (en) * 2019-11-28 2020-04-10 中国银行股份有限公司 Mobile payment testing method, device and system
CN112994959B (en) * 2019-12-02 2022-05-31 腾讯科技(深圳)有限公司 Service test control system, method, device and storage medium
CN112994959A (en) * 2019-12-02 2021-06-18 腾讯科技(深圳)有限公司 Service test control system, method, device and storage medium
CN110879787B (en) * 2019-12-31 2024-01-30 中国银行股份有限公司 Client testing method and system
CN110879787A (en) * 2019-12-31 2020-03-13 中国银行股份有限公司 Client test method and system
CN112783790A (en) * 2021-02-04 2021-05-11 腾讯科技(深圳)有限公司 Application program testing method and device
CN113641570A (en) * 2021-06-29 2021-11-12 银联商务股份有限公司 Test method and terminal
CN114417323A (en) * 2022-01-21 2022-04-29 北京飞书科技有限公司 Data reference method, device, equipment and medium
CN114417323B (en) * 2022-01-21 2023-02-28 北京飞书科技有限公司 Data reference method, device, equipment and medium

Also Published As

Publication number Publication date
CN105786707B (en) 2019-01-11

Similar Documents

Publication Publication Date Title
CN105786707A (en) Method and device for testing program
CN104169952B (en) A kind of method of network payment, apparatus and system
CN109636504B (en) Information processing method and device, electronic device and storage medium
CN104836780B (en) Data interactive method, checking terminal, server and system
CN110268389B (en) Simulator for system testing
CN104077689B (en) A kind of method of Information Authentication, relevant apparatus and system
CN103929402B (en) Sensitive operation verification method, terminal unit, server and checking system
CN109583857A (en) It is open to invite task processing method, system, equipment and storage medium
CN106411950B (en) Authentication method, apparatus and system based on block chain transaction id
CN102469081B (en) Method, equipment and system for operating smart card
CN108830710B (en) Block chain transaction platform and implementation method
CN104077720A (en) Business handling method and device
CN109359948A (en) A kind of measure of managing contract and relevant device based on block chain
CN107451812B (en) APP payment method on mobile terminal based on block chain technology
CN109472439A (en) Credit estimation method, device, equipment and system
CN112070484B (en) Block chain-based data processing method and device
Radu et al. Practical EMV relay protection
US20230409453A1 (en) Computer and conduit for system testing
CN110414962A (en) Inter-bank intelligence transfer account method, device, computer equipment and storage medium
CN111382062B (en) Joint debugging test method and device for real estate transaction system and external institution business system
CN103778536A (en) Implementation method and implementation system for transfer transaction
US20210374042A1 (en) Automatic portable device testing method and system
CN110533432B (en) Service processing method, device, server and client
CN103701762A (en) Security information interaction system, equipment and method
CA2935227C (en) Method for processing transactional data, corresponding device and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210927

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right