CN115499355A - Pressure testing method, device, equipment and medium - Google Patents

Pressure testing method, device, equipment and medium Download PDF

Info

Publication number
CN115499355A
CN115499355A CN202211209759.1A CN202211209759A CN115499355A CN 115499355 A CN115499355 A CN 115499355A CN 202211209759 A CN202211209759 A CN 202211209759A CN 115499355 A CN115499355 A CN 115499355A
Authority
CN
China
Prior art keywords
message
test
application server
transaction
test message
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
CN202211209759.1A
Other languages
Chinese (zh)
Other versions
CN115499355B (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.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202211209759.1A priority Critical patent/CN115499355B/en
Publication of CN115499355A publication Critical patent/CN115499355A/en
Application granted granted Critical
Publication of CN115499355B publication Critical patent/CN115499355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application relates to the field of software testing, in particular to a pressure testing method, a device, equipment and a medium, which are used for providing a reasonable pressure testing method and flexibly carrying out pressure testing on a card exchange system. The method comprises the following steps: the pressure testing tool sends at least one test message to an application server of the card switching system; the application server runs at least one test message to obtain at least one response message; the application server sends at least one first response message to the pressure measurement tool; and the pressure testing tool determines the pressure testing result of the card exchange system according to the at least one first response message.

Description

Pressure testing method, device, equipment and medium
Technical Field
The application relates to the field of software testing, in particular to a pressure testing method, device, equipment and medium.
Background
Different commercial bank card exchange systems need to access a uniform bank card information exchange system to process cross-bank transaction business and local transaction business. The bank card information exchange system is used for providing support for inter-bank transaction of the card exchange system and carrying out joint voltage regulation and measurement on the card exchange system. When the version of the card exchange system is updated, the bank needs to perform performance pressure test, acquire the processing time of the newly added or changed transaction, configure corresponding processing equipment and ensure the stability of the operation of the card exchange system. However, the small commercial bank usually only carries out the pressure test of the card exchange system aiming at the changed transaction, and can not reasonably reflect the performance condition of the card exchange system in the daily transaction; in the pressure measurement mode, joint pressure measurement of a bank card information exchange system is relied on, as shown in fig. 1.
Therefore, the pressure measurement mode of the card exchange system in the prior art is single and has poor flexibility.
Disclosure of Invention
The embodiment of the application provides a pressure testing method, a pressure testing device, pressure testing equipment and a pressure testing medium, and is used for providing a more reasonable pressure testing method and flexibly carrying out pressure testing on a card exchange system.
In a first aspect, a pressure testing method is provided, which is applied to an application server of a card switching system, and includes: receiving at least one test message from a pressure testing tool; wherein each test message in the at least one test message is used for testing a function of the card switching system; each test message in the at least one test message carries a transaction message; running the at least one test message to obtain at least one response message; the at least one response message corresponds to the at least one test message one to one, and each response message in the at least one response message is used for indicating a function test result of the corresponding test message; and sending the at least one response message to the pressure measurement tool.
In the scheme, an application server of the card switching system receives at least one test message from a pressure testing tool, runs the at least one test message to obtain at least one response message, and sends the at least one response message to the pressure testing tool, so that the pressure testing tool can obtain a test result. On one hand, the pressure test is carried out by sending the test message through the pressure test tool, and the transaction type of the test can be controlled only by controlling the type of the test message, so that the pressure test can be carried out on any transaction according to the requirement, and the test object is more flexible; on the other hand, the pressure measurement tool is used for interacting with the card exchange system, the joint pressure measurement of the bank card information exchange system is not needed, and the test mode is more flexible. Therefore, the flexibility of the pressure test of the card switching system can be improved, and the actual requirements can be better met.
Optionally, before the receiving at least one test packet from the pressure measurement tool, the method further includes: acquiring at least one transaction message; the transaction information comprises transaction types, and the transaction types comprise own transactions and/or own transactions; and sending the at least one transaction message to a pressure measurement tool, wherein the at least one transaction message is used for determining the at least one test message.
By the method, at least one transaction message is acquired from the real transaction message and sent to the pressure measurement tool, so that the generated test message is more reasonable, and the reliability of pressure measurement is improved.
Optionally, before the running of the at least one test packet, the method further includes: and modifying the IP address and the port of the network protocol for remotely accessing other systems on the application server into the IP address and the port of the pile module, wherein the pile module is used for replacing the other systems to interact with the card exchange system.
By the method, the IP addresses and ports of the network protocols remotely accessing other systems on the application server are modified into the IP addresses and ports of the pile modules, so that the interaction time of the application server and other systems is shortened, and the pressure measurement efficiency is improved.
In a second aspect, a pressure testing method is provided, which is applied to a pressure testing tool, and includes: sending at least one test message to an application server of the card switching system; each test message in the at least one test message is used for testing one function of the card switching system; each test message in the at least one test message carries a transaction message; the at least one test message comprises at least one first test message; receiving at least one first response message from the application server; the at least one first response message corresponds to the at least one first test message one to one, and each response message in the at least one first response message is used for indicating a function test result of the corresponding test message; and determining a pressure test result of the card switching system according to the at least one first response message.
In the scheme, the pressure testing tool sends at least one test message to an application server of the card switching system, receives at least one first response message from the application server, and determines a pressure testing result of the card switching system according to the at least one first response message. On one hand, the pressure test is carried out by sending the test message through the pressure test tool, and the transaction type of the test can be controlled only by controlling the type of the test message, so that the pressure test can be carried out on any transaction according to the requirement, and the test object is more flexible; on the other hand, the pressure measurement tool is used for interacting with the card exchange system, the joint pressure measurement of the bank card information exchange system is not needed, and the test mode is more flexible. Therefore, the scheme can improve the flexibility of the pressure test of the card switching system and can better meet the actual requirement.
Optionally, before sending at least one test packet to the application server of the card switching system, the method further includes: receiving at least one transaction message from the application server; the transaction information comprises transaction types, and the transaction types comprise own transactions and/or own transactions; and obtaining the at least one test message according to the pressure test script corresponding to the transaction type in the at least one transaction message.
By the method, at least one transaction message from the application server is received, the at least one test message is obtained according to the pressure test script corresponding to the transaction type in the at least one transaction message, and the at least one transaction message is from real transaction, so that the obtained at least one test message is more reasonable and real, and the reliability of pressure test is improved.
Optionally, the transaction type is a current generation transaction; the obtaining of the at least one test message according to the stress test script corresponding to the transaction type in the at least one transaction message includes: encrypting and storing preprocessed Extensible Markup Language (XML) messages and/or preprocessed Object brief (JSON) messages in the pressure test script to obtain at least one test message corresponding to the other transaction.
By the method, the test message can be independently generated for the transaction of the current generation aiming at the transaction type, so that the transaction of the current generation can be tested.
Optionally, the transaction type is his own-agent transaction; the obtaining of the at least one test message according to the stress test script corresponding to the transaction type in the at least one transaction message includes: formatting a buffer message preprocessed in the pressure test script to obtain at least one test message corresponding to the other-generation transaction, wherein the at least one test message is a 8583 message.
By the method, the test message can be independently generated for the transaction of the other generation aiming at the transaction type, so that the transaction of the other generation is tested.
Optionally, the determining, according to the at least one first response message, a pressure test result of the card exchange system includes: if the functional test result indicated by any response message in the at least one first response message is failure, determining that the pressure test result of the card switching system is failed; if the function test results indicated by all the response messages in the at least one first response message are successful, determining a pressure test result of the card exchange system according to first state information, where the first state information is used to indicate a change condition of a Memory Device (MEM) of an application server of the card exchange system and/or a usage amount of the MEM of a database server in a process of executing at least one second test message by the application server, and the at least one test message includes the at least one second test message.
By the method, as long as the function test result indicated by any response message is failed, the pressure test result of the card exchange system is determined to be failed, and when the function test results indicated by all the response messages are successful, the pressure test result of the card exchange system is further judged according to the using amount of MEM of an application server and/or MEM of a database server of the card exchange system, so that the pressure test judgment is rigorous, and the pressure test result is reasonable.
Optionally, the determining a pressure test result of the card exchange system according to the first state information includes: if the usage amount of the MEM of the application server and/or the MEM of the database server of the card exchange system tends to be stable over time in the process that the application server executes the at least one second test message, the pressure test result of the card exchange system is successful; otherwise, the pressure test result of the card exchange system is failure.
By the method, when the function test results indicated by the response message are successful and the MEM of the application server and/or the MEM of the database server are stable, the pressure test result of the card exchange system is successful, and the reliability of the pressure test result is high.
Optionally, before determining the pressure test result of the card exchange system according to the first status information, the method further includes: sending the at least one second test message to the application server when the card switching system is in a preset state; first status information is received from a monitoring device.
By the method, the at least one second test message is sent to the application server when the card exchange system is in the preset state, and the performance of the MEM of the application server and/or the MEM of the database server is tested, so that the performance test result (i.e. the first state information) of the MEM of the application server and/or the MEM of the database server is obtained when the card exchange system is in the preset state (such as the optimal processing capability of the card exchange system), and the reliability is high.
Optionally, the preset state includes one or more of the following: the usage amount of the CPU of the application server and/or the CPU of the database server is within a first preset range; the response time of the application server is within a second preset range; transaction Per Second (TPS) of the application server is within a third predetermined range.
Of course, the above are merely examples, and other implementations are possible.
Optionally, before sending the at least one second test packet to the application server, the method further includes: sending at least one third test message to an application server of the card switching system according to a rule that the number of messages increases with time, wherein the at least one test message comprises the at least one third test message; receiving at least one second response message from the application service, and determining that the response time of the application server is within a second preset range and/or the TPS of the application server is within a third preset range according to the sending time of the at least one third test message and the receiving time of the at least one second response message, wherein the at least one third test message and the at least one second response message are in one-to-one correspondence; and/or receiving second state information from monitoring equipment, wherein the second state information is used for indicating the use amount of the CPU of the application server and/or the CPU of the database server, and determining that the use amount of the CPU of the application server and/or the CPU of the database server is within a first preset range according to the second state information.
By the method, the card exchange system is determined to be in the preset state through the response time of the application server, the TPS of the application server, the CPU of the application server and/or the usage amount of the CPU of the database server, and the completeness of the scheme is ensured.
In a third aspect, a pressure testing method is provided, which is applied to a monitoring device, and includes: monitoring usage amount of MEM of an application server and/or MEM of a database server of a card switching system during execution of at least one second test message by the application server of the card switching system; and sending first state information to a pressure measurement tool, wherein the first state information is used for indicating the change situation of the usage amount of MEM of an application server and/or MEM of a database server of the card exchange system in the process of executing at least one second test message by the application server.
In the scheme, the usage amount of the memory MEM of the card exchange system is monitored, and the first state information is sent to the pressure measurement tool, so that the pressure measurement tool can judge the pressure measurement result by referring to the change condition of the usage amount of the MEM, and the reliability of the pressure measurement process can be improved.
Optionally, the method further includes: monitoring the usage amount of a Central Processing Unit (CPU) of the application server of the card switching system and/or a CPU of a database server in the process of executing at least one third test message by the application server of the card switching system; and sending second state information to the pressure measurement tool, wherein the second state information is used for indicating the use amount of the CPU of the application server and/or the CPU of the database server.
By the mode, the usage amount of the Central Processing Unit (CPU) of the application server and/or the CPU of the database server of the monitoring card exchange system sends the second state information to the pressure measurement tool, so that the pressure measurement tool can judge the pressure measurement result by referring to the usage amount of the CPU of the application server and/or the CPU of the database server, and the reliability of the pressure measurement process can be further improved.
In a fourth aspect, a pressure testing system is provided, comprising:
an application server for performing the method of any of the first aspect or the first aspect;
a pressure measurement tool for performing the method of any one of the second aspect or the second aspect.
Optionally, the system further includes: a monitoring device for performing the method of any one of the third or fourth aspects.
In a fifth aspect, embodiments of the present application provide a pressure testing apparatus, which includes means/units/technical means for performing the method of the first aspect or any one of the optional embodiments of the first aspect.
Illustratively, the apparatus may include:
the first transceiver module is used for receiving at least one test message from the pressure testing tool; wherein each test message in the at least one test message is used for testing one function of the card switching system; each test message in the at least one test message carries transaction information; sending the at least one response message to the pressure measurement tool;
the first processing module is used for operating the at least one test message to obtain at least one response message; the at least one response message corresponds to the at least one test message one to one, and each response message in the at least one response message is used for indicating a function test result of the corresponding test message.
Optionally, the first transceiver module is configured to: acquiring at least one transaction message; the transaction information comprises transaction types, and the transaction types comprise own transactions and/or other own-generation transactions; and sending the at least one transaction message to a pressure measurement tool, wherein the at least one transaction message is used for determining the at least one test message.
Optionally, the first processing module is further configured to: and modifying the IP address and the port of the network protocol for remotely accessing other systems on the application server into the IP address and the port of the pile module, wherein the pile module is used for replacing the other systems to interact with the card exchange system.
In a sixth aspect, embodiments of the present application provide a pressure testing apparatus, which includes means/units/technical means for performing the method of the second aspect or any one of the alternative embodiments of the second aspect.
Illustratively, the apparatus may include:
the second transceiver module is used for sending at least one test message to an application server of the card switching system; each test message in the at least one test message is used for testing one function of the card switching system; each test message in the at least one test message carries transaction information; the at least one test message comprises at least one first test message; receiving at least one first response message from the application server; the at least one first response message corresponds to the at least one first test message one to one, and each response message in the at least one first response message is used for indicating a function test result of the corresponding test message;
and the second processing module is used for determining a pressure test result of the card exchange system according to the at least one first response message.
Optionally, the second transceiver module is further configured to: receiving at least one transaction message from the application server; the transaction information comprises transaction types, and the transaction types comprise own transactions and/or own transactions; the second processing module is further configured to obtain the at least one test packet according to the pressure test script corresponding to the transaction type in the at least one transaction message.
Optionally, the transaction type is a current generation transaction; the second processing module is used for: and encrypting and storing the preprocessed extensible markup language XML message and/or the preprocessed object numbered notation JSON message in the pressure test script to obtain at least one test message corresponding to the transaction of the current generation.
Optionally, the transaction type is his own-generation transaction; the second processing module is used for: formatting the buffer message preprocessed in the pressure test script to obtain at least one test message corresponding to the other-generation transaction, wherein the at least one test message is 8583 message.
Optionally, the second processing module is configured to: if the functional test result indicated by any response message in the at least one first response message is failure, determining that the pressure test result of the card switching system is failed; if the functional test results indicated by all the response messages in the at least one first response message are successful, determining a pressure test result of the card switching system according to first state information, where the first state information is used to indicate a change condition of a usage amount of a memory MEM in a process of executing at least one second test message by the application server, and the at least one test message includes the at least one second test message.
Optionally, the second processing module is configured to: if the usage amount of the MEM tends to be stable along with the time in the process that the application server executes the at least one second test message, the pressure test result of the card exchange system is successful; otherwise, the pressure test result of the card exchange system is failure.
Optionally, the second transceiver module is configured to: when the card switching system is in a preset state, the at least one second test message is sent to the application server; and receiving first state information from a monitoring device, wherein the first state information is used for indicating the change situation of the usage amount of the MEM in the process of executing the at least one second test message by the application server.
Optionally, the preset state includes one or more of the following: the usage amount of the CPU of the application server and/or the CPU of the database server is within a first preset range; the response time of the application server is within a second preset range; the TPS of the application server is within a third preset range.
Optionally, the second transceiver module is configured to: sending at least one third test message to an application server of the card switching system according to the rule that the number of messages increases with time, wherein the at least one third test message comprises the at least one third test message;
optionally, the second transceiver module is configured to: receiving at least one second response packet from the application service, wherein the second processing module is configured to: determining that the response time of the application server is within a second preset range and/or the TPS of the application server is within a third preset range according to the sending time of the at least one third test message and the receiving time of the at least one second response message, wherein the at least one third test message corresponds to the at least one second response message one to one; and/or the second transceiver module is used for: receiving second state information from the monitoring device, wherein the second state information is used for indicating the usage amount of the CPU of the application server and/or the CPU of the database server, and the second processing module is used for: and determining that the usage amount of the CPU of the application server and/or the CPU of the database server is within a first preset range according to the second state information.
In a seventh aspect, an embodiment of the present application provides a pressure testing apparatus, which includes means for performing the method in the third aspect or any one of the optional embodiments of the third aspect.
Illustratively, the apparatus may include:
a third processing module, configured to monitor usage of the MEM of the application server of the card switching system and/or the MEM of the database server in a process in which the application server of the card switching system executes at least one second test packet;
and the third transceiver module is used for sending first state information to the pressure measurement tool, wherein the first state information is used for indicating the change situation of the usage amount of MEM of an application server and/or MEM of a database server of the card exchange system in the process that the application server executes at least one second test message.
Optionally, the third processing module is configured to: and monitoring the usage amount of a Central Processing Unit (CPU) of the application server of the card switching system and/or a CPU of a database server in the process of executing at least one third test message by the application server of the card switching system.
Optionally, the third transceiver module is configured to: and sending second state information to the pressure measurement tool, wherein the second state information is used for indicating the use amount of the CPU of the application server and/or the CPU of the database server.
In an eighth aspect, the present application provides an electronic device, comprising: at least one processor; and a memory communicatively coupled to the at least one processor, a communication interface; wherein the memory stores instructions executable by the at least one processor, and the at least one processor, by executing the instructions stored by the memory, causes the apparatus to perform the method of any one of the first aspect or any one of the alternative embodiments of the first aspect, or the second aspect or any one of the alternative embodiments of the second aspect, or the third aspect or any one of the alternative embodiments of the third aspect.
A ninth aspect provides a computer readable storage medium for storing instructions that, when executed, cause a method of any of the above first aspect or any of the optional embodiments of the first aspect or any of the second aspect or any of the optional embodiments of the second aspect or any of the third aspect or any of the optional embodiments of the third aspect to be implemented.
In a tenth aspect, the application provides a computer program product comprising: computer program code for causing a computer to perform the method of any of the above-described first aspect or any of the alternative embodiments of the first aspect or the second aspect or any of the alternative embodiments of the third aspect when said computer program code is run on a computer.
Drawings
FIG. 1 is a schematic diagram of a pressure testing system;
FIG. 2 is a schematic diagram of a pressure testing system according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a pressure testing method according to an embodiment of the present disclosure;
FIG. 4 is a flow chart of another pressure testing method provided by the embodiments of the present application;
fig. 5 is a structural diagram of a pressure testing apparatus according to an embodiment of the present disclosure;
FIG. 6 is a block diagram of another pressure testing apparatus provided in the embodiments of the present application;
FIG. 7 is a block diagram of another pressure testing apparatus provided in the embodiments of the present application;
fig. 8 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions in the embodiments of the present application will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the 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. In the present application, the embodiments and features of the embodiments may be arbitrarily combined with each other without conflict. Also, while a logical order is shown in the flow diagrams, in some cases, the steps shown or described may be performed in an order different than here.
The terms "first" and "second" in the description and claims of the present application and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the term "comprises" and any variations thereof are intended to cover non-exclusive protection. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The "plurality" in the present application may mean at least two, for example, two, three or more, and the embodiments of the present application are not limited.
The term "and/or" in the embodiment of the present application is only one kind of association relationship describing an associated object, and means that three kinds of relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship.
In the technical scheme, the data acquisition, transmission, use and the like all meet the requirements of relevant national laws and regulations.
In order to facilitate understanding of the scheme of the embodiment of the present application, a possible application scenario of the embodiment of the present application is described below.
Referring to fig. 2, a pressure measurement system provided for the embodiment of the present application includes: a card exchange system and a pressure measurement tool.
The card exchange system is used for processing cross-bank transaction services of the bank card, processing functions of message forwarding, flow recording and the like of the bank card payment transaction, and performing functions of flow reconciliation, error adjustment and the like of the cross-bank transaction at the end of a day.
Specifically, the card exchange system includes an application server and a database server, the application server is used for analyzing and processing the message, and the database server is used for storing the message data and the related data analyzed and processed by the application server.
The pressure testing tool is used for receiving and forwarding the transaction message, judging the pressure testing result of the card exchange system and the like.
Optionally, the pressure measurement system may further include a monitoring device for monitoring an operating state of the application server, the database server, and the like. Alternatively, the monitoring device may be disposed outside the system, which is not limited in this application.
Of course, the card system device may also include other devices, and the application is not limited.
Referring to fig. 3, a flowchart of a pressure testing method provided in an embodiment of the present application is shown, where the method is applied to the scenario shown in fig. 2 as an example. The method comprises the following specific steps:
s301: the pressure measurement tool sends at least one test message to an application server of the card switching system.
For convenience of description, the application server of the card exchange system is simply referred to as an application server herein.
It will be appreciated that the pressure measurement tool may need to generate at least one test message before sending the at least one test message.
In one possible implementation, the pressure measurement tool may generate the test message according to actual transaction information.
For example, the application server may obtain at least one transaction message, the transaction message including a transaction type; the application server sends at least one transaction message to the pressure measurement tool; the pressure measurement tool receives at least one transaction message; and the pressure testing tool obtains the at least one test message according to the pressure testing script corresponding to the transaction type in the at least one transaction message.
It can be understood that the application server may select a time period according to actual needs, and send the transaction information of each transaction to the pressure measurement tool according to the proportion of the transaction amount of each transaction in the time period to the total transaction amount, which takes the day of the peak value of the transaction amount as an example in the present application.
In a specific example, three transactions a, B and C are total in a day of a peak transaction amount, wherein the transaction amounts of the transaction a, the transaction B and the transaction C account for thirty percent, thirty percent and forty percent of the total transaction amount, respectively, the application server sends one hundred pieces of transaction information to the pressure measurement tool, and the one hundred pieces of transaction information include thirty pieces of transaction information of the transaction a, thirty pieces of transaction information of the transaction B and forty pieces of transaction information of the transaction C.
It is understood that at least one transaction with a sum of transaction amounts that is a certain percentage of the total transactions may be selected and the transaction information for each transaction in the at least one transaction may be sent to the pressure measurement tool. For example, at least one transaction having a total of ninety percent of the total transactions is selected, a proportion of the transaction amount of each transaction in the at least one transaction to the ninety percent transaction amount is calculated, and transaction information for each transaction is sent to the pressure measurement tool according to the proportion.
In a specific example, in a day of a peak transaction amount, there are three transactions a, B, and C, where the transaction amounts of the transaction a, the transaction B, and the transaction C respectively account for thirty percent, sixty percent, and ten percent of the total transaction amount, where the sum of the transaction amounts of the transaction a and the transaction B accounts for ninety percent of the total transaction amount, and the transaction amounts of the transaction a and the transaction B respectively account for one-third and two-thirds of the ninety percent of the total transaction amount, and the application server sends sixty pieces of transaction information to the pressure measurement tool, and the sixty pieces of transaction information include twenty pieces of transaction information of the transaction a and forty pieces of transaction information of the transaction B.
Therefore, at least one transaction message is acquired from the real transaction information and sent to the pressure measurement tool, so that the generated test message is more reasonable, and the reliability of pressure measurement is improved.
Two transaction types commonly used by a card exchange system in processing the cross-bank transaction of a bank card are described below.
Other transactions, common, include: point of sale (POS) consumption pre-authorization, automatic Teller Machine (ATM) cross-line cash withdrawal, card and account status inquiry, etc.
His generation transactions, common ones include: credit, card-free self-service consumption and two-dimension code scanned consumption.
Correspondingly, when the transaction type is the transaction of the current generation, the pressure measurement tool obtains at least one test message according to the pressure test script corresponding to the transaction type in the at least one transaction message, which may include: encrypting and storing a preprocessed XML message and/or a preprocessed JSON message in a pressure test script corresponding to the other generation transaction to obtain at least one test message corresponding to the other generation transaction, and sending the at least one test message to an application server by a pressure test tool according to a Hyper Text Transfer Protocol (HTTP).
For example, a buffer is allocated to the preprocessed XML message and/or the preprocessed JSON message by dynamic memory allocation and initialization (calloc) function; calling a dynamic link library of a security encryption program (the security encryption program is formed by a security subsystem of a bank core system, and the inside of each commercial bank is provided with signature or encryption processing of a security head of a transmission message); and storing the preprocessed XML message and/or the preprocessed JSON message through a string copying (strcpy) function, calling bank signing encryption processing (the signing or encryption processing of a security head is carried out inside each commercial bank), and finally obtaining at least one test message corresponding to the other transaction.
Correspondingly, when the transaction type is the other-generation transaction, the pressure testing tool obtains at least one test message according to the pressure testing script corresponding to the transaction type in the at least one transaction message, which may include: formatting a buffer message preprocessed in a pressure test script corresponding to other-generation transaction to obtain at least one test message corresponding to the other-generation transaction, wherein the at least one test message is a 8583 message, and the pressure test tool sends the at least one test message to an application server according to a Socket protocol.
Of course, the above two are merely examples, and there may be other dividing bases for transaction types.
Therefore, the test message can be independently generated for the transaction of the generation and/or the generation aiming at the transaction type, and the test of the transaction of the generation and/or the generation is further realized.
S302: the application server runs at least one test message to obtain at least one response message.
The application server receives at least one test message from the pressure testing tool, and the application server runs the at least one test message to obtain at least one response message; the at least one response message corresponds to the at least one test message one by one, and each response message in the at least one response message is used for indicating a function test result of the corresponding test message.
For example, there is a test message, the transaction information carried in the test message includes the transaction of the agent, the application server starts a task after receiving at least one test message from the pressure test tool, sends the task through a related request function, calls a decryption method, decrypts and stores the test message, and obtains a response message.
For example, there is a test message, the transaction information carried in the test message includes the transaction of the other agent, the application server starts the task after receiving at least one test message from the pressure testing tool, and sends the task through the related request function to obtain a response message.
Optionally, before the pressure measurement tool sends the at least one test packet to the application server, the application server may modify the IP address and the port of the remote access other system on the application server into the IP address and the port of the stub module, where the stub module is used to replace the other system to interact with the card exchange system. The application server can modify the IP address and the port after receiving the relevant instruction input by the user.
For the other local transaction, a stub module which responds to the XML message and/or the JSON message through a hypertext Transfer Protocol (HTTP) may be set to simulate an outbound system (such as a customer information system, a bank card balance system, and the like).
For the other-generation transaction, a stub module which responds to the buffer message through a Transmission Control Protocol (TCP) can be set to simulate the bank card information exchange system.
Therefore, the time for interaction between the application server and other systems is reduced, and the pressure measurement efficiency is improved.
S303: the application server sends at least one first response message to the pressure measurement tool.
The pressure measurement tool receives at least one first response message from the application server, wherein the at least one first response message belongs to the at least one response message.
By the method, the application server sends at least one response message to the pressure measurement tool, and the completeness and rationality of the scheme are guaranteed.
S304: and the pressure testing tool determines the pressure testing result of the card exchange system according to the at least one first response message.
Optionally, the function test result indicated by each response packet in the at least one first response packet is determined according to at least one field of each response packet in the at least one first response packet.
In a possible mode, when the transaction type of the test message is the transaction of the current generation, if the first response message corresponding to the test message contains the return status field, the functional test result indicated by the response message is successful, otherwise, the functional test result indicated by the response message is failed.
In a possible manner, when the transaction type of the test message is other-generation transaction, if the field 37 in the first response message corresponding to the test message (field 37 is a fixed field of the message) is the same as the field 37 in the test message, the functional test result indicated by the response message is successful, otherwise, the functional test result indicated by the response message is failure.
And if the functional test result indicated by any response message in the at least one first response message is failure, determining that the pressure test result of the card switching system is failed.
If the functional test results indicated by all the response messages in the at least one first response message are successful, it may be determined that the message execution and response capabilities of the card switching system are normal, and then it is determined that the pressure test result of the card switching system passes, or the pressure test result may be further determined in combination with other test contents.
Referring to fig. 4, a flowchart of another pressure testing method provided in the embodiment of the present application is shown, and the method is applied to the scenario shown in fig. 2 as an example, and steps S301 to S304 in fig. 4 are the same as those in fig. 3 described above. The method comprises the following specific steps:
after the above steps S301 to S304 are performed, the following steps may be further performed.
S401: during the execution of the at least one second test message by the application server of the card exchange system, the monitoring device monitors the usage of the MEM of the application server of the card exchange system and/or of the MEM of the database server.
Specifically, the pressure measurement tool sends at least one second test message to the application server, where the at least one second test message belongs to the at least one test message.
In a possible implementation manner, the pressure measurement tool may send at least one second test packet to the application server in a preset state (e.g., an optimal processing capability) of the card exchange system.
It will be appreciated that in order to obtain the processing capacity of the card switching system during long time payload messages, the pressure measurement tool may continuously send at least one second test message to the application server. For example, the pressure measurement tool may continuously send the at least one second test message to the application server within 12 hours or 24 hours.
It is to be understood that the at least one test message may be the same as the at least one second test message or may be different from the at least one second test message.
Therefore, the performance test result (i.e. the first state information) of the monitored MEM of the application server and/or the MEM of the database server is obtained when the card exchange system is in a preset state (such as an optimal processing capability), and the reliability is high.
Optionally, it may be determined that the card exchange system is in the preset state according to one or more of the following:
1. the usage amount of the CPU of the application server and/or the CPU of the database server is within a first preset range;
2. the response time of the application server is within a second preset range;
3. the TPS of the application server is within a third preset range.
In a specific example, when the usage amount of the CPU of the application server reaches sixty percent and/or the usage amount of the CPU of the database server reaches eighty percent, if the response time of the application server is within a second preset range and the TPS of the application server is within a third preset range, the card switching system is at the optimal processing capability.
In a specific example, if the unused amount of the CPU of the application server reaches sixty percent and the used amount of the CPU of the database server does not reach eighty percent, if the response time of the application server exceeds the second preset range and/or the TPS of the application server exceeds the third preset range, the card switching system is at the optimal processing capability.
It can be understood that the first preset range, the second preset range, and the third preset range may be defined according to actual needs, and the present application is not limited.
Optionally, the pressure testing tool may test whether the card system is in a preset state by sending a test message.
Illustratively, the pressure measurement tool sends at least one third test message to the application server according to a rule that the number of messages increases with time, the pressure measurement tool receives at least one second response message from the application server, and the at least one third test message corresponds to the at least one second response message in a one-to-one manner.
In a specific example, the application server receives 10 third test messages sent by the pressure measurement tool within zero to ten minutes; within ten to twenty minutes, receiving 20 third test messages sent by the pressure testing tool; and receiving 30 third test messages sent by the pressure testing tool within twenty to thirty minutes, and so on.
The pressure measurement tool may determine the response time of the application server according to the sending time of the at least one third test packet and the receiving time of the at least one second response packet, and further determine whether response water of the application server is decocted in a second preset range and/or determine whether TPS of the application server is in a third preset range.
For example, based on daily transaction data, when the card switching system is at optimal processing capacity, the response time is 0 to 300 milliseconds and the TPS may increase with increasing time.
It is to be understood that the at least one test packet includes the at least one third test packet; the at least one response message includes the at least one second response message.
Further optionally, in the process that the application server of the card switching system executes at least one third test packet, the monitoring device may monitor usage amounts of a central processing unit CPU of the application server of the card switching system and/or a CPU of the database server; and sending second state information to the pressure measurement tool, wherein the second state information is used for indicating the use amount of the CPU of the application server and/or the CPU of the database server. The pressure measurement tool receives second state information from the monitoring device, and the pressure measurement tool can determine that the usage amount of the CPU of the application server and/or the CPU of the database server is within a first preset range according to the second state information.
For example, based on daily transaction data, the card exchange system is at an optimal processing capacity when the usage of the CPU of the application server reaches eighty percent and/or the usage of the CPU of the database server reaches sixty percent.
Through the mode, the usage amount of the Central Processing Unit (CPU) of the application server and/or the CPU of the database server of the card exchange system is monitored, and the second state information is sent to the pressure measurement tool, so that the pressure measurement tool can judge the pressure measurement result by referring to the usage amount of the CPU of the application server and/or the CPU of the database server, and the reliability of the pressure measurement process can be further improved.
S402: the monitoring device sends first state information to the pressure measurement tool.
The first state information is used for indicating the change situation of the usage amount of the memory MEM of the application server and/or the MEM of the database server of the card switching system in the process of executing at least one second test message by the application server.
S403: and determining a pressure test result of the card exchange system according to the first state information.
If the usage amount of the MEM of the application server and/or the MEM of the database server of the card exchange system tends to be stable along with the time in the process of executing at least one second test message by the application server, the pressure test result of the card exchange system is successful; otherwise, the pressure test result of the card exchange system is failure.
In a possible manner, the MEM of the application server of the card switching system and/or the MEM usage of the database server are always kept unchanged during the process of sending the at least one second test message to the application server by the pressure measurement tool, and the pressure test result of the card switching system is successful.
In one possible approach, the MEM of the application server and/or the MEM of the database server of the card switching system changes over a period of time during the process of sending at least one second test message to the application server by the pressure measurement tool, and then becomes stable over time, and the result of the pressure test of the card switching system is successful.
In one possible manner, the usage amount of the MEM of the application server and/or the MEM of the database server of the card exchange system continuously increases during the process that the pressure measurement tool sends the at least one second test message to the application server until the pressure measurement tool stops sending the at least one second test message to the application server, and the pressure test result of the card exchange system is a failure.
In this way, when the functions of the application server for executing and responding the test message are normal, and the performances of the MEM of the application server and/or the MEM of the database server are stable, the pressure test result of the card exchange system is successful, and the reliability of the pressure test result is high.
The method provided by the embodiment of the application is introduced above, and the device provided by the embodiment of the application is introduced below.
Referring to fig. 5, the present application provides a device for stress testing, which may be an application server of the above card exchange system, and includes modules/units/technical means for executing the method executed by the application server in the above method embodiments.
Illustratively, the apparatus 500 may include:
a first transceiver module 501, configured to receive at least one test packet from a pressure measurement tool; wherein each test message in the at least one test message is used for testing a function of the card switching system; each test message in the at least one test message carries transaction information; sending the at least one response message to the pressure measurement tool;
a first processing module 502, configured to run the at least one test packet to obtain at least one response packet; the at least one response message corresponds to the at least one test message one to one, and each response message in the at least one response message is used for indicating a function test result of the corresponding test message.
Referring to fig. 6, the present application provides a device for pressure testing, which may be the above pressure testing tool, and includes modules/units/technical means for performing the method performed by the pressure testing tool in the above method embodiment.
Illustratively, the apparatus 600 may include:
a second transceiver module 601, configured to send at least one test packet to an application server of the card exchange system; each test message in the at least one test message is used for testing one function of the card switching system; each test message in the at least one test message carries a transaction message; the at least one test message comprises at least one first test message; receiving at least one first response message from the application server; the at least one first response message corresponds to the at least one first test message one to one, and each response message in the at least one first response message is used for indicating a function test result of the corresponding test message;
a second processing module 602, configured to determine a pressure test result of the card switching system according to the at least one first response packet.
Referring to fig. 7, the present application provides a pressure testing apparatus, which may be the above pressure testing tool, and includes modules/units/technical means for executing the method executed by monitoring in the above method embodiment.
Illustratively, the apparatus 700 may include:
a third processing module 701, configured to monitor usage of the MEM of the application server of the card switching system and/or the MEM of the database server in a process that the application server of the card switching system executes at least one second test packet;
a third transceiver module 702, configured to send first state information to a pressure measurement tool, where the first state information is used to indicate a change condition of a usage amount of the MEM of an application server and/or the MEM of a database server of the card exchange system in a process in which the application server executes at least one second test packet.
More detailed descriptions of the modules of the above devices can be directly obtained by referring to the related descriptions in the above method embodiments, which are not repeated herein.
Referring to fig. 8, as a possible product form of the apparatus, an electronic device 800 according to an embodiment of the present application includes:
at least one processor 801; and a communication interface 803 communicatively coupled to the at least one processor 801; the at least one processor 801, by executing instructions stored by the memory 802, causes the electronic device 800 to perform the method steps performed by any of the above-described method embodiments via the communication interface 803.
Optionally, the memory 802 is located outside the electronic device 800.
Optionally, the electronic device 800 includes the memory 802, the memory 802 is connected to the at least one processor 801, and the memory 802 stores instructions executable by the at least one processor 801. Fig. 8 shows in dashed lines that the memory 802 is optional for the electronic device 800.
The processor 801 and the memory 802 may be coupled by an interface circuit, or may be integrated together, which is not limited herein.
The specific connection medium between the processor 801, the memory 802 and the communication interface 803 is not limited in the embodiment of the present application. In fig. 8, the processor 801, the memory 802, and the communication interface 803 are connected by a bus 804, the bus is shown by a thick line in fig. 8, and the connection manner among other components is only schematically illustrated and not limited. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8, but that does not indicate only one bus or one type of bus.
It should be understood that the processors mentioned in the embodiments of the present application may be implemented by hardware or may be implemented by software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general-purpose processor implemented by reading software code stored in a memory.
The Processor may be, for example, a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be appreciated that the memory referred to in the embodiments of the application may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), double Data rate Synchronous Dynamic random access memory (DDR SDRAM), enhanced Synchronous SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
It should be noted that when the processor is a general-purpose processor, a DSP, an ASIC, an FPGA or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, the memory (memory module) may be integrated into the processor.
It should be noted that the memory described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
As another possible product form, the present application further provides a computer-readable storage medium for storing instructions that, when executed, cause a computer to perform the method steps performed by the first device in the above method example.
As another possible product form, the present application further provides a computer program product containing instructions, where the instructions are stored in the computer program product, and when the instructions are executed on a computer, the computer program product causes the computer to execute the method steps executed by the first device in the method embodiments.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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 so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (21)

1. A pressure test method is applied to an application server of a card exchange system, and comprises the following steps:
receiving at least one test message from a pressure testing tool; wherein each test message in the at least one test message is used for testing one function of the card switching system; each test message in the at least one test message carries transaction information;
running the at least one test message to obtain at least one response message; the at least one response message corresponds to the at least one test message one to one, and each response message in the at least one response message is used for indicating a function test result of the corresponding test message;
and sending the at least one response message to the pressure measurement tool.
2. The method of claim 1, wherein prior to said receiving at least one test message from a pressure testing tool, further comprising:
acquiring at least one transaction message; the transaction information comprises transaction types, and the transaction types comprise own transactions and/or other own-generation transactions;
and sending the at least one transaction message to a pressure measurement tool, wherein the at least one transaction message is used for determining the at least one test message.
3. The method of claim 1, wherein prior to said running said at least one test message, further comprising:
and modifying the IP address and the port of the network protocol for remotely accessing other systems on the application server into the IP address and the port of the pile module, wherein the pile module is used for replacing the other systems to interact with the card exchange system.
4. A pressure testing method is characterized in that the method is applied to a pressure testing tool and comprises the following steps:
sending at least one test message to an application server of the card switching system; each test message in the at least one test message is used for testing one function of the card switching system; each test message in the at least one test message carries transaction information; the at least one test message comprises at least one first test message;
receiving at least one first response message from the application server; the at least one first response message corresponds to the at least one first test message one to one, and each response message in the at least one first response message is used for indicating a function test result of the corresponding test message;
and determining a pressure test result of the card switching system according to the at least one first response message.
5. The method of claim 4, prior to said sending at least one test message to an application server of a card switching system, further comprising:
receiving at least one transaction message from the application server; the transaction information comprises transaction types, and the transaction types comprise own transactions and/or other own-generation transactions;
and obtaining the at least one test message according to the pressure test script corresponding to the transaction type in the at least one transaction message.
6. The method of claim 5, wherein the transaction type is a current generation transaction;
the obtaining of the at least one test message according to the stress test script corresponding to the transaction type in the at least one transaction message includes:
and encrypting and storing the preprocessed extensible markup language XML message and/or the preprocessed object numbered notation JSON message in the pressure test script to obtain at least one test message corresponding to the transaction of the current generation.
7. The method of claim 5, wherein the transaction type is an his-agent transaction;
the obtaining of the at least one test message according to the stress test script corresponding to the transaction type in the at least one transaction message includes:
formatting the buffer message preprocessed in the pressure test script to obtain at least one test message corresponding to the other-generation transaction, wherein the at least one test message is a 8583 message.
8. The method of claim 4, wherein said determining a stress test result of said card switching system from said at least one first response message comprises:
if the functional test result indicated by any response message in the at least one first response message is failure, determining that the pressure test result of the card switching system is failed;
if the function test results indicated by all the response messages in the at least one first response message are successful, determining a pressure test result of the card switching system according to first state information, where the first state information is used to indicate a change condition of usage of a memory MEM of an application server of the card switching system and/or a MEM of a database server in a process of executing at least one second test message by the application server, and the at least one test message includes the at least one second test message.
9. The method of claim 8, wherein determining a stress test result for the card exchange system based on the first status information comprises:
if the usage amount of the MEM of the application server and/or the MEM of the database server of the card exchange system tends to be stable over time in the process that the application server executes the at least one second test message, the pressure test result of the card exchange system is successful;
otherwise, the pressure test result of the card exchange system is failure.
10. The method of claim 8, prior to said determining a stress test result for the card exchange system based on the first status information, further comprising:
when the card switching system is in a preset state, the at least one second test message is sent to the application server;
first status information is received from a monitoring device.
11. The method of claim 10, wherein the preset state comprises one or more of:
the usage amount of the CPU of the application server and/or the CPU of the database server is within a first preset range;
the response time of the application server is within a second preset range;
the transaction processing amount per second TPS of the application server is within a third preset range.
12. The method of claim 10, wherein prior to said sending said at least one second test message to the application server, further comprising:
sending at least one third test message to an application server of the card switching system according to the rule that the number of messages increases with time, wherein the at least one third test message comprises the at least one third test message;
receiving at least one second response message from the application service, and determining that the response time of the application server is within a second preset range and/or the TPS of the application server is within a third preset range according to the sending time of the at least one third test message and the receiving time of the at least one second response message, wherein the at least one third test message and the at least one second response message are in one-to-one correspondence; and/or receiving second state information from the monitoring device, wherein the second state information is used for indicating the usage amount of the CPU of the application server and/or the CPU of the database server in the process of executing the at least one third test message by the application server, and determining that the usage amount of the CPU of the application server and/or the CPU of the database server is within a first preset range according to the second state information.
13. A pressure testing method is characterized in that the method is applied to monitoring equipment and comprises the following steps:
monitoring usage amount of MEM of an application server and/or MEM of a database server of a card switching system during execution of at least one second test message by the application server of the card switching system;
and sending first state information to a pressure measurement tool, wherein the first state information is used for indicating the change condition of the usage amount of MEM of an application server and/or MEM of a database server of the card exchange system in the process of executing at least one second test message by the application server.
14. The method of claim 13, further comprising:
monitoring the usage of a Central Processing Unit (CPU) of the application server of the card switching system and/or the CPU of the database server in the process of executing at least one third test message by the application server of the card switching system;
and sending second state information to the pressure measurement tool, wherein the second state information is used for indicating the use amount of the CPU of the application server and/or the CPU of the database server.
15. A pressure testing system, comprising:
the application server is used for running at least one test message to obtain at least one response message; the at least one response message corresponds to the at least one test message one to one, and each response message in the at least one response message is used for indicating a function test result of the corresponding test message;
and the test tool is used for determining a pressure test result of the card exchange system according to the at least one first response message.
16. A pressure testing device, comprising:
the first transceiver module is used for receiving at least one test message from the pressure testing tool; wherein each test message in the at least one test message is used for testing a function of the card switching system; each test message in the at least one test message carries transaction information; sending the at least one response message to the pressure measurement tool;
the first processing module is used for operating the at least one test message to obtain at least one response message; the at least one response message corresponds to the at least one test message one to one, and each response message in the at least one response message is used for indicating a function test result of the corresponding test message.
17. A pressure testing device, comprising:
the second transceiver module is used for sending at least one test message to an application server of the card switching system; each test message in the at least one test message is used for testing one function of the card switching system; each test message in the at least one test message carries transaction information; the at least one test message comprises at least one first test message; receiving at least one first response message from the application server; the at least one first response message corresponds to the at least one first test message one to one, and each response message in the at least one first response message is used for indicating a function test result of the corresponding test message;
and the second processing module is used for determining a pressure test result of the card exchange system according to the at least one first response message.
18. A pressure testing device, comprising:
the third processing module is used for monitoring the usage amount of MEM of the application server of the card switching system and/or MEM of the database server in the process that the application server of the card switching system executes at least one second test message;
and the third transceiver module is configured to send first state information to the pressure measurement tool, where the first state information is used to indicate a change condition of a usage amount of the MEM of the application server and/or the MEM of the database server of the card exchange system in a process in which the application server executes at least one second test packet.
19. An electronic device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor, a communication interface;
wherein the memory stores instructions executable by the at least one processor, the at least one processor causing the electronic device to perform the method of any one of claims 1-3 through the communication interface by executing the instructions stored by the memory, or causing the apparatus to perform the method of any one of claims 4-12 through the communication interface, or causing the apparatus to perform the method of any one of claims 13-14 through the communication interface.
20. A computer-readable storage medium, having stored thereon computer instructions, which, when run on a computer, cause the computer to perform the method of any one of claims 1-3, or cause the computer to perform the method of any one of claims 4-12, or cause the computer to perform the method of any one of claims 13-14.
21. A computer program product, the computer program product comprising: causing a computer to perform the method of any one of claims 1-3, or causing a computer to perform the method of any one of claims 4-12, or causing a computer to perform the method of any one of claims 13-14.
CN202211209759.1A 2022-09-30 2022-09-30 Pressure testing method, device, equipment and medium Active CN115499355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211209759.1A CN115499355B (en) 2022-09-30 2022-09-30 Pressure testing method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211209759.1A CN115499355B (en) 2022-09-30 2022-09-30 Pressure testing method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN115499355A true CN115499355A (en) 2022-12-20
CN115499355B CN115499355B (en) 2024-04-26

Family

ID=84471794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211209759.1A Active CN115499355B (en) 2022-09-30 2022-09-30 Pressure testing method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN115499355B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1975694A (en) * 2006-12-22 2007-06-06 中国建设银行股份有限公司 Bank main machine pressure testing method and tester
US10474563B1 (en) * 2016-12-28 2019-11-12 Wells Fargo Bank, N.A. System testing from production transactions
CN112416725A (en) * 2020-11-02 2021-02-26 北京三快在线科技有限公司 Pressure testing method and device
CN112799944A (en) * 2021-01-29 2021-05-14 中国工商银行股份有限公司 System performance testing method and system
CN114844814A (en) * 2022-03-30 2022-08-02 中国农业银行股份有限公司 Pressure testing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1975694A (en) * 2006-12-22 2007-06-06 中国建设银行股份有限公司 Bank main machine pressure testing method and tester
US10474563B1 (en) * 2016-12-28 2019-11-12 Wells Fargo Bank, N.A. System testing from production transactions
CN112416725A (en) * 2020-11-02 2021-02-26 北京三快在线科技有限公司 Pressure testing method and device
CN112799944A (en) * 2021-01-29 2021-05-14 中国工商银行股份有限公司 System performance testing method and system
CN114844814A (en) * 2022-03-30 2022-08-02 中国农业银行股份有限公司 Pressure testing method and device

Also Published As

Publication number Publication date
CN115499355B (en) 2024-04-26

Similar Documents

Publication Publication Date Title
CN109815138A (en) Business information test method, device, computer equipment and storage medium
CN112015769A (en) Data processing method and device, computer equipment and storage medium
CN106557421A (en) POS applied program testing methods and device
CN113837732A (en) Internet resource transfer method, account transfer method and device
CN109615384B (en) Method, device and server for generating timeliness check rule
US20180181954A1 (en) Configuring a transaction device
CN111415146A (en) Resource data processing method, device and equipment
CN113052687B (en) Transaction route distribution method and related device
CN114328210A (en) Test method, test device and computer readable storage medium
CN115499355A (en) Pressure testing method, device, equipment and medium
CN111209542B (en) Authority management method and device, storage medium and electronic equipment
WO2019190344A1 (en) System for monitoring a network of self-service devices
KR102107454B1 (en) System for multiplication of financial payment networks, method for financial services using the same and computer program for the same
US11520802B2 (en) Systems and methods for data format conversion
JP5979719B2 (en) ATM system and method
CN110263063B (en) Asset query method and server
CN107169760B (en) Mapping card management method based on multiple media, data processing method and device
KR102332564B1 (en) Open banking and firm banking optimization cross relay method, device and system
US11966720B2 (en) Modular command interface for application integration
CN106130740B (en) Digital certificate synchronous method, digital signature server and digital certificate synchronization system
KR102599647B1 (en) Method for card payment, system for card payment, and computer program stored in a recording medium to execute the method thereof
KR100982825B1 (en) integrated test system
TWI774011B (en) System for getting certification through automation machine for applying account and method thereof
EP3933735A1 (en) Payment network watching service
US11354661B2 (en) Configurable, reactive architecture framework for data stream manipulation at scale

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