CN112817875A - Online banking transaction pressure automatic testing method and device and RPA robot - Google Patents

Online banking transaction pressure automatic testing method and device and RPA robot Download PDF

Info

Publication number
CN112817875A
CN112817875A CN202110271634.0A CN202110271634A CN112817875A CN 112817875 A CN112817875 A CN 112817875A CN 202110271634 A CN202110271634 A CN 202110271634A CN 112817875 A CN112817875 A CN 112817875A
Authority
CN
China
Prior art keywords
transaction
online bank
bank
online
pressure
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
CN202110271634.0A
Other languages
Chinese (zh)
Other versions
CN112817875B (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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202110271634.0A priority Critical patent/CN112817875B/en
Publication of CN112817875A publication Critical patent/CN112817875A/en
Application granted granted Critical
Publication of CN112817875B publication Critical patent/CN112817875B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • 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
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the application provides an automatic testing method and device for online banking transaction pressure and an RPA robot, which can be used in the technical field of artificial intelligence, and the method comprises the following steps: triggering each RPA robot corresponding to the current transaction configuration scheme so that each triggered RPA robot can automatically log in a target online bank based on a configuration file corresponding to the transaction configuration scheme and simulate the transaction operation of a real user in a transaction page of the target online bank; and if the current system running state of the target online bank meets the preset state requirement, determining that the online bank passes the transaction pressure test under the current transaction configuration scheme. The method and the device can effectively improve the efficiency of the system transaction pressure testing process aiming at the online bank, can also effectively simulate the operation of a real user in the transaction page of the online bank, and can improve the authenticity and the validity of the automatic testing result of the online bank transaction pressure.

Description

Online banking transaction pressure automatic testing method and device and RPA robot
Technical Field
The application relates to the technical field of data processing, in particular to the technical field of artificial intelligence, and specifically relates to an automatic online banking transaction pressure testing method and device and an RPA robot.
Background
With the continuous popularization of personal terminals, more and more users carry out transfer transaction processing through internet banking, and the amount of users of the internet banking is rapidly expanded, so that the pressure test of simulating a production environment for the internet banking becomes more important. The method is used for effectively guaranteeing that a user operates the online bank to conduct transactions.
At present, two transaction pressure tests for online banking are common, one of which is that a tester manually operates the online banking to perform systematic transaction pressure test, but the method needs to consume a large amount of labor cost and time cost; the second is to perform systematic transaction pressure test on the online bank through a software automatic test mode and the like, which can provide the efficiency of the transaction pressure test to a certain extent, but the accuracy of the test result obtained based on the mode cannot meet the requirement of the stability of the operation of the online bank system because the mode cannot simulate the operation of a real user. That is to say, no matter which of the existing transaction pressure testing modes of the online banking, the timeliness requirement and the accuracy requirement of the transaction pressure test cannot be met at the same time.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides the method and the device for automatically testing the transaction pressure of the online bank and the RPA robot, which can effectively improve the efficiency of the system transaction pressure testing process aiming at the online bank, can also effectively simulate the operation of a real user in a transaction page of the online bank, and can improve the authenticity and the validity of the automatic testing result of the transaction pressure of the online bank.
In order to solve the technical problem, the application provides the following technical scheme:
in a first aspect, the present application provides an automatic testing method for online banking transaction pressure, including:
triggering each RPA robot corresponding to the current transaction configuration scheme so that each triggered RPA robot can automatically log in a target online bank based on a configuration file corresponding to the transaction configuration scheme and simulate the transaction operation of a real user in a transaction page of the target online bank;
and if the current system running state of the target online bank meets the preset state requirement, determining that the online bank passes the transaction pressure test under the current transaction configuration scheme.
Further, after the determining that the online bank passes the transaction stress test under the current transaction configuration scheme, the method further includes:
and judging whether the test frequency of the target online bank reaches a preset test frequency limit value, if not, replacing a transaction configuration scheme and automatically testing the transaction pressure of the target online bank again based on the replaced transaction configuration scheme, wherein the transaction configuration scheme comprises the number of RPA robots to be triggered and the transaction frequency.
Further, still include:
and if the current system operation state of the target online bank does not meet the state requirement, outputting a corresponding transaction pressure test result to determine the reason for the failure of the system transaction pressure test of the target online bank based on the transaction pressure test result.
Further, the configuration file is used for storing the corresponding relation among the amount of the transaction, the online banking login data of the transaction sender, the transaction identification data of the transaction receiver and the transaction times;
correspondingly, the triggering each RPA robot corresponding to the current transaction configuration scheme so that each triggered RPA robot automatically logs in a target internet bank based on a configuration file corresponding to the transaction configuration scheme and simulates the transaction operation of a real user in a transaction page of the target internet bank respectively includes:
respectively sending configuration files corresponding to the current transaction configuration scheme to each RPA robot for storage;
triggering each RPA robot corresponding to the current transaction configuration scheme so that each RPA robot carries out real person transaction simulation operation on the target online bank based on the transaction times specified in the respective stored configuration file;
wherein the human transaction simulation operation comprises: and automatically logging in a target online bank according to the online bank login data of the transaction sender, capturing transaction elements in a transaction page of the target online bank, and simulating a real user to fill in the corresponding transaction elements based on the amount of the transaction and the transaction identification data of the transaction receiver so as to complete the current transaction.
Further, the status requirements include: the system utilization rate of the target online bank is greater than a utilization rate threshold value, and the transaction success rate of the current transaction configuration scheme corresponding to the target online bank is equal to or higher than a success rate threshold value.
In a second aspect, the present application provides an automatic testing method for online banking transaction pressure, including:
if the self is detected to be triggered by the automatic testing device, automatically logging in a target online bank according to a configuration file corresponding to the current transaction configuration scheme and simulating the transaction operation of a real user in a transaction page of the target online bank;
and sending operation starting information aiming at the current transaction configuration scheme to the automatic testing device so that the automatic testing device determines that the online bank passes the transaction pressure test under the current transaction configuration scheme when or after determining that the current system running state of the target online bank meets the preset state requirement.
Further, the configuration file is used for storing the corresponding relation among the amount of the transaction, the online banking login data of the transaction sender, the transaction identification data of the transaction receiver and the transaction times;
correspondingly, the automatically logging in the target internet bank according to the configuration file corresponding to the current transaction configuration scheme and simulating the transaction operation of the real user in the transaction page of the target internet bank comprises the following steps:
receiving and storing a configuration file corresponding to the current transaction configuration scheme sent by the automatic testing device;
if the self is detected to be triggered by the automatic testing device, carrying out real person transaction simulation operation on the target online bank based on the transaction times specified in the configuration file stored by the self;
wherein the human transaction simulation operation comprises: and automatically logging in a target online bank according to the online bank login data of the transaction sender, capturing transaction elements in a transaction page of the target online bank, and simulating a real user to fill in the corresponding transaction elements based on the amount of the transaction and the transaction identification data of the transaction receiver so as to complete the current transaction.
In a third aspect, the present application provides an automatic test apparatus, comprising:
the system comprises an RPA triggering module, a transaction processing module and a transaction processing module, wherein the RPA triggering module is used for triggering each RPA robot corresponding to a current transaction configuration scheme so as to enable each triggered RPA robot to automatically log in a target online bank based on a configuration file corresponding to the transaction configuration scheme and simulate the transaction operation of a real user in a transaction page of the target online bank;
and the system detection module is used for determining that the online bank passes the transaction pressure test under the current transaction configuration scheme if the current system operation state of the target online bank meets the preset state requirement.
In a fourth aspect, the present application provides an RPA robot comprising:
the automatic testing module is used for automatically logging in a target online bank according to a configuration file corresponding to the current transaction configuration scheme and simulating the transaction operation of a real user in a transaction page of the target online bank if the automatic testing module detects that the automatic testing module is triggered by the automatic testing device;
and the information sending module is used for sending operation starting information aiming at the current transaction configuration scheme to the automatic testing device so as to ensure that the automatic testing device determines that the online bank passes the transaction pressure test under the current transaction configuration scheme when or after determining that the current system running state of the target online bank meets the preset state requirement.
In a fifth aspect, the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for automatically testing the transaction pressure of the internet banking when executing the program.
In a sixth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the method for automatically testing the internet banking transaction pressure.
According to the technical scheme, the automatic testing method and device for the transaction pressure of the online bank and the RPA robot provided by the application comprise the following steps: triggering each RPA robot corresponding to the current transaction configuration scheme so that each triggered RPA robot can automatically log in a target online bank based on a configuration file corresponding to the transaction configuration scheme and simulate the transaction operation of a real user in a transaction page of the target online bank; if the current system operation state of the target online bank meets the preset state requirement, determining that the online bank passes the transaction pressure test under the current transaction configuration scheme, and applying the RPA robot to the online bank transaction pressure automatic test process, so that the efficiency of the online bank system transaction pressure test process can be effectively improved, and the labor cost and the time cost are effectively saved; meanwhile, according to the application of the RPA robot, on the basis of improving the timeliness of a system transaction pressure test process for the online bank, the operation of a real user in a transaction page of the online bank can be effectively simulated, and the authenticity and the validity of an online bank transaction pressure automatic test result can be effectively improved; whether the online bank passes the transaction pressure test under the current transaction configuration scheme is determined through the comparison result between the current system operation state and the state requirement of the target online bank, the accuracy of the online bank transaction pressure test result can be further improved, the efficiency and the accuracy of system adjustment or online of the online bank according to the transaction pressure test result can be effectively improved, the operation reliability and the stability of the online bank determined and debugged after the automatic test based on the transaction pressure can be effectively improved, and the user experience of a tester and a user who uses the online bank after the online bank is online can be effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a first flowchart of an automatic testing method for internet banking transaction pressure in an embodiment of the present application.
Fig. 2 is a second flowchart of the first method for automatically testing the transaction pressure of the internet banking in the embodiment of the present application.
Fig. 3 is a third flowchart of the first method for automatically testing the transaction pressure of the internet banking in the embodiment of the present application.
Fig. 4 is a fourth flowchart of the first method for automatically testing internet banking transaction pressure in the embodiment of the present application.
Fig. 5 is a first flowchart of a second method for automatically testing internet banking transaction pressure in the embodiment of the present application.
Fig. 6 is a second flowchart of an automatic testing method for pressure of a second internet banking transaction in the embodiment of the present application.
Fig. 7 is a schematic structural diagram of an automatic test apparatus in an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an RPA robot in the embodiment of the present application.
Fig. 9 is a schematic structural diagram of a large system for automatically testing internet banking transaction pressure in an application example of the present application.
Fig. 10 is a logic diagram of an automatic testing method for online banking transaction pressure in an application example of the present application.
FIG. 11 is a diagram illustrating an example of a logic table for capturing relevant elements in a page in an application example of the present application.
Fig. 12 is an exemplary diagram illustrating a logic operation in an application example of the present application.
Fig. 13 is a schematic diagram illustrating an execution flow of an RPA robot in an application example of the present application.
Fig. 14 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the method, the device and the RPA robot for automatically testing the transaction pressure of the online bank disclosed by the application can be used in the technical field of artificial intelligence and the technical field of finance, and can also be used in any field except the technical field of artificial intelligence and the technical field of finance.
The traditional pressure testing method cannot truly simulate the user transfer transaction behavior of the production environment in a large scale and foreground manner due to the technical limit and the labor cost, and a certain production risk point is added for the safe operation of the online banking system. Based on this, in order to meet the timeliness requirement and the accuracy requirement of the transaction pressure test at the same time, the application considers that a tool capable of simulating the transaction operation of a real user can be adopted, and therefore the application can be realized by adopting an rpa (systemic process automation) robot. With continuous innovation and development of science and technology, exploration and application of various automation tools appear, automation application taking RPA concepts and technical methods as cores appears in recent years, automation process application of various scenes is realized, manpower is released by replacing high-frequency and low-efficiency manual operation through RPA, and various risks existing in manual operation are avoided. By applying the RPA robot to the automatic testing process of the online banking transaction pressure, the efficiency of the system transaction pressure testing process aiming at the online banking can be effectively improved, and the labor cost and the time cost are effectively saved; meanwhile, according to the application of the RPA robot, on the basis of improving the timeliness of a system transaction pressure test process for the online bank, the operation of a real user in a transaction page of the online bank can be effectively simulated, and the authenticity and the validity of an online bank transaction pressure automatic test result can be effectively improved; whether the online bank passes the transaction pressure test under the current transaction configuration scheme is determined through the comparison result between the current system operation state and the state requirement of the target online bank, the accuracy of the online bank transaction pressure test result can be further improved, the efficiency and the accuracy of system adjustment or online of the online bank according to the transaction pressure test result can be effectively improved, the operation reliability and the stability of the online bank determined and debugged after the automatic test based on the transaction pressure can be effectively improved, and the user experience of a tester and a user who uses the online bank after the online bank is online can be effectively improved.
Based on the above content, the present application further provides an automatic testing device for implementing the online banking transaction pressure automatic testing method provided in one or more embodiments of the present application, where the automatic testing device may be in communication connection with a client device by itself or through a third-party server, etc. to receive configuration files corresponding to transaction configuration schemes sent by each client device, send the configuration files to each RPA robot specified by the transaction configuration schemes for storage, and then trigger each RPA robot corresponding to the current transaction configuration scheme, so that each triggered RPA robot automatically logs in a target online bank based on the configuration files corresponding to the transaction configuration schemes, respectively, and simulates a transaction operation of a real user in a transaction page of the target online bank; if the current system operation state of the target online bank meets the preset state requirement, determining that the online bank passes the transaction pressure test under the current transaction configuration scheme, and sending the corresponding online bank transaction pressure automatic test result to the client equipment for displaying, and if the online bank transaction pressure automatic test result shows that the online bank passes the transaction pressure test under the current transaction configuration scheme, arranging online operation of the online bank as soon as possible by technical personnel, thereby effectively improving the reliability and efficiency of online operation of the online bank; if the automatic online banking transaction pressure test result shows that the online banking fails to pass the transaction pressure test under the current transaction configuration scheme, the automatic testing device can judge whether the current test frequency for the target online banking reaches a preset test frequency limit value, if not, the automatic testing device sends a transaction configuration scheme replacement request to the client equipment, or automatically replaces the transaction configuration scheme according to a pre-stored scheme update rule, and carries out the automatic transaction pressure test on the target online banking again based on the replaced transaction configuration scheme, wherein the transaction configuration scheme comprises the number of RPA robots to be triggered and the transaction frequency, and the automatic transaction pressure test is carried out on the target online banking again by replacing the transaction configuration scheme and based on the replaced transaction configuration scheme, so that the reliability of the automatic online banking transaction pressure test process can be effectively improved, further, the validity of the automatic test result of the transaction pressure of the online bank can be further improved, and the system operation stability and reliability of the online bank can be further improved.
It is understood that the client devices may include smart phones, tablet electronic devices, network set-top boxes, portable computers, desktop computers, Personal Digital Assistants (PDAs), in-vehicle devices, smart wearable devices, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In another practical application scenario, the part of the automatic testing apparatus for performing the automatic testing of the internet banking transaction pressure may be executed in the server as described above, or all operations may be completed in the client device. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. If all the operations are completed in the client device, the client device may further include a processor for performing a specific process of the online banking transaction pressure automatic test.
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
The server and the client device may communicate using any suitable network protocol, including network protocols not yet developed at the filing date of this application. The network protocol may include, for example, a TCP/IP protocol, a UDP/IP protocol, an HTTP protocol, an HTTPS protocol, or the like. Of course, the network Protocol may also include, for example, an RPC Protocol (Remote Procedure Call Protocol), a REST Protocol (Representational State Transfer Protocol), and the like used above the above Protocol.
The following embodiments and application examples are specifically and individually described in detail.
In order to simultaneously meet the timeliness requirement and the accuracy requirement of a transaction pressure test, the application provides an embodiment of a first online banking transaction pressure automatic test method with an execution subject being an automatic test device, and referring to fig. 1, the first online banking transaction pressure automatic test method executed based on the automatic test device specifically includes the following contents:
step 110: and triggering each RPA robot corresponding to the current transaction configuration scheme, so that each triggered RPA robot automatically logs in a target online bank based on a configuration file corresponding to the transaction configuration scheme and simulates the transaction operation of a real user in a transaction page of the target online bank.
In step 110, due to the financial characteristics of the internet banking and the particularity of the internet transaction, the RPA cannot be directly applied to the automatic test scenario of the internet banking transaction pressure, for example, the RPA technology can perform the test of the application program, but various information related to the internet banking, the use frequency of the user, the very high requirement for the transaction success, and the like, make it impossible to directly apply the RPA to the internet banking transaction pressure. Based on this, through a large number of experimental operations and simulation attempts, a technician of the application considers that a transaction configuration scheme specially corresponding to the internet banking can be preset, a corresponding configuration file is generated for each transaction configuration scheme, and the configuration file is sent to at least one RPA robot to be triggered for storage, so that the RPA robot can be specially suitable for an automatic online banking transaction pressure test scene, the transaction configuration scheme is emphasized, the scheme for online banking transaction pressure test is changed by modifying or replacing the transaction configuration scheme, and then the automatic online banking transaction pressure test result can be comprehensively obtained in a multi-angle manner.
It can be understood that the transaction configuration scheme includes execution requirement data of the current transaction pressure automatic test for the target online bank, for example, the execution requirement data includes the number of RPA robots to be triggered and the transaction times. Based on this, the configuration file corresponding to the transaction configuration scheme may include transaction times and necessary data that the RPA can automatically log in the target internet bank and simulate the transaction operation of the real user in the transaction page of the target internet bank, and may be specifically set according to the actual application situation.
In a specific example, the transaction configuration scheme may further include a unique identifier (e.g., IP) of an RPA robot having a trigger right, and then when the transaction configuration scheme is updated, the number of the RPA robots to be triggered next time may be changed by adjusting the number of the unique identifiers of the RPA robots therein.
Step 120: and if the current system running state of the target online bank meets the preset state requirement, determining that the online bank passes the transaction pressure test under the current transaction configuration scheme.
In step 120, only the operation result of the RPA robot is obtained, and the problem of how to obtain the automatic online banking transaction pressure result cannot be solved, so that, further, technical personnel of the present application propose to obtain and judge the current system operation state of the target online banking bank, so as to determine whether the online banking bank passes the transaction pressure test under the current transaction configuration scheme.
It can be understood that the state requirement is requirement data which is preset according to an actual application situation and can reflect that the target internet bank is normally and stably operated currently.
As can be seen from the above description, the first method for automatically testing the transaction pressure of the online bank by using the automatic testing device according to the embodiment of the present application can effectively improve the efficiency of the system transaction pressure testing process for the online bank by applying the RPA robot to the automatic testing process of the transaction pressure of the online bank, and effectively save the labor cost and the time cost; meanwhile, according to the application of the RPA robot, on the basis of improving the timeliness of a system transaction pressure test process for the online bank, the operation of a real user in a transaction page of the online bank can be effectively simulated, and the authenticity and the validity of an online bank transaction pressure automatic test result can be effectively improved; whether the online bank passes the transaction pressure test under the current transaction configuration scheme is determined through the comparison result between the current system operation state and the state requirement of the target online bank, the accuracy of the online bank transaction pressure test result can be further improved, the efficiency and the accuracy of system adjustment or online of the online bank according to the transaction pressure test result can be effectively improved, the operation reliability and the stability of the online bank determined and debugged after the automatic test based on the transaction pressure can be effectively improved, and the user experience of a tester and a user who uses the online bank after the online bank is online can be effectively improved.
In order to improve the reliability of the automatic testing process of the internet banking transaction pressure, referring to fig. 2, an embodiment of the first automatic testing method of the internet banking transaction pressure provided by the present application further includes the following steps after step 120 of the first automatic testing method of the internet banking transaction pressure:
step 130: judging whether the test frequency of the target internet bank reaches a preset test frequency limit value, if not, executing a step 141; if yes, go to step 142;
step 141: and replacing the transaction configuration scheme and automatically testing the transaction pressure of the target online bank again based on the replaced transaction configuration scheme, wherein the transaction configuration scheme comprises the number of RPA robots to be triggered and the transaction times. I.e., the transaction configuration scheme is changed, and then the process returns to step 110.
Step 142: and outputting test result information for indicating that the online bank passes the transaction pressure test under the current transaction configuration scheme.
Specifically, the method comprises the following steps: and adjusting the scale and the transaction times of the RPA robot according to the running state of the online banking system, and circularly performing pressure test until the limit value of the normal running of the online banking system is reached.
As can be seen from the above description, the automatic test method for transaction pressure of the first internet bank implemented by the automatic test device according to the embodiment of the present application can effectively improve the reliability of the automatic test process for transaction pressure of the internet bank by replacing the transaction configuration scheme and performing the automatic test for transaction pressure of the target internet bank again based on the replaced transaction configuration scheme, so as to further improve the validity of the automatic test result for transaction pressure of the internet bank, and further improve the stability and reliability of the system operation of the internet bank.
In order to improve the system repair efficiency and accuracy of the internet banking, referring to fig. 3, an embodiment of the first method for automatically testing the transaction pressure of the internet banking provided in the present application further includes the following steps after step 110:
step 150: and if the current system operation state of the target online bank does not meet the state requirement, outputting a corresponding transaction pressure test result to determine the reason for the failure of the system transaction pressure test of the target online bank based on the transaction pressure test result.
It is understood that the reason for the failure of the transaction stress test of the system may specifically include a problem of program robustness or a problem of system resource limitation such as network bandwidth.
Specifically, the tester configures the number of pressure test RPA process robots according to the total daily transfer transaction amount of the production environment, and performs a sending test to the online banking transfer function of the test environment according to the transaction frequency of the production environment at the peak transfer transaction period. And recording related information of the online banking system server in the process. If the program fails or exceeds various threshold index values, corresponding developers and system operation and maintenance personnel carry out subsequent analysis to determine whether the program robustness problem or the system resource limit such as network bandwidth is caused; if all indexes are normal and the transfer transaction is normal, the system transformation result of the related modules of the online bank can arrange the follow-up production on line through the pressure test.
As can be seen from the above description, in the automatic testing method for transaction pressure of the first internet bank implemented by the automatic testing apparatus according to the embodiment of the present application, when the current system operating state of the target internet bank does not satisfy the state requirement, the corresponding transaction pressure test result is output to determine the reason of failure of the system transaction pressure test of the target internet bank based on the transaction pressure test result, so that the system repair efficiency and accuracy of the internet bank can be effectively improved, the online efficiency of the internet bank can be further improved, and the system operating reliability and stability of the internet bank can be effectively improved.
In order to improve the transaction times of each RPA robot respectively based on the transaction times specified in the respective stored configuration file, in an embodiment of the first method for automatically testing the transaction pressure of the online bank provided by the present application, the configuration file is used for storing the corresponding relationship between the amount of a transaction, the online banking login data of a transaction sender, the transaction identification data of a transaction receiver and the transaction times; it can be understood that the internet banking login data includes a user name and a password of the user logging in the internet banking, and the transaction identification data includes a name and a bank account number. Meanwhile, the configuration file may also include other operation contents, such as whether the transaction execution mode is immediate execution or timing execution, and the like, and also may include contents such as whether to send a transaction notification short message to a mobile phone of a transaction receiver.
For example: the configuration file mainly contains various information related to the online banking transfer transaction, such as a payee name, a payee account number, a transfer amount, a user name, a password and the like. The configuration of the RPA robot mainly comprises the scale of the RPA robot for performing the stress test and the number of times of performing the transfer transaction. The RPA system distributes the RPA script to each RPA robot, and the RPA robot executes the script. In the RPA system, an RPA robot ip that executes a script can be configured. The execution scale of the RPA robot is realized by adjusting the number of ip. And controlling the transaction times of each time by modifying the circulation times of the online transfer transaction in the script.
Based on this, referring to fig. 4, step 110 in the first method for automatically testing the transaction pressure of the internet banking specifically includes the following steps:
step 111: and respectively sending the configuration files corresponding to the current transaction configuration scheme to each RPA robot for storage.
Step 112: triggering each RPA robot corresponding to the current transaction configuration scheme so that each RPA robot carries out real person transaction simulation operation on the target online bank based on the transaction times specified in the respective stored configuration file; wherein the human transaction simulation operation comprises: and automatically logging in a target online bank according to the online bank login data of the transaction sender, capturing transaction elements in a transaction page of the target online bank, and simulating a real user to fill in the corresponding transaction elements based on the amount of the transaction and the transaction identification data of the transaction receiver so as to complete the current transaction.
It is to be understood that in one or more embodiments of the present application, capturing transaction elements or transaction elements from the transaction web page refers to the text boxes to be filled, selected or confirmed in the transaction web page where each item of information to be filled or confirmed is located, and capturing these text boxes is determined according to the data related to the configuration file, for example, if the payee name, payee account number, transfer amount, user name and password are related to the configuration file, text of the payee name, payee account number, transfer amount, user name and password can be searched from the transaction web page, because the transaction page is not a login page, only text boxes corresponding to the payee name, payee account number and transfer amount can be searched and locked, and the information of the payee name, payee account number and transfer amount and the text boxes corresponding to the transfer amount respectively are used as capturing transaction elements or transaction elements from the transaction web page, and filling the corresponding text box according to the specific text content or numerical value content of the name, account number and transfer amount of the payee, account number and transfer amount in the configuration file.
In step 112, the execution content of the RPA robot is exemplified by: logging in the Internet bank: and reading the user name and the password from the configuration file to log in the online bank. Capturing transfer transaction elements: and (4) capturing transfer transaction elements on the webpage of the online banking system according to preset transaction logic. In the RPA technology, related elements are mainly fetched from a page by using an element ID or a page tag on the page as an index. And subsequent configuration related actions, such as clicking elements, setting element texts and the like, realize various operations on the elements and realize simulation of actual operations of the user. In the invention, the grabbing of the elements such as the name, account and transfer amount of the account transfer person is mainly involved. Reading transfer transaction elements: and reading information such as the amount of the transfer transaction from the configuration file. Performing online bank transfer transaction: according to the preset transaction logic, the information such as the amount of the transfer transaction is read from the configuration file, the corresponding element data is input by setting the text content of the transaction element, and the online banking transaction is completed by matching with the subsequent logic operation (such as mouse click and pop-up window closing).
As can be seen from the above description, the automatic testing method for transaction pressure of the first online bank implemented by the automatic testing apparatus according to the embodiment of the present application can effectively improve the accuracy and reliability of each RPA robot automatically logging in the target online bank and simulating the transaction operation of the real user in the transaction page of the target online bank based on the configuration file corresponding to the transaction configuration scheme, respectively, by setting the corresponding relationship between the configuration file for storing the amount of the transaction, the online bank login data of the transaction sender, the transaction identification data of the transaction receiver, and the transaction frequency, and by pre-storing the configuration file in the RPA robot, the efficiency and convenience of each RPA robot performing the real-person transaction simulation operation on the target online bank based on the transaction frequency specified in the respective stored configuration file can be further improved, further, the authenticity and the validity of the automatic test result of the online banking transaction pressure can be further improved.
In order to improve the reliability and credibility of the transaction pressure test result, in an embodiment of the first online banking transaction pressure automatic test method provided by the present application, the status requirement in the first online banking transaction pressure automatic test method includes: the system utilization rate of the target online bank is greater than a utilization rate threshold value, and the transaction success rate of the current transaction configuration scheme corresponding to the target online bank is equal to or higher than a success rate threshold value.
Specifically, the operation state of the online banking system can be judged: and determining whether the scale and the transaction times of the current RPA robot can cause the online banking system to be incapable of operating normally. And the tester configures the number of pressure test RPA process robots according to the total daily transfer transaction amount of the production environment, and performs a sending and pressing test on the online bank transfer function of the test environment according to the transaction frequency of the production environment at the peak transfer transaction period. In the process, relevant information of the online banking system server is recorded, such as whether the memory, the CPU utilization rate and the like are below a threshold value, whether each transfer transaction is successfully operated and the like.
As can be seen from the above description, the automatic test method for transaction pressure of the first internet bank implemented by the automatic test device according to the embodiment of the present application determines whether the system of the internet bank passes the transaction pressure test according to the system utilization rate of the target internet bank and the transaction success rate of the current transaction configuration scheme in the target internet bank, so as to effectively improve the reliability and credibility of the transaction pressure test result, further improve the system repair efficiency and accuracy of the internet bank, further improve the online efficiency of the internet bank, and effectively improve the system operation reliability and stability of the internet bank.
In order to simultaneously satisfy the timeliness requirement and the accuracy requirement of the transaction pressure test, the application provides an embodiment of a second online banking transaction pressure automatic test method, the main body of which is an RPA robot, and referring to fig. 5, the first online banking transaction pressure automatic test method executed based on the RPA robot specifically includes the following contents:
step 210: and if the self is detected to be triggered by the automatic testing device, automatically logging in a target online bank according to a configuration file corresponding to the current transaction configuration scheme and simulating the transaction operation of a real user in a transaction page of the target online bank.
In step 210, due to the financial characteristics of the internet banking and the particularity of the internet transaction, the RPA cannot be directly applied to the automatic test scenario of the internet banking transaction pressure, for example, the RPA technology can perform the test of the application program, but various information related to the internet banking, the use frequency of the user, the very high transaction success requirement, and the like, make it impossible to directly apply the RPA to the internet banking transaction pressure. Based on this, through a large number of experimental operations and simulation attempts, a technician of the application considers that a transaction configuration scheme specially corresponding to the internet banking can be preset, a corresponding configuration file is generated for each transaction configuration scheme, and the configuration file is sent to at least one RPA robot to be triggered for storage, so that the RPA robot can be specially suitable for an automatic online banking transaction pressure test scene, the transaction configuration scheme is emphasized, the scheme for online banking transaction pressure test is changed by modifying or replacing the transaction configuration scheme, and then the automatic online banking transaction pressure test result can be comprehensively obtained in a multi-angle manner.
It can be understood that the transaction configuration scheme includes execution requirement data of the current transaction pressure automatic test for the target online bank, for example, the execution requirement data includes the number of RPA robots to be triggered and the transaction times. Based on this, the configuration file corresponding to the transaction configuration scheme may include transaction times and necessary data that the RPA can automatically log in the target internet bank and simulate the transaction operation of the real user in the transaction page of the target internet bank, and may be specifically set according to the actual application situation.
In a specific example, the transaction configuration scheme may further include a unique identifier (e.g., IP) of an RPA robot having a trigger right, and then when the transaction configuration scheme is updated, the number of the RPA robots to be triggered next time may be changed by adjusting the number of the unique identifiers of the RPA robots therein.
Step 220: and sending operation starting information aiming at the current transaction configuration scheme to the automatic testing device so that the automatic testing device determines that the online bank passes the transaction pressure test under the current transaction configuration scheme when or after determining that the current system running state of the target online bank meets the preset state requirement.
In step 220, only the operation result of the RPA robot is obtained, and the problem of how to obtain the automatic online banking transaction pressure result cannot be solved, so that, further, technical personnel of the present application propose to obtain and judge the current system operation state of the target online banking bank, so as to determine whether the online banking bank passes the transaction pressure test under the current transaction configuration scheme.
It can be understood that the state requirement is requirement data which is preset according to an actual application situation and can reflect that the target internet bank is normally and stably operated currently.
As can be seen from the above description, the second method for automatically testing the transaction pressure of the internet bank by the RPA robot according to the embodiment of the present invention can effectively improve the efficiency of the system transaction pressure testing process for the internet bank and effectively save the labor cost and the time cost by applying the RPA robot to the automatic testing process of the transaction pressure of the internet bank; meanwhile, according to the application of the RPA robot, on the basis of improving the timeliness of a system transaction pressure test process for the online bank, the operation of a real user in a transaction page of the online bank can be effectively simulated, and the authenticity and the validity of an online bank transaction pressure automatic test result can be effectively improved; whether the online bank passes the transaction pressure test under the current transaction configuration scheme is determined through the comparison result between the current system operation state and the state requirement of the target online bank, the accuracy of the online bank transaction pressure test result can be further improved, the efficiency and the accuracy of system adjustment or online of the online bank according to the transaction pressure test result can be effectively improved, the operation reliability and the stability of the online bank determined and debugged after the automatic test based on the transaction pressure can be effectively improved, and the user experience of a tester and a user who uses the online bank after the online bank is online can be effectively improved.
In order to improve the transaction times of each RPA robot respectively based on the transaction times specified in the respective stored configuration file, in an embodiment of the second method for automatically testing the transaction pressure of the online bank provided by the present application, the configuration file is used for storing the corresponding relationship between the amount of a transaction, the online banking login data of a transaction sender, the transaction identification data of a transaction receiver and the transaction times; it can be understood that the internet banking login data includes a user name and a password of the user logging in the internet banking, and the transaction identification data includes a name and a bank account number. Meanwhile, the configuration file may also include other operation contents, such as whether the transaction execution mode is immediate execution or timing execution, and the like, and also may include contents such as whether to send a transaction notification short message to a mobile phone of a transaction receiver.
For example: the configuration file mainly contains various information related to the online banking transfer transaction, such as a payee name, a payee account number, a transfer amount, a user name, a password and the like. The configuration of the RPA robot mainly comprises the scale of the RPA robot for performing the stress test and the number of times of performing the transfer transaction. The RPA system distributes the RPA script to each RPA robot, and the RPA robot executes the script. In the RPA system, an RPA robot ip that executes a script can be configured. The execution scale of the RPA robot is realized by adjusting the number of ip. And controlling the transaction times of each time by modifying the circulation times of the online transfer transaction in the script.
Based on this, referring to fig. 6, step 210 in the second method for automatically testing the transaction pressure of the internet banking specifically includes the following steps:
step 211: and receiving and storing the configuration file corresponding to the current transaction configuration scheme sent by the automatic testing device.
Step 212: if the self is detected to be triggered by the automatic testing device, carrying out real person transaction simulation operation on the target online bank based on the transaction times specified in the configuration file stored by the self; wherein the human transaction simulation operation comprises: and automatically logging in a target online bank according to the online bank login data of the transaction sender, capturing transaction elements in a transaction page of the target online bank, and simulating a real user to fill in the corresponding transaction elements based on the amount of the transaction and the transaction identification data of the transaction receiver so as to complete the current transaction.
It is to be understood that in one or more embodiments of the present application, capturing transaction elements or transaction elements from the transaction web page refers to the text boxes to be filled, selected or confirmed in the transaction web page where each item of information to be filled or confirmed is located, and capturing these text boxes is determined according to the data related to the configuration file, for example, if the payee name, payee account number, transfer amount, user name and password are related to the configuration file, text of the payee name, payee account number, transfer amount, user name and password can be searched from the transaction web page, because the transaction page is not a login page, only text boxes corresponding to the payee name, payee account number and transfer amount can be searched and locked, and the information of the payee name, payee account number and transfer amount and the text boxes corresponding to the transfer amount respectively are used as capturing transaction elements or transaction elements from the transaction web page, and filling the corresponding text box according to the specific text content or numerical value content of the name, account number and transfer amount of the payee, account number and transfer amount in the configuration file.
In step 212, the execution content of the RPA robot is exemplified by: logging in the Internet bank: and reading the user name and the password from the configuration file to log in the online bank. Capturing transfer transaction elements: and (4) capturing transfer transaction elements on the webpage of the online banking system according to preset transaction logic. In the RPA technology, related elements are mainly fetched from a page by using an element ID or a page tag on the page as an index. And subsequent configuration related actions, such as clicking elements, setting element texts and the like, realize various operations on the elements and realize simulation of actual operations of the user. In the invention, the grabbing of the elements such as the name, account and transfer amount of the account transfer person is mainly involved. Reading transfer transaction elements: and reading information such as the amount of the transfer transaction from the configuration file. Performing online bank transfer transaction: according to the preset transaction logic, the information such as the amount of the transfer transaction is read from the configuration file, the corresponding element data is input by setting the text content of the transaction element, and the online banking transaction is completed by matching with the subsequent logic operation (such as mouse click and pop-up window closing).
As can be seen from the above description, the second method for automatically testing transaction pressure of internet banking implemented by RPA robots provided in the embodiments of the present application can effectively improve the accuracy and reliability of each RPA robot automatically logging in a target internet bank and simulating the transaction operation of a real user in a transaction page of the target internet bank based on a configuration file corresponding to the transaction configuration scheme, respectively, by setting a corresponding relationship between the amount of transaction, the internet banking login data of a transaction sender, the transaction identification data of a transaction receiver, and the transaction frequency through a configuration file pre-generated to the RPA robot for storage, and can further improve the efficiency and convenience of each RPA robot performing real-person transaction simulation operation on the target internet bank based on the transaction frequency specified in the respective stored configuration file, further, the authenticity and the validity of the automatic test result of the online banking transaction pressure can be further improved.
From the aspect of software, in order to simultaneously satisfy the timeliness requirement and the accuracy requirement of the transaction pressure test, the present application provides an embodiment of an automatic testing apparatus for executing all or part of the contents of the first online banking transaction pressure automatic testing method, referring to fig. 7, where the automatic testing apparatus specifically includes the following contents:
and the RPA triggering module 11 is configured to trigger each RPA robot corresponding to the current transaction configuration scheme, so that each triggered RPA robot automatically logs in a target internet bank based on a configuration file corresponding to the transaction configuration scheme and simulates a transaction operation of a real user in a transaction page of the target internet bank.
And the system detection module 12 is configured to determine that the online bank passes a transaction pressure test under the current transaction configuration scheme if the current system operation state of the target online bank meets a preset state requirement.
The embodiment of the automatic testing apparatus provided in the present application may be specifically configured to execute the processing flow of the embodiment of the automatic testing method for pressure of a first online banking transaction in the foregoing embodiment, and the functions of the embodiment are not described herein again, and reference may be made to the detailed description of the embodiment of the automatic testing method for pressure of a first online banking transaction.
As can be seen from the above description, the automatic testing device provided in the embodiment of the present application, by applying the RPA robot to the automatic testing process of the online banking transaction pressure, can effectively improve the efficiency of the testing process of the online banking system transaction pressure, and effectively save the labor cost and the time cost; meanwhile, according to the application of the RPA robot, on the basis of improving the timeliness of a system transaction pressure test process for the online bank, the operation of a real user in a transaction page of the online bank can be effectively simulated, and the authenticity and the validity of an online bank transaction pressure automatic test result can be effectively improved; whether the online bank passes the transaction pressure test under the current transaction configuration scheme is determined through the comparison result between the current system operation state and the state requirement of the target online bank, the accuracy of the online bank transaction pressure test result can be further improved, the efficiency and the accuracy of system adjustment or online of the online bank according to the transaction pressure test result can be effectively improved, the operation reliability and the stability of the online bank determined and debugged after the automatic test based on the transaction pressure can be effectively improved, and the user experience of a tester and a user who uses the online bank after the online bank is online can be effectively improved.
In order to improve the reliability of the automatic testing process of the online banking transaction pressure, in an embodiment of the automatic testing apparatus provided by the present application, the automatic testing apparatus is further specifically configured to execute the following:
step 130: judging whether the test frequency of the target internet bank reaches a preset test frequency limit value, if not, executing a step 141; if yes, go to step 142;
step 141: and replacing the transaction configuration scheme and automatically testing the transaction pressure of the target online bank again based on the replaced transaction configuration scheme, wherein the transaction configuration scheme comprises the number of RPA robots to be triggered and the transaction times. I.e., the transaction configuration scheme is changed, and then the process returns to step 110.
Step 142: and outputting test result information for indicating that the online bank passes the transaction pressure test under the current transaction configuration scheme.
Specifically, the method comprises the following steps: and adjusting the scale and the transaction times of the RPA robot according to the running state of the online banking system, and circularly performing pressure test until the limit value of the normal running of the online banking system is reached.
As can be seen from the above description, the automatic testing device implemented by the automatic testing device provided in the embodiment of the present application can effectively improve the reliability of the automatic testing process of the transaction pressure of the internet bank by replacing the transaction configuration scheme and performing the automatic transaction pressure testing on the target internet bank again based on the replaced transaction configuration scheme, so as to further improve the validity of the automatic testing result of the transaction pressure of the internet bank, and further improve the stability and reliability of the system operation of the internet bank.
In order to improve the system repair efficiency and accuracy of online banking, in an embodiment of the automatic testing apparatus provided in the present application, the automatic testing apparatus is further specifically configured to execute the following:
step 150: and if the current system operation state of the target online bank does not meet the state requirement, outputting a corresponding transaction pressure test result to determine the reason for the failure of the system transaction pressure test of the target online bank based on the transaction pressure test result.
It is understood that the reason for the failure of the transaction stress test of the system may specifically include a problem of program robustness or a problem of system resource limitation such as network bandwidth.
Specifically, the tester configures the number of pressure test RPA process robots according to the total daily transfer transaction amount of the production environment, and performs a sending test to the online banking transfer function of the test environment according to the transaction frequency of the production environment at the peak transfer transaction period. And recording related information of the online banking system server in the process. If the program fails or exceeds various threshold index values, corresponding developers and system operation and maintenance personnel carry out subsequent analysis to determine whether the program robustness problem or the system resource limit such as network bandwidth is caused; if all indexes are normal and the transfer transaction is normal, the system transformation result of the related modules of the online bank can arrange the follow-up production on line through the pressure test.
As can be seen from the above description, according to the automatic testing device implemented by the automatic testing device provided in the embodiment of the present application, when the current system operating state of the target internet bank does not satisfy the state requirement, the corresponding transaction pressure test result is output to determine the reason of failure of the system transaction pressure test of the target internet bank based on the transaction pressure test result, so that the system repair efficiency and accuracy of the internet bank can be effectively improved, the online efficiency of the internet bank can be further improved, and the system operating reliability and stability of the internet bank can be effectively improved.
In order to improve the transaction times of each RPA robot respectively based on the appointed transaction times in the respective stored configuration file, in an embodiment of the automatic testing device provided by the application, the configuration file is used for storing the corresponding relation between the transaction amount, the online banking login data of the transaction sender, the transaction identification data of the transaction receiver and the transaction times; it can be understood that the internet banking login data includes a user name and a password of the user logging in the internet banking, and the transaction identification data includes a name and a bank account number. Meanwhile, the configuration file may also include other operation contents, such as whether the transaction execution mode is immediate execution or timing execution, and the like, and also may include contents such as whether to send a transaction notification short message to a mobile phone of a transaction receiver.
For example: the configuration file mainly contains various information related to the online banking transfer transaction, such as a payee name, a payee account number, a transfer amount, a user name, a password and the like. The configuration of the RPA robot mainly comprises the scale of the RPA robot for performing the stress test and the number of times of performing the transfer transaction. The RPA system distributes the RPA script to each RPA robot, and the RPA robot executes the script. In the RPA system, an RPA robot ip that executes a script can be configured. The execution scale of the RPA robot is realized by adjusting the number of ip. And controlling the transaction times of each time by modifying the circulation times of the online transfer transaction in the script.
Based on this, the RPA triggering module 11 in the automatic test apparatus is specifically configured to perform the following:
step 111: and respectively sending the configuration files corresponding to the current transaction configuration scheme to each RPA robot for storage.
Step 112: triggering each RPA robot corresponding to the current transaction configuration scheme so that each RPA robot carries out real person transaction simulation operation on the target online bank based on the transaction times specified in the respective stored configuration file; wherein the human transaction simulation operation comprises: and automatically logging in a target online bank according to the online bank login data of the transaction sender, capturing transaction elements in a transaction page of the target online bank, and simulating a real user to fill in the corresponding transaction elements based on the amount of the transaction and the transaction identification data of the transaction receiver so as to complete the current transaction.
It is to be understood that in one or more embodiments of the present application, capturing transaction elements or transaction elements from the transaction web page refers to the text boxes to be filled, selected or confirmed in the transaction web page where each item of information to be filled or confirmed is located, and capturing these text boxes is determined according to the data related to the configuration file, for example, if the payee name, payee account number, transfer amount, user name and password are related to the configuration file, text of the payee name, payee account number, transfer amount, user name and password can be searched from the transaction web page, because the transaction page is not a login page, only text boxes corresponding to the payee name, payee account number and transfer amount can be searched and locked, and the information of the payee name, payee account number and transfer amount and the text boxes corresponding to the transfer amount respectively are used as capturing transaction elements or transaction elements from the transaction web page, and filling the corresponding text box according to the specific text content or numerical value content of the name, account number and transfer amount of the payee, account number and transfer amount in the configuration file.
In step 112, the execution content of the RPA robot is exemplified by: logging in the Internet bank: and reading the user name and the password from the configuration file to log in the online bank. Capturing transfer transaction elements: and (4) capturing transfer transaction elements on the webpage of the online banking system according to preset transaction logic. In the RPA technology, related elements are mainly fetched from a page by using an element ID or a page tag on the page as an index. And subsequent configuration related actions, such as clicking elements, setting element texts and the like, realize various operations on the elements and realize simulation of actual operations of the user. In the invention, the grabbing of the elements such as the name, account and transfer amount of the account transfer person is mainly involved. Reading transfer transaction elements: and reading information such as the amount of the transfer transaction from the configuration file. Performing online bank transfer transaction: according to the preset transaction logic, the information such as the amount of the transfer transaction is read from the configuration file, the corresponding element data is input by setting the text content of the transaction element, and the online banking transaction is completed by matching with the subsequent logic operation (such as mouse click and pop-up window closing).
As can be seen from the above description, the automatic testing device implemented by the automatic testing device provided in the embodiments of the present application can effectively improve the accuracy and reliability of each RPA robot automatically logging in a target internet bank and simulating a transaction operation of a real user in a transaction page of the target internet bank based on a configuration file corresponding to the transaction configuration scheme, respectively, by setting a corresponding relationship between the amount of a transaction, the internet banking login data of a transaction sender, the transaction identification data of a transaction receiver, and the transaction frequency through a configuration file pre-generated to the RPA robot for storage, and can further improve the efficiency and convenience of each RPA robot performing a real transaction simulation operation on the target internet bank based on the transaction frequency specified in the respective stored configuration file, further, the authenticity and the validity of the automatic test result of the online banking transaction pressure can be further improved.
In order to improve the reliability and credibility of the transaction pressure test result, in one embodiment of the automatic test device provided in the present application, the status requirement in the automatic test device includes: the system utilization rate of the target online bank is greater than a utilization rate threshold value, and the transaction success rate of the current transaction configuration scheme corresponding to the target online bank is equal to or higher than a success rate threshold value.
Specifically, the operation state of the online banking system can be judged: and determining whether the scale and the transaction times of the current RPA robot can cause the online banking system to be incapable of operating normally. And the tester configures the number of pressure test RPA process robots according to the total daily transfer transaction amount of the production environment, and performs a sending and pressing test on the online bank transfer function of the test environment according to the transaction frequency of the production environment at the peak transfer transaction period. In the process, relevant information of the online banking system server is recorded, such as whether the memory, the CPU utilization rate and the like are below a threshold value, whether each transfer transaction is successfully operated and the like.
As can be seen from the above description, the automatic testing device implemented by the automatic testing device according to the embodiment of the present application determines whether the system of the online bank passes the transaction pressure test according to the system utilization rate of the target online bank and the transaction success rate of the current transaction configuration scheme in the target online bank, so as to effectively improve the reliability and credibility of the transaction pressure test result, further improve the system repair efficiency and accuracy of the online bank, further improve the online efficiency of the online bank, and effectively improve the system operation reliability and stability of the online bank.
From the aspect of software, in order to simultaneously meet the timeliness requirement and the accuracy requirement of the transaction pressure test, the application provides an embodiment of an RPA robot for executing all or part of the contents in the second online banking transaction pressure automatic test method, and referring to fig. 8, the RPA robot specifically includes the following contents:
and the automatic testing module 21 is configured to, if it is detected that the automatic testing module is triggered by the automatic testing device, automatically log in a target internet bank according to a configuration file corresponding to the current transaction configuration scheme and simulate a transaction operation of a real user in a transaction page of the target internet bank.
And the information sending module 22 is configured to send operation start information for the current transaction configuration scheme to the automatic testing device, so that when or after the automatic testing device determines that the current system operating state of the target online bank meets a preset state requirement, it is determined that the online bank passes the transaction pressure test under the current transaction configuration scheme.
The embodiment of the RPA robot provided in the present application may be specifically configured to execute the processing flow of the embodiment of the second online banking transaction pressure automatic test method in the foregoing embodiment, and the functions of the embodiment are not described herein again, and reference may be made to the detailed description of the embodiment of the second online banking transaction pressure automatic test method.
As can be seen from the above description, the RPA robot provided in the embodiment of the present application, by applying the RPA robot to an automatic testing process of the transaction pressure of the internet banking, can effectively improve the efficiency of the testing process of the system transaction pressure of the internet banking, and effectively save the labor cost and the time cost; meanwhile, according to the application of the RPA robot, on the basis of improving the timeliness of a system transaction pressure test process for the online bank, the operation of a real user in a transaction page of the online bank can be effectively simulated, and the authenticity and the validity of an online bank transaction pressure automatic test result can be effectively improved; whether the online bank passes the transaction pressure test under the current transaction configuration scheme is determined through the comparison result between the current system operation state and the state requirement of the target online bank, the accuracy of the online bank transaction pressure test result can be further improved, the efficiency and the accuracy of system adjustment or online of the online bank according to the transaction pressure test result can be effectively improved, the operation reliability and the stability of the online bank determined and debugged after the automatic test based on the transaction pressure can be effectively improved, and the user experience of a tester and a user who uses the online bank after the online bank is online can be effectively improved.
In order to improve the transaction times of each RPA robot respectively based on the appointed transaction times in the respective stored configuration file, in an embodiment of the RPA robot provided by the application, the configuration file is used for storing the corresponding relation between the transaction amount, the online banking login data of the transaction sender, the transaction identification data of the transaction receiver and the transaction times; it can be understood that the internet banking login data includes a user name and a password of the user logging in the internet banking, and the transaction identification data includes a name and a bank account number. Meanwhile, the configuration file may also include other operation contents, such as whether the transaction execution mode is immediate execution or timing execution, and the like, and also may include contents such as whether to send a transaction notification short message to a mobile phone of a transaction receiver.
For example: the configuration file mainly contains various information related to the online banking transfer transaction, such as a payee name, a payee account number, a transfer amount, a user name, a password and the like. The configuration of the RPA robot mainly comprises the scale of the RPA robot for performing the stress test and the number of times of performing the transfer transaction. The RPA system distributes the RPA script to each RPA robot, and the RPA robot executes the script. In the RPA system, an RPA robot ip that executes a script can be configured. The execution scale of the RPA robot is realized by adjusting the number of ip. And controlling the transaction times of each time by modifying the circulation times of the online transfer transaction in the script.
Based on this, the automatic testing module 21 in the RPA robot is specifically configured to execute the following:
step 211: and receiving and storing the configuration file corresponding to the current transaction configuration scheme sent by the automatic testing device.
Step 212: if the self is detected to be triggered by the automatic testing device, carrying out real person transaction simulation operation on the target online bank based on the transaction times specified in the configuration file stored by the self; wherein the human transaction simulation operation comprises: and automatically logging in a target online bank according to the online bank login data of the transaction sender, capturing transaction elements in a transaction page of the target online bank, and simulating a real user to fill in the corresponding transaction elements based on the amount of the transaction and the transaction identification data of the transaction receiver so as to complete the current transaction.
It is to be understood that in one or more embodiments of the present application, capturing transaction elements or transaction elements from the transaction web page refers to the text boxes to be filled, selected or confirmed in the transaction web page where each item of information to be filled or confirmed is located, and capturing these text boxes is determined according to the data related to the configuration file, for example, if the payee name, payee account number, transfer amount, user name and password are related to the configuration file, text of the payee name, payee account number, transfer amount, user name and password can be searched from the transaction web page, because the transaction page is not a login page, only text boxes corresponding to the payee name, payee account number and transfer amount can be searched and locked, and the information of the payee name, payee account number and transfer amount and the text boxes corresponding to the transfer amount respectively are used as capturing transaction elements or transaction elements from the transaction web page, and filling the corresponding text box according to the specific text content or numerical value content of the name, account number and transfer amount of the payee, account number and transfer amount in the configuration file.
In step 212, the execution content of the RPA robot is exemplified by: logging in the Internet bank: and reading the user name and the password from the configuration file to log in the online bank. Capturing transfer transaction elements: and (4) capturing transfer transaction elements on the webpage of the online banking system according to preset transaction logic. In the RPA technology, related elements are mainly fetched from a page by using an element ID or a page tag on the page as an index. And subsequent configuration related actions, such as clicking elements, setting element texts and the like, realize various operations on the elements and realize simulation of actual operations of the user. In the invention, the grabbing of the elements such as the name, account and transfer amount of the account transfer person is mainly involved. Reading transfer transaction elements: and reading information such as the amount of the transfer transaction from the configuration file. Performing online bank transfer transaction: according to the preset transaction logic, the information such as the amount of the transfer transaction is read from the configuration file, the corresponding element data is input by setting the text content of the transaction element, and the online banking transaction is completed by matching with the subsequent logic operation (such as mouse click and pop-up window closing).
As can be seen from the above description, the RPA robot provided in the embodiment of the present application can effectively improve the accuracy and reliability of each RPA robot automatically logging in a target internet bank and simulating a transaction operation of a real user in a transaction page of the target internet bank based on a configuration file corresponding to the transaction configuration scheme, through setting of a correspondence between a configuration file for storing a transaction amount, internet banking login data of a transaction sender, transaction identification data of a transaction receiver, and transaction times, and by pre-generating and storing the configuration files to the RPA robots, the number of times of transactions of each RPA robot is respectively designated based on the respective stored configuration files can be further improved, and the efficiency and the convenience of real person transaction simulation operation of the target online bank are realized, so that the authenticity and the validity of an online bank transaction pressure automatic test result can be further improved.
In order to further explain the scheme, the application also provides a specific application example of the automatic testing method for the online banking transaction pressure, taking the online banking transfer transaction as an example, in the online banking transfer transaction pressure testing process, an RPA robot is used for replacing a tester to perform large-scale and simulated user manual operation, the behavior of large-scale users for using the online banking to perform transfer transaction is comprehensively and truly simulated, and the pressure testing is closer to the actual production running condition while the labor cost is saved.
Referring to fig. 9, the system for automatically testing transaction pressure of internet banking for implementing the method for automatically testing transaction pressure of internet banking provided in the present application example includes: the RPA robot, the RPA system and the online banking system are sequentially in communication connection, so that the RPA robot can access the online banking system through the RPA system. The main components include: the system comprises components such as setting of configuration files, configuration of an RPA robot, login of an online bank, capturing of transfer transaction elements, reading of the transfer transaction elements, performing online bank transfer transactions, judging the running state of an online bank system, configuration adjustment of the RPA robot and the like.
Referring to fig. 10, the method for automatically testing the transaction pressure of the internet banking provided in the application example specifically includes the following contents:
(1) the configuration file mainly contains various information related to the online banking transfer transaction, such as a payee name, a payee account number, a transfer amount, a user name, a password and the like.
(2) The configuration of the RPA robot mainly comprises the scale of the RPA robot for performing the stress test and the number of times of performing the transfer transaction. The RPA system distributes the RPA script to each RPA robot, and the RPA robot executes the script. In the RPA system, an RPA robot ip that executes a script can be configured. The execution scale of the RPA robot is realized by adjusting the number of ip. And controlling the transaction times of each time by modifying the circulation times of the online transfer transaction in the script.
(3) Logging in the Internet bank: and reading the user name and the password from the configuration file to log in the online bank.
(4) Capturing transfer transaction elements: and (4) capturing transfer transaction elements on the webpage of the online banking system according to preset transaction logic. In the RPA technique, related elements are mainly fetched from a page by using an element ID or a page tag on the web page as an index, see fig. 11. And subsequent configuration related actions, such as clicking elements, setting element texts and the like, realize various operations on the elements and realize simulation of actual operations of the user. In the application example, the grabbing of the elements such as the name of a transfer person, an account, the transfer amount and the like is mainly involved.
(5) Reading transfer transaction elements: and reading information such as the amount of the transfer transaction from the configuration file.
(6) Performing online bank transfer transaction: according to the preset transaction logic, the information such as the amount of the transfer transaction is read from the configuration file, the corresponding element data is input by setting the text content of the transaction element, and the online banking transaction is completed by matching with the subsequent logic operation (such as mouse click and pop-up window closing, see fig. 12).
(7) Judging the running state of the online banking system: and determining whether the scale and the transaction times of the current RPA robot can cause the online banking system to be incapable of operating normally.
(8) Configuration adjustment of the RPA robot: and adjusting the scale and the transaction times of the RPA robot according to the running state of the online banking system, and circularly performing pressure test until the limit value of the normal running of the online banking system is reached.
Referring to fig. 13, the execution flow of the RPA robot is as follows:
setting a configuration file by a tester: the account transfer method comprises the steps of login name, password, account number of the transfer user and transfer amount. And after the configuration is completed, triggering the process robot. The process that an RPA process robot sends a pressure transfer to a test environment online bank is as follows:
(1) and (3) verifying the configuration file: if the configuration file does not exist, the entire flow is interrupted.
(2) Logging in the Internet bank: and installing preset logic, reading a login name and a password from the configuration file, and logging in the online bank.
(3) Capture of transaction elements: and capturing relevant elements of the transfer transaction, such as transfer remittance elements, receiving name elements, receiving card numbers and the like, in the online banking system according to preset transaction logic.
(4) Reading element information from the configuration file: and reading information such as transaction amount, payee name, payee number and the like.
(5) Performing online bank transfer transaction: inputting the related information of transfer transaction (transaction amount, payee name, payee number and the like)
(6) And finishing an online bank transfer transaction.
And the tester configures the number of pressure test RPA process robots according to the total daily transfer transaction amount of the production environment, and performs a sending and pressing test on the online bank transfer function of the test environment according to the transaction frequency of the production environment at the peak transfer transaction period. In the process, relevant information of the online banking system server is recorded, such as whether the memory, the CPU utilization rate and the like are below a threshold value, whether each transfer transaction is successfully operated and the like. If the program fails or exceeds various threshold index values, corresponding developers and system operation and maintenance personnel carry out subsequent analysis to determine whether the program robustness problem or the system resource limit such as network bandwidth is caused; if all indexes are normal and the transfer transaction is normal, the system transformation result of the related modules of the online bank can arrange the follow-up production on line through the pressure test.
In summary, the application provides an automatic testing method for online banking transaction pressure, and the online banking transfer transaction pressure test by using the RPA robot has the following two advantages:
1. the accuracy of the test result is as follows: in the traditional pressure test, various transaction background responses are simulated on an online banking system server mainly by recording or compiling a pressure test script. And continuously adjusting parameters to perform pressure test. The process of user logging in foreground, transaction operation and corresponding execution in the background can not be simulated really. The invention simulates the actual operation of the user through the RPA robot and finishes the transfer transaction by logging in the online banking system. Compared with the traditional method for initiating the pressure test from the system background, the method and the device completely and truly simulate the use condition of the online banking system, and the actual transaction scene of production is restored by 100%.
2. The cost reduction and the efficiency improvement are as follows: meanwhile, the RPA robot is used for replacing a tester to perform large-scale pressure test, so that the quality improvement and the efficiency increase are remarkable in the aspect of online banking system transfer transaction pressure test. The pressure measurement execution process is completely replaced by the robot, so that the labor cost is greatly reduced, and the manpower can be saved by 50 people all the year round.
In terms of hardware, in order to simultaneously satisfy the timeliness requirement and the accuracy requirement of the transaction pressure test, the application provides an embodiment of an electronic device for implementing all or part of the contents in the first online banking transaction pressure automatic test method or the second online banking transaction pressure automatic test method, where the electronic device specifically includes the following contents:
fig. 14 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 14, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this FIG. 14 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one embodiment, the automatic pressure testing function of the online banking transaction can be integrated into a central processor. Wherein the central processor may be configured to control:
step 110: and triggering each RPA robot corresponding to the current transaction configuration scheme, so that each triggered RPA robot automatically logs in a target online bank based on a configuration file corresponding to the transaction configuration scheme and simulates the transaction operation of a real user in a transaction page of the target online bank.
Step 120: and if the current system running state of the target online bank meets the preset state requirement, determining that the online bank passes the transaction pressure test under the current transaction configuration scheme.
Alternatively, the central processor may be configured to control as follows:
step 210: and if the self is detected to be triggered by the automatic testing device, automatically logging in a target online bank according to a configuration file corresponding to the current transaction configuration scheme and simulating the transaction operation of a real user in a transaction page of the target online bank.
Step 220: and sending operation starting information aiming at the current transaction configuration scheme to the automatic testing device so that the automatic testing device determines that the online bank passes the transaction pressure test under the current transaction configuration scheme when or after determining that the current system running state of the target online bank meets the preset state requirement.
As can be seen from the above description, the electronic device provided in the embodiment of the present application, by applying the RPA robot to the automatic testing process of the transaction pressure of the internet banking, can effectively improve the efficiency of the testing process of the system transaction pressure of the internet banking, and effectively save the labor cost and the time cost; meanwhile, according to the application of the RPA robot, on the basis of improving the timeliness of a system transaction pressure test process for the online bank, the operation of a real user in a transaction page of the online bank can be effectively simulated, and the authenticity and the validity of an online bank transaction pressure automatic test result can be effectively improved; whether the online bank passes the transaction pressure test under the current transaction configuration scheme is determined through the comparison result between the current system operation state and the state requirement of the target online bank, the accuracy of the online bank transaction pressure test result can be further improved, the efficiency and the accuracy of system adjustment or online of the online bank according to the transaction pressure test result can be effectively improved, the operation reliability and the stability of the online bank determined and debugged after the automatic test based on the transaction pressure can be effectively improved, and the user experience of a tester and a user who uses the online bank after the online bank is online can be effectively improved.
In another embodiment, the automatic testing device may be configured separately from the central processor 9100, for example, the automatic testing device may be configured as a chip connected to the central processor 9100, and the automatic testing function of online banking transaction pressure is realized through the control of the central processor.
As shown in fig. 14, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 14; further, the electronic device 9600 may further include components not shown in fig. 14, which can be referred to in the related art.
As shown in fig. 14, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., Read Only Memory (ROM), Random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
An embodiment of the present application further provides a computer-readable storage medium capable of implementing all the steps in the first online banking transaction pressure automatic testing method or the second online banking transaction pressure automatic testing method in the foregoing embodiment, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the computer program implements all the steps in the first online banking transaction pressure automatic testing method or the second online banking transaction pressure automatic testing method, where an execution subject of the computer program is a server or a client, for example, when the processor executes the computer program, the processor implements the following steps:
step 110: and triggering each RPA robot corresponding to the current transaction configuration scheme, so that each triggered RPA robot automatically logs in a target online bank based on a configuration file corresponding to the transaction configuration scheme and simulates the transaction operation of a real user in a transaction page of the target online bank.
Step 120: and if the current system running state of the target online bank meets the preset state requirement, determining that the online bank passes the transaction pressure test under the current transaction configuration scheme.
Alternatively, the processor implements the following steps when executing the computer program:
step 210: and if the self is detected to be triggered by the automatic testing device, automatically logging in a target online bank according to a configuration file corresponding to the current transaction configuration scheme and simulating the transaction operation of a real user in a transaction page of the target online bank.
Step 220: and sending operation starting information aiming at the current transaction configuration scheme to the automatic testing device so that the automatic testing device determines that the online bank passes the transaction pressure test under the current transaction configuration scheme when or after determining that the current system running state of the target online bank meets the preset state requirement.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present application, by applying the RPA robot to the automatic testing process of the transaction pressure of the internet banking, can effectively improve the efficiency of the testing process of the transaction pressure of the system for the internet banking, and effectively save the labor cost and the time cost; meanwhile, according to the application of the RPA robot, on the basis of improving the timeliness of a system transaction pressure test process for the online bank, the operation of a real user in a transaction page of the online bank can be effectively simulated, and the authenticity and the validity of an online bank transaction pressure automatic test result can be effectively improved; whether the online bank passes the transaction pressure test under the current transaction configuration scheme is determined through the comparison result between the current system operation state and the state requirement of the target online bank, the accuracy of the online bank transaction pressure test result can be further improved, the efficiency and the accuracy of system adjustment or online of the online bank according to the transaction pressure test result can be effectively improved, the operation reliability and the stability of the online bank determined and debugged after the automatic test based on the transaction pressure can be effectively improved, and the user experience of a tester and a user who uses the online bank after the online bank is online can be effectively improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein. The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (11)

1. An automatic testing method for transaction pressure of online banking is characterized by comprising the following steps:
triggering each RPA robot corresponding to the current transaction configuration scheme so that each triggered RPA robot can automatically log in a target online bank based on a configuration file corresponding to the transaction configuration scheme and simulate the transaction operation of a real user in a transaction page of the target online bank;
and if the current system running state of the target online bank meets the preset state requirement, determining that the online bank passes the transaction pressure test under the current transaction configuration scheme.
2. The method for automatically testing transaction pressure of internet banking according to claim 1, wherein after the determining that the internet banking passes the transaction pressure test under the current transaction configuration scheme, the method further comprises:
and judging whether the test frequency of the target online bank reaches a preset test frequency limit value, if not, replacing a transaction configuration scheme and automatically testing the transaction pressure of the target online bank again based on the replaced transaction configuration scheme, wherein the transaction configuration scheme comprises the number of RPA robots to be triggered and the transaction frequency.
3. The automatic testing method for the pressure of the online banking transaction according to claim 1, further comprising:
and if the current system operation state of the target online bank does not meet the state requirement, outputting a corresponding transaction pressure test result to determine the reason for the failure of the system transaction pressure test of the target online bank based on the transaction pressure test result.
4. The automatic testing method for the transaction pressure of the online bank according to any one of claims 1 to 3, wherein the configuration file is used for storing the corresponding relationship among the amount of the transaction, the online bank login data of the transaction sender, the transaction identification data of the transaction receiver and the transaction times;
correspondingly, the triggering each RPA robot corresponding to the current transaction configuration scheme so that each triggered RPA robot automatically logs in a target internet bank based on a configuration file corresponding to the transaction configuration scheme and simulates the transaction operation of a real user in a transaction page of the target internet bank respectively includes:
respectively sending configuration files corresponding to the current transaction configuration scheme to each RPA robot for storage;
triggering each RPA robot corresponding to the current transaction configuration scheme so that each RPA robot carries out real person transaction simulation operation on the target online bank based on the transaction times specified in the respective stored configuration file;
wherein the human transaction simulation operation comprises: and automatically logging in a target online bank according to the online bank login data of the transaction sender, capturing transaction elements in a transaction page of the target online bank, and simulating a real user to fill in the corresponding transaction elements based on the amount of the transaction and the transaction identification data of the transaction receiver so as to complete the current transaction.
5. The automatic testing method for online banking transaction pressure according to any one of claims 1 to 3, wherein the status requirement comprises: the system utilization rate of the target online bank is greater than a utilization rate threshold value, and the transaction success rate of the current transaction configuration scheme corresponding to the target online bank is equal to or higher than a success rate threshold value.
6. An automatic testing method for transaction pressure of online banking is characterized by comprising the following steps:
if the self is detected to be triggered by the automatic testing device, automatically logging in a target online bank according to a configuration file corresponding to the current transaction configuration scheme and simulating the transaction operation of a real user in a transaction page of the target online bank;
and sending operation starting information aiming at the current transaction configuration scheme to the automatic testing device so that the automatic testing device determines that the online bank passes the transaction pressure test under the current transaction configuration scheme when or after determining that the current system running state of the target online bank meets the preset state requirement.
7. The automatic testing method for online banking transaction pressure according to claim 6, wherein the configuration file is used for storing the corresponding relationship among the amount of transaction, online banking login data of a transaction sender, transaction identification data of a transaction receiver and transaction times;
correspondingly, the automatically logging in the target internet bank according to the configuration file corresponding to the current transaction configuration scheme and simulating the transaction operation of the real user in the transaction page of the target internet bank comprises the following steps:
receiving and storing a configuration file corresponding to the current transaction configuration scheme sent by the automatic testing device;
if the self is detected to be triggered by the automatic testing device, carrying out real person transaction simulation operation on the target online bank based on the transaction times specified in the configuration file stored by the self;
wherein the human transaction simulation operation comprises: and automatically logging in a target online bank according to the online bank login data of the transaction sender, capturing transaction elements in a transaction page of the target online bank, and simulating a real user to fill in the corresponding transaction elements based on the amount of the transaction and the transaction identification data of the transaction receiver so as to complete the current transaction.
8. An automatic test apparatus, comprising:
the system comprises an RPA triggering module, a transaction processing module and a transaction processing module, wherein the RPA triggering module is used for triggering each RPA robot corresponding to a current transaction configuration scheme so as to enable each triggered RPA robot to automatically log in a target online bank based on a configuration file corresponding to the transaction configuration scheme and simulate the transaction operation of a real user in a transaction page of the target online bank;
and the system detection module is used for determining that the online bank passes the transaction pressure test under the current transaction configuration scheme if the current system operation state of the target online bank meets the preset state requirement.
9. An RPA robot, comprising:
the automatic testing module is used for automatically logging in a target online bank according to a configuration file corresponding to the current transaction configuration scheme and simulating the transaction operation of a real user in a transaction page of the target online bank if the automatic testing module detects that the automatic testing module is triggered by the automatic testing device;
and the information sending module is used for sending operation starting information aiming at the current transaction configuration scheme to the automatic testing device so as to ensure that the automatic testing device determines that the online bank passes the transaction pressure test under the current transaction configuration scheme when or after determining that the current system running state of the target online bank meets the preset state requirement.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor implements the method for automatically testing internet banking transaction pressure according to any one of claims 1 to 5 when executing the computer program, or implements the method for automatically testing internet banking transaction pressure according to claim 6 or 7 when executing the computer program.
11. A computer-readable storage medium on which a computer program is stored, wherein the computer program, when executed by a processor, implements the automatic testing method for internet banking transaction pressure according to any one of claims 1 to 5, or the computer program, when executed by a processor, implements the automatic testing method for internet banking transaction pressure according to claim 6 or 7.
CN202110271634.0A 2021-03-12 2021-03-12 Automatic online banking transaction pressure testing method and device and RPA robot Active CN112817875B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110271634.0A CN112817875B (en) 2021-03-12 2021-03-12 Automatic online banking transaction pressure testing method and device and RPA robot

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110271634.0A CN112817875B (en) 2021-03-12 2021-03-12 Automatic online banking transaction pressure testing method and device and RPA robot

Publications (2)

Publication Number Publication Date
CN112817875A true CN112817875A (en) 2021-05-18
CN112817875B CN112817875B (en) 2024-02-13

Family

ID=75863233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110271634.0A Active CN112817875B (en) 2021-03-12 2021-03-12 Automatic online banking transaction pressure testing method and device and RPA robot

Country Status (1)

Country Link
CN (1) CN112817875B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607997A (en) * 2015-11-26 2016-05-25 珠海多玩信息技术有限公司 Background service test method, apparatus and system for software product
CN110069375A (en) * 2019-05-07 2019-07-30 北京天际启游科技有限公司 A kind of method and relevant apparatus of pressure test
CN111143223A (en) * 2019-12-30 2020-05-12 珠海金山网络游戏科技有限公司 Server pressure testing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607997A (en) * 2015-11-26 2016-05-25 珠海多玩信息技术有限公司 Background service test method, apparatus and system for software product
CN110069375A (en) * 2019-05-07 2019-07-30 北京天际启游科技有限公司 A kind of method and relevant apparatus of pressure test
CN111143223A (en) * 2019-12-30 2020-05-12 珠海金山网络游戏科技有限公司 Server pressure testing method and device

Also Published As

Publication number Publication date
CN112817875B (en) 2024-02-13

Similar Documents

Publication Publication Date Title
CN111861569A (en) Product information recommendation method and device
CN110908875B (en) Inspection method and device based on operation terminal
CN112615753B (en) Link abnormity tracking method, first node, second node and link
CN112463467B (en) Automated integrated test system and method thereof
CN105302925A (en) Method and device for pushing voice search data
CN111949522A (en) User interface automatic testing method and device
CN113435989A (en) Financial data processing method and device
CN114157701A (en) Task testing method, device, equipment and storage medium
CN112394932A (en) Automatic browser webpage skin changing method and device
CN113485952A (en) Data batch transmission method and device
CN112799944A (en) System performance testing method and system
CN113051094A (en) Supervision data submission testing method and device
CN112711640A (en) Method and device for configuring business handling process
CN111767558A (en) Data access monitoring method, device and system
CN112817875B (en) Automatic online banking transaction pressure testing method and device and RPA robot
CN115801279A (en) File secure transmission method and device
CN113206998B (en) Method and device for quality inspection of video data recorded by service
CN114285657A (en) Firewall security policy change verification method and device
CN113127370A (en) Report system smoking test method, RPA robot and system
CN113791984A (en) Automatic interface testing method and device
CN113535688A (en) Database change risk assessment method and device
CN113505179A (en) Access path synchronization method and device
CN113377385A (en) Client automatic deployment method and device
CN112766827A (en) Automatic processing method and device for asset inventory data
US20230051457A1 (en) Intelligent validation of network-based services via a learning proxy

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant