CN111447120B - Pressure testing method and system based on Tuxedo - Google Patents

Pressure testing method and system based on Tuxedo Download PDF

Info

Publication number
CN111447120B
CN111447120B CN202010235356.9A CN202010235356A CN111447120B CN 111447120 B CN111447120 B CN 111447120B CN 202010235356 A CN202010235356 A CN 202010235356A CN 111447120 B CN111447120 B CN 111447120B
Authority
CN
China
Prior art keywords
tuxedo
airspace
server
address
port
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.)
Active
Application number
CN202010235356.9A
Other languages
Chinese (zh)
Other versions
CN111447120A (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.)
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 CN202010235356.9A priority Critical patent/CN111447120B/en
Publication of CN111447120A publication Critical patent/CN111447120A/en
Application granted granted Critical
Publication of CN111447120B publication Critical patent/CN111447120B/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/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/147Network analysis or design for predicting network behaviour
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Abstract

The invention provides a pressure testing method and system based on Tuxedo. The method comprises the following steps: establishing a domain connection between a Tuxedo airspace server and a Tuxedo tested server according to a Tuxedo service on an airspace host and a tested system server, a first domain connection configuration file on the airspace host and a second domain connection configuration file on the tested system server; the method comprises the steps that a script is initiated according to a Tuxedo service on an airspace host and the pressure of a LoadRunner Tuxedo protocol to establish WSL connection between a Tuxedo airspace service end and a Tuxedo client; the LoadRunner tool and the LoadRunner Tuxedo protocol pressure initiating script are started to perform pressure test on the tested system server, discovery and prevention of hidden performance defects of the production system can be facilitated, performance test is closer to production practice, and safe and stable operation of the system is guaranteed.

Description

Pressure testing method and system based on Tuxedo
Technical Field
The invention relates to the technical field of application testing, in particular to a pressure testing method and system based on Tuxedo.
Background
Tuxedo is a powerful tool for developing and managing three-tier structured client/server type mission critical application systems in a distributed computing environment such as enterprise, Internet, etc. The TUXEDO is widely applied to core business systems of various industries such as finance, telecommunication, manufacturing and the like because the TUXEDO has all bottom layer functions necessary for enterprise-level application, extremely strong dynamic deployment and self-adaptive adjustment capabilities, and the like and supports the remarkable advantages of almost all hosts and database manufacturers in the industry; and research shows that: tuxedo is no longer the world's first trade class middleware product, regardless of market share, technology system, product history, success case.
Due to the wide application of the Tuxedo, when the performance test of an application system in the financial field is carried out, a production scene that the system communicates through a Tuxedo domain connection mode is frequently encountered. And simulating a certain application system to initiate load pressure to the tested service system under the scene by using a LoadRunner performance testing tool. In order to effectively simulate the production scene, the test press and the tested system need to be connected in a Tuxedo domain mode. However, the underlying environment variable setting function lrt _ set _ env _ list () of the LoadRunner defines that the LoadR unner test press can only communicate with the application service system in a client-server WSL connection mode, and the performance test pressure initiation under the scenario is limited in the technical level. However, in the conventional method of using the TUXEDO WSL to connect the analog domain for performance test, the performance test result cannot reflect the current performance status of the real production system, and the performance defect of the production system may be hidden, thereby burying hidden danger for system operation.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a pressure testing method and system based on Tuxedo, so that performance testing is closer to actual production, and safe and stable operation of the system is guaranteed.
In order to achieve the above object, an embodiment of the present invention provides a Tuxedo-based pressure testing method, including:
establishing a domain connection between a Tuxedo airspace service terminal and a Tuxedo tested service terminal according to a Tuxedo service started on an airspace host and a tested system server in advance, a first domain connection configuration file established on the airspace host in advance and a second domain connection configuration file established on the tested system server in advance; the system comprises a Tuxedo airspace server, an airspace host, a loading Runner test press, a Tuxedo airspace server, a loading Runner test press and a data processing system, wherein the Tuxedo airspace server is installed on the airspace host, and the airspace host is an airspace forwarding server or a loading Runner test press; the Tuxedo tested server is installed on a tested system server;
establishing WSL connection between a Tuxedo airspace service end and a Tuxedo client according to a Tuxedo service started on an airspace host and a preset LoadRunner Tuxedo protocol pressure initiating script; wherein, the Tuxedo client is installed on a LoadRunner test press;
and starting a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiating script to perform pressure test on the tested system server.
The embodiment of the invention also provides a pressure testing system based on Tuxedo, which comprises:
the domain connection establishing unit is used for establishing domain connection between the Tuxedo airspace server and the Tuxedo tested server according to the Tuxedo service started on the airspace host and the tested system server in advance, the first domain connection configuration file established on the airspace host in advance and the second domain connection configuration file established on the tested system server in advance; the system comprises a Tuxedo airspace server, an airspace host, a loading Runner test press, a Tuxedo airspace server, a loading Runner test press and a data processing system, wherein the Tuxedo airspace server is installed on the airspace host, and the airspace host is an airspace forwarding server or a loading Runner test press; the Tuxedo tested server is installed on a tested system server;
the WSL establishing unit is used for establishing WSL connection between the Tuxedo airspace service end and the Tuxedo client according to the Tuxedo service started on the airspace host and the pre-established LoadRunner Tuxedo protocol pressure initiating script; wherein, the Tuxedo client is installed on a LoadRunner test press;
and the pressure testing unit is used for starting a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiating script so as to carry out pressure testing on the tested system server.
The embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor implements the steps of the Tuxedo-based pressure testing method when executing the computer program.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the Tuxedo-based pressure testing method.
The pressure testing method and system based on the Tuxedo in the embodiment of the invention establish the domain connection between the Tuxedo airspace service end and the Tuxedo tested service end according to the started Tuxedo service and the domain connection configuration file, then establish the WSL connection between the Tuxedo airspace service end and the Tuxedo client according to the Tuxedo service and the LoadRunner Tuxedo protocol pressure initiating script, and finally start the LoadRunner tool and the LoadRunner Tuxedo protocol pressure initiating script to perform the pressure test on the tested system server, so that the domain connection between the LoadRunner testing press and the tested system can be realized, the technical problem that LoadRunner bottom layer functions cannot be realized is solved, the discovery and prevention of hidden performance defects of a production system are facilitated, the performance test is closer to the production reality, and the safe and stable operation of the system is ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for Tuxedo-based pressure testing in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of a method for Tuxedo-based pressure testing in accordance with another embodiment of the present invention;
fig. 3 is a schematic diagram of a domain connection configuration mode in which the airspace host is a LoadRunner test press according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a domain connection configuration in which the airspace host is an airspace forwarding server according to an embodiment of the present invention;
FIG. 5 is a block diagram of a Tuxedo-based pressure testing system according to an embodiment of the present invention;
fig. 6 is a block diagram of a computer device in an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
As will be appreciated by one skilled in the art, embodiments of the present invention may be embodied as a system, apparatus, device, method, or computer program product. Accordingly, the present disclosure may be embodied in the form of: entirely hardware, entirely software (including firmware, resident software, micro-code, etc.), or a combination of hardware and software.
In view of the fact that the prior art cannot reflect the performance status of a real production system and bury hidden dangers for system operation, the embodiment of the invention provides a pressure testing method based on Tuxedo, so that the performance testing is closer to the actual production, and the safe and stable operation of the system is guaranteed. The present invention will be described in detail below with reference to the accompanying drawings.
FIG. 1 is a flow chart of a method for Tuxedo-based pressure testing in accordance with an embodiment of the present invention. As shown in fig. 1, the Tuxedo-based pressure test method includes:
s101: and establishing a domain connection between the Tuxedo airspace service terminal and the Tuxedo tested service terminal according to the Tuxedo service started on the airspace host and the tested system server in advance, the first domain connection configuration file created on the airspace host in advance and the second domain connection configuration file created on the tested system server in advance.
Tuxedo organizes applications using domains (domains). When Tuxedo service calls exist among a plurality of domains, normal calls can be realized only through domain connection.
The system comprises a Tuxedo airspace server, an airspace host, a loading Runner test press, a Tuxedo airspace server, a loading Runner test press and a data processing system, wherein the Tuxedo airspace server is installed on the airspace host, and the airspace host is an airspace forwarding server or a loading Runner test press; the Tuxedo tested server is installed on the tested system server.
LoadRunner is a pressure testing tool for predicting system behavior and performance, and can confirm and search problems by simulating tens of millions of users to implement concurrent pressure and real-time performance monitoring.
Tuxedo is a client/server "middleware" product that mediates between clients and servers to ensure that transactions are processed correctly. The middleware is an interlayer between the client and the server, breaks through the traditional C/S architecture, provides basic services of communication, things, safety, fault tolerance and the like for constructing large-scale, high-performance and distributed C/S application programs, shields bottom application details, and replaces the development simplicity of the application programs with the complexity of the middleware.
S102: and establishing a WSL (wireless sensor link) connection between the Tuxedo airspace service terminal and the Tuxedo client according to the Tuxedo service started on the airspace host and the pre-created LoadRunner Tuxedo protocol pressure initiation script.
When a Tuxedo transaction starts, a remote client can firstly establish connection with a WSL (wireless sensor network) of a monitoring process of a Tuxedo airspace server, and after the security verification is passed, the Tuxedo airspace server distributes an idle process to process a client request, namely, the WSL connection is established.
Wherein, Tuxedo client installs on the LoadRunner test press. Before executing S102, the method further includes: and (3) configuring a pre-created LoadRunner Tuxedo protocol pressure initiating script according to the address and the port of the Tuxedo airspace service terminal. The LoadRunner Tuxedo protocol specifies the Tuxedo directory of the LoadRunner test press when the LoadRunner Tuxedo script loads the environmental variables.
S103: and starting a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiating script to perform pressure test on the tested system server.
The execution subject of the Tuxedo-based pressure testing method shown in fig. 1 may be a computer. As can be known from the flow shown in fig. 1, in the Tuxedo-based pressure testing method according to the embodiment of the present invention, a domain connection is established between a Tuxedo airspace service end and a Tuxedo measured service end according to the started Tuxedo service and a domain connection configuration file, a WSL connection is established between the Tuxedo airspace service end and the Tuxedo client according to the Tuxedo service and the LoadRunner Tuxedo protocol pressure initiation script, and finally, a LoadRunner tool and the LoadRunner Tuxedo protocol pressure initiation script are started to perform a pressure test on the measured system server.
FIG. 2 is a flow chart of a method for Tuxedo-based pressure testing in another embodiment of the present invention. As shown in fig. 2, before performing S101, the Tuxedo-based pressure testing method further includes:
s201: and taking the address and the port of the Tuxedo airspace server as the address and the port of a first local gateway, and taking the address and the port of the Tuxedo tested server as the address and the port of a first remote gateway.
S202: a first domain connection profile is created based on the address and port of the first local gateway and the address and port of the first remote gateway.
Wherein, the first domain connection configuration file is a Dmconfig information file.
S203: and taking the address and the port of the Tuxedo tested server as the address and the port of a second local gateway, and taking the address and the port of the Tuxedo airspace server as the address and the port of a second remote gateway.
S204: and creating a second domain connection configuration file according to the address and the port of the second local gateway and the address and the port of the second remote gateway.
And the second domain connection configuration file is a Dmconfig information file.
In one embodiment, before executing S201, the method further includes: installing a Tuxedo tested server on a tested system server;
establishing a tested system application under a Tuxedo tested server;
and creating a first local domain configuration file on the tested system server, wherein the first local domain configuration file comprises the address and the port of the Tuxedo tested server.
The first local domain configuration file is an Ubbconfig information file, and can provide service to the outside after being compiled.
In one embodiment, before executing S201, the method further includes: installing a Tuxedo airspace server on the airspace host;
establishing a virtual application under a Tuxedo airspace server, namely establishing an application directory, wherein a bin directory is empty;
and creating a second local domain configuration file on the airspace host, wherein the second local domain configuration file comprises the address and the port of the Tuxedo airspace server.
And the second local domain configuration file is an Ubbconfig information file, and can provide service for the outside after being compiled.
Fig. 3 is a schematic diagram of a domain connection configuration mode in which the airspace master is a LoadRunner test press according to an embodiment of the present invention. As shown in fig. 3, when the airspace host is a LoadRunner test press, a Tuxedo airspace service end and a Tuxedo client are installed on the LoadRunner test press, so that the Tuxedo airspace service end (virtual application) and the Tuxedo tested service end (tested system application) on the LoadRunner test press are in a peer-to-peer relationship from server to server, and communicate in a domain mode. The initiation of the LoadRunner pressure of the LoadRunner test press is to simulate a virtual application of a Tuxedo client to call a local Tuxedo airspace service end, and the virtual application calls a remote available service through domain connection to complete a transaction. Because the virtual application of the Tuxedo airspace server has no actual service function and only plays a role of a bridge, the virtual application is generally called as airspace forwarding.
As shown in fig. 3, when the null host is a LoadRunner test press, the flow of the embodiment of the present invention is as follows:
1. and (3) building a LoadRunner test press machine to simulate a production system A, building a tested system server to simulate a production system B, and opening a network access relation.
2. And installing a Tuxedo tested server on the tested system server, and establishing a tested system application under the Tuxedo tested server.
3. And creating a first local domain configuration file on the tested system server, wherein the first local domain configuration file comprises the address and the port of the Tuxedo tested server.
4. And installing a Tuxedo airspace service terminal and a Tuxedo client on the LoadRunner test press.
5. And establishing virtual application under a Tuxedo airspace server.
6. And creating a second local domain configuration file on the LoadRunner test press, wherein the second local domain configuration file comprises the address and the port of the Tuxedo airspace service terminal.
7. And taking the address and the port of the Tuxedo airspace server as the address and the port of a first local gateway, and taking the address and the port of the Tuxedo tested server as the address and the port of a first remote gateway.
8. A first domain connection profile is created based on the address and port of the first local gateway and the address and port of the first remote gateway.
9. And taking the address and the port of the Tuxedo tested server as the address and the port of a second local gateway, and taking the address and the port of the Tuxedo airspace server as the address and the port of a second remote gateway.
10. And creating a second domain connection configuration file according to the address and the port of the second local gateway and the address and the port of the second remote gateway.
11. And (3) configuring a pre-created LoadRunner Tuxedo protocol pressure initiating script according to the address and the port of the Tuxedo airspace service terminal.
12. And establishing domain connection between the Tuxedo airspace server and the Tuxedo tested server according to the Tuxedo service, the first domain connection configuration file and the second domain connection configuration file which are started on the airspace host and the tested system server in advance.
13. And establishing WSL connection between a Tuxedo airspace service terminal and a Tuxedo client according to the Tuxedo service started on the airspace host and the LoadRunner Tuxedo protocol pressure initiating script.
14. And starting a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiating script to perform pressure test on the tested system server.
The pressure test path is LoadRunner test press (Tuxedo client) → LoadRunner test press (Tuxedo airspace server) → tested system server (Tuxedo tested server).
Fig. 4 is a schematic diagram of a domain connection configuration mode in which the airspace host is an airspace forwarding server in an embodiment of the present invention. When the airspace host is a LoadRunner test press, a Tuxedo airspace service end on the LoadRunner test press and a Tuxedo tested service end form an equivalent relation. In this case, the validity of the test result may be affected by the resource consumption of the null field forwarding on the LoadRunner test press. Therefore, an airspace forwarding server is newly introduced between the LoadRunner test press and the tested system server and is specially used for airspace forwarding.
As shown in fig. 4, when the airspace host is an airspace forwarding server, only a Tuxedo client is installed on the LoadRunner test press, a Tuxedo airspace server is installed on the airspace forwarding server, and the application configured by the Tuxedo airspace server is a virtual application. The LoadRunner test press is connected with the airspace forwarding server in a client-server mode through the WSL. The airspace forwarding server and the tested system server call the remote available service through domain connection to complete the transaction.
As shown in fig. 4, when the airspace host is an airspace forwarding server, the flow of the embodiment of the present invention is as follows:
1. and (3) building a LoadRunner test press machine to simulate a production system A, building an airspace forwarding server, building a tested system server to simulate a production system B, and opening a network access relation.
2. And installing a Tuxedo tested server on the tested system server, and establishing a tested system application under the Tuxedo tested server.
3. And creating a first local domain configuration file on the tested system server, wherein the first local domain configuration file comprises the address and the port of the Tuxedo tested server.
4. And installing a Tuxedo client on a LoadRunner test press.
5. And installing a Tuxedo airspace server on the airspace forwarding server, and establishing virtual application under the Tuxedo airspace server.
6. And creating a second local domain configuration file on the LoadRunner test press, wherein the second local domain configuration file comprises the address and the port of the Tuxedo airspace service terminal.
7. And taking the address and the port of the Tuxedo airspace server as the address and the port of a first local gateway, and taking the address and the port of the Tuxedo tested server as the address and the port of a first remote gateway.
8. A first domain connection profile is created based on the address and port of the first local gateway and the address and port of the first remote gateway.
9. And taking the address and the port of the Tuxedo tested server as the address and the port of a second local gateway, and taking the address and the port of the Tuxedo airspace server as the address and the port of a second remote gateway.
10. And creating a second domain connection configuration file according to the address and the port of the second local gateway and the address and the port of the second remote gateway.
11. And (3) configuring a pre-created LoadRunner Tuxedo protocol pressure initiating script according to the address and the port of the Tuxedo airspace service terminal.
12. And establishing domain connection between the Tuxedo airspace server and the Tuxedo tested server according to the Tuxedo service, the first domain connection configuration file and the second domain connection configuration file which are started on the airspace host and the tested system server in advance.
13. And establishing WSL connection between a Tuxedo airspace service terminal and a Tuxedo client according to the Tuxedo service started on the airspace host and the LoadRunner Tuxedo protocol pressure initiating script.
14. And starting a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiating script to perform pressure test on the tested system server.
The pressure test path is LoadRunner test press (Tuxedo client) → airspace forwarding server (Tuxedo airspace server) → tested system server (Tuxedo tested server).
To sum up, the Tuxedo-based pressure testing method according to the embodiment of the present invention establishes a domain connection between a Tuxedo airspace service end and a Tuxedo tested service end according to a Tuxedo service and a domain connection configuration file that are started, then establishes a WSL connection between the Tuxedo airspace service end and the Tuxedo client according to a Tuxedo service and a LoadRunner Tuxedo protocol pressure initiation script, and finally starts a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiation script to perform a pressure test on a tested system server, so that the domain connection between a LoadRunner testing press and a tested system can be implemented, thereby solving a technical problem that a LoadRunner underlying function cannot be implemented, facilitating discovery and prevention of hidden performance defects of a production system, enabling a performance test to be closer to a production reality, and ensuring safe and stable operation of the system.
Based on the same inventive concept, the embodiment of the invention also provides a Tuxedo-based pressure testing system, and as the principle of solving the problems of the system is similar to that of the Tuxedo-based pressure testing method, the implementation of the system can refer to the implementation of the method, and repeated parts are not described again.
FIG. 5 is a block diagram of a Tuxedo-based pressure testing system according to an embodiment of the present invention. As shown in fig. 5, the Tuxedo-based pressure testing system includes:
the domain connection establishing unit is used for establishing domain connection between the Tuxedo airspace server and the Tuxedo tested server according to the Tuxedo service started on the airspace host and the tested system server in advance, the first domain connection configuration file established on the airspace host in advance and the second domain connection configuration file established on the tested system server in advance; the system comprises a Tuxedo airspace server, an airspace host, a loading Runner test press, a Tuxedo airspace server, a loading Runner test press and a data processing system, wherein the Tuxedo airspace server is installed on the airspace host, and the airspace host is an airspace forwarding server or a loading Runner test press; the Tuxedo tested server is installed on a tested system server;
the WSL establishing unit is used for establishing WSL connection between the Tuxedo airspace service end and the Tuxedo client according to the Tuxedo service started on the airspace host and the pre-established LoadRunner Tuxedo protocol pressure initiating script; wherein, the Tuxedo client is installed on a LoadRunner test press;
and the pressure testing unit is used for starting a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiating script so as to carry out pressure testing on the tested system server.
In one embodiment, the method further comprises the following steps:
the first port address setting unit is used for taking the address and the port of the Tuxedo airspace service end as the address and the port of a first local gateway and taking the address and the port of the Tuxedo tested service end as the address and the port of a first remote gateway;
the first domain connection configuration unit is used for creating a first domain connection configuration file according to the address and the port of the first local gateway and the address and the port of the first remote gateway;
the second port address setting unit is used for taking the address and the port of the Tuxedo tested server as the address and the port of a second local gateway and taking the address and the port of the Tuxedo airspace server as the address and the port of a second remote gateway;
and the second domain connection configuration unit is used for creating a second domain connection configuration file according to the address and the port of the second local gateway and the address and the port of the second remote gateway.
In one embodiment, the method further comprises the following steps:
and the script creating unit is used for configuring a pre-created LoadRunner Tuxedo protocol pressure initiating script according to the address and the port of the Tuxedo airspace service end.
In one embodiment, the method further comprises the following steps:
the first service end installation unit is used for installing a Tuxedo tested service end on a tested system server;
the tested system application establishing unit is used for establishing the tested system application under the Tuxedo tested server;
the first configuration file creating unit is used for creating a first local domain configuration file on the tested system server, wherein the first local domain configuration file comprises the address and the port of the Tuxedo tested server.
In one embodiment, the method further comprises the following steps:
the second server installation unit is used for installing the Tuxedo airspace server on the airspace host;
the virtual application establishing unit is used for establishing virtual application under a Tuxedo airspace server;
and the second configuration file creating unit is used for creating a second local domain configuration file on the airspace host, wherein the second local domain configuration file comprises the address and the port of the Tuxedo airspace server.
To sum up, the Tuxedo-based pressure testing system according to the embodiment of the present invention first establishes a domain connection between the Tuxedo airspace service end and the Tuxedo tested service end according to the started Tuxedo service and domain connection configuration file, then establishes a WSL connection between the Tuxedo airspace service end and the Tuxedo client according to the Tuxedo service and the LoadRunner Tuxedo protocol pressure initiation script, and finally starts the LoadRunner tool and the LoadRunner Tuxedo protocol pressure initiation script to perform a pressure test on the tested system server, so that the domain connection between the LoadRunner testing press and the tested system can be implemented, thereby solving the technical problem that the LoadRunner underlying function cannot be implemented, facilitating the discovery and prevention of hidden performance defects of the production system, enabling the performance test to be closer to the production practice, and ensuring the safe and stable operation of the system.
The embodiment of the invention also provides a specific implementation manner of computer equipment capable of realizing all the steps in the Tuxedo-based pressure testing method in the embodiment. Fig. 6 is a block diagram of a computer device according to an embodiment of the present invention, and referring to fig. 6, the computer device specifically includes the following components:
a processor (processor)601 and a memory (memory) 602.
The processor 601 is configured to call a computer program in the memory 602, and the processor executes the computer program to implement all the steps of the Tuxedo-based pressure testing method in the above embodiment, for example, the processor executes the computer program to implement the following steps:
establishing a domain connection between a Tuxedo airspace service terminal and a Tuxedo tested service terminal according to a Tuxedo service started on an airspace host and a tested system server in advance, a first domain connection configuration file established on the airspace host in advance and a second domain connection configuration file established on the tested system server in advance; the system comprises a Tuxedo airspace server, an airspace host, a loading Runner test press, a Tuxedo airspace server, a loading Runner test press and a data processing system, wherein the Tuxedo airspace server is installed on the airspace host, and the airspace host is an airspace forwarding server or a loading Runner test press; the Tuxedo tested server is installed on a tested system server;
establishing WSL connection between a Tuxedo airspace service end and a Tuxedo client according to a Tuxedo service started on an airspace host and a preset LoadRunner Tuxedo protocol pressure initiating script; wherein, the Tuxedo client is installed on a LoadRunner test press;
and starting a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiating script to perform pressure test on the tested system server.
To sum up, the computer device according to the embodiment of the present invention establishes a domain connection between a Tuxedo airspace service end and a Tuxedo measured service end according to a Tuxedo service and a domain connection configuration file that are started, then establishes a WSL connection between the Tuxedo airspace service end and a Tuxedo client according to a Tuxedo service and a LoadRunner Tuxedo protocol pressure initiation script, and finally starts a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiation script to perform a pressure test on a measured system server, so that the domain connection between a LoadRunner test press and a measured system can be realized, the technical problem that a LoadRunner underlying function cannot be realized is solved, discovery and prevention of hidden performance defects of a production system are facilitated, so that a performance test is more productive, and the safe and stable operation of the system is ensured.
Embodiments of the present invention further provide a computer-readable storage medium capable of implementing all steps in the Tuxedo-based pressure testing method in the foregoing embodiments, where the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements all steps of the Tuxedo-based pressure testing method in the foregoing embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
establishing a domain connection between a Tuxedo airspace service terminal and a Tuxedo tested service terminal according to a Tuxedo service started on an airspace host and a tested system server in advance, a first domain connection configuration file established on the airspace host in advance and a second domain connection configuration file established on the tested system server in advance; the system comprises a Tuxedo airspace server, an airspace host, a loading Runner test press, a Tuxedo airspace server, a loading Runner test press and a data processing system, wherein the Tuxedo airspace server is installed on the airspace host, and the airspace host is an airspace forwarding server or a loading Runner test press; the Tuxedo tested server is installed on a tested system server;
establishing WSL connection between a Tuxedo airspace service end and a Tuxedo client according to a Tuxedo service started on an airspace host and a preset LoadRunner Tuxedo protocol pressure initiating script; wherein, the Tuxedo client is installed on a LoadRunner test press;
and starting a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiating script to perform pressure test on the tested system server.
To sum up, the computer-readable storage medium according to the embodiment of the present invention establishes a domain connection between a Tuxedo airspace service end and a Tuxedo measured service end according to a Tuxedo service and a domain connection configuration file that are started, then establishes a WSL connection between the Tuxedo airspace service end and a Tuxedo client according to a Tuxedo service and a LoadRunner Tuxedo protocol pressure initiation script, and finally starts a LoadRunner tool and a LoadRunner Tuxedo protocol pressure initiation script to perform a pressure test on a measured system server, so that the domain connection between a LoadRunner test press and a measured system can be implemented, a technical problem that a LoadRunner underlying function cannot be implemented is solved, discovery and prevention of hidden performance defects of a production system are facilitated, so that a performance test is closer to a production reality, and a system is guaranteed to operate safely and stably.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Those of skill in the art will further appreciate that the various illustrative logical blocks, units, and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various illustrative components, elements, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design requirements of the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The various illustrative logical blocks, or elements, or devices described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination thereof designed to perform the functions described herein. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC, which may be located in a user terminal. In the alternative, the processor and the storage medium may reside in different components in a user terminal.
In one or more exemplary designs, the functions described above in connection with the embodiments of the invention may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media that facilitate transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, such computer-readable media can include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store program code in the form of instructions or data structures and which can be read by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Additionally, any connection is properly termed a computer-readable medium, and, thus, is included if the software is transmitted from a website, server, or other remote source via a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wirelessly, e.g., infrared, radio, and microwave. Such discs (disk) and disks (disc) include compact disks, laser disks, optical disks, DVDs, floppy disks and blu-ray disks where disks usually reproduce data magnetically, while disks usually reproduce data optically with lasers. Combinations of the above may also be included in the computer-readable medium.

Claims (12)

1. A pressure testing method based on Tuxedo is characterized by comprising the following steps:
establishing a domain connection between a Tuxedo airspace service terminal and a Tuxedo tested service terminal according to a Tuxedo service started on an airspace host and a tested system server in advance, a first domain connection configuration file created on the airspace host in advance and a second domain connection configuration file created on the tested system server in advance;
establishing WSL connection between the Tuxedo airspace service terminal and the Tuxedo client according to the Tuxedo service started on the airspace host and the pre-established LoadRunner Tuxedo protocol pressure initiating script; the system comprises a Tuxedo client, a Tuxedo airspace server, a airspace forwarding server, a LoadRunner test press and a Tuxedo system server, wherein the Tuxedo client is installed on the LoadRunner test press, the Tuxedo airspace server is installed on an airspace host, the airspace host is an airspace forwarding server or the LoadRunner test press, and the Tuxedo tested server is installed on the tested system server;
and starting a LoadRunner tool and the LoadRunner Tuxedo protocol pressure initiating script to perform pressure test on the tested system server.
2. The Tuxedo-based pressure testing method of claim 1, further comprising:
taking the address and the port of the Tuxedo airspace server as the address and the port of a first local gateway, and taking the address and the port of the Tuxedo tested server as the address and the port of a first remote gateway;
creating a first domain connection configuration file according to the address and the port of the first local gateway and the address and the port of the first remote gateway;
taking the address and the port of the Tuxedo airspace server as the address and the port of a second remote gateway;
and creating a second domain connection configuration file according to the address and the port of the second local gateway and the address and the port of the second remote gateway.
3. The Tuxedo-based pressure testing method of claim 2, further comprising:
and initiating a script according to the address and port configuration of the Tuxedo airspace service terminal, wherein the created LoadRunner Tuxedo protocol pressure is preset.
4. The Tuxedo-based pressure testing method of claim 2, further comprising:
installing the Tuxedo tested server on the tested system server;
establishing a tested system application under the Tuxedo tested server;
and creating a first local domain configuration file on the tested system server, wherein the first local domain configuration file comprises the address and the port of the Tuxedo tested server.
5. The Tuxedo-based pressure testing method of claim 2, further comprising:
installing the Tuxedo airspace server on the airspace host;
establishing virtual application under the Tuxedo airspace server;
and creating a second local domain configuration file on the airspace host, wherein the second local domain configuration file comprises the address and the port of the Tuxedo airspace server.
6. A Tuxedo-based pressure testing system, comprising:
the domain connection establishing unit is used for establishing domain connection between the Tuxedo airspace server and the Tuxedo tested server according to the Tuxedo service started on the airspace host and the tested system server in advance, the first domain connection configuration file established on the airspace host in advance and the second domain connection configuration file established on the tested system server in advance;
the WSL establishing unit is used for establishing WSL connection between the Tuxedo airspace service end and the Tuxedo client according to the Tuxedo service started on the airspace host and the pre-established LoadRunner Tuxedo protocol pressure initiating script; the system comprises a Tuxedo client, a Tuxedo airspace server, a airspace forwarding server, a LoadRunner test press and a Tuxedo system server, wherein the Tuxedo client is installed on the LoadRunner test press, the Tuxedo airspace server is installed on an airspace host, the airspace host is an airspace forwarding server or the LoadRunner test press, and the Tuxedo tested server is installed on the tested system server;
and the pressure test unit is used for starting a LoadRunner tool and the LoadRunner Tuxedo protocol pressure initiating script so as to carry out pressure test on the tested system server.
7. The Tuxedo-based pressure testing system of claim 6, further comprising:
the first port address setting unit is used for taking the address and the port of the Tuxedo airspace service end as the address and the port of a first local gateway and taking the address and the port of the Tuxedo tested service end as the address and the port of a first remote gateway;
a first domain connection configuration unit, configured to create a first domain connection configuration file according to the address and the port of the first local gateway and the address and the port of the first remote gateway;
the second port address setting unit is used for taking the address and the port of the Tuxedo airspace server as the address and the port of a second local gateway and taking the address and the port of the Tuxedo airspace server as the address and the port of a second remote gateway;
and the second domain connection configuration unit is used for creating a second domain connection configuration file according to the address and the port of the second local gateway and the address and the port of the second remote gateway.
8. The Tuxedo-based pressure testing system of claim 7, further comprising:
and the script creating unit is used for configuring a pre-created LoadRunner Tuxedo protocol pressure initiating script according to the address and the port of the Tuxedo airspace server.
9. The Tuxedo-based pressure testing system of claim 7, further comprising:
the first service end installation unit is used for installing the Tuxedo tested service end on the tested system server;
the tested system application establishing unit is used for establishing a tested system application under the Tuxedo tested server;
the first configuration file creating unit is used for creating a first local domain configuration file on the tested system server, wherein the first local domain configuration file comprises the address and the port of the Tuxedo tested server.
10. The Tuxedo-based pressure testing system of claim 7, further comprising:
the second server installation unit is used for installing the Tuxedo airspace server on the airspace host;
the virtual application establishing unit is used for establishing virtual application under the Tuxedo airspace server;
and the second configuration file creating unit is used for creating a second local domain configuration file on the airspace host, wherein the second local domain configuration file comprises the address and the port of the Tuxedo airspace server.
11. A computer device comprising a memory, a processor and a computer program stored on the memory and running on the processor, wherein the steps of the Tuxedo-based pressure testing method according to any one of claims 1 to 5 are implemented when the computer program is executed by the processor.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the Tuxedo-based pressure testing method according to any one of claims 1 to 5.
CN202010235356.9A 2020-03-30 2020-03-30 Pressure testing method and system based on Tuxedo Active CN111447120B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010235356.9A CN111447120B (en) 2020-03-30 2020-03-30 Pressure testing method and system based on Tuxedo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010235356.9A CN111447120B (en) 2020-03-30 2020-03-30 Pressure testing method and system based on Tuxedo

Publications (2)

Publication Number Publication Date
CN111447120A CN111447120A (en) 2020-07-24
CN111447120B true CN111447120B (en) 2021-08-20

Family

ID=71652607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010235356.9A Active CN111447120B (en) 2020-03-30 2020-03-30 Pressure testing method and system based on Tuxedo

Country Status (1)

Country Link
CN (1) CN111447120B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539478A (en) * 2014-12-15 2015-04-22 微梦创科网络科技(中国)有限公司 Pressure test device and method for instant communication system
CN104572372A (en) * 2014-12-26 2015-04-29 浪潮电子信息产业股份有限公司 System and method for building server performance testing environment
CN106201854A (en) * 2015-05-04 2016-12-07 北京畅游天下网络技术有限公司 A kind of server load method of testing based on socket and system
CN110413594A (en) * 2019-06-25 2019-11-05 苏州浪潮智能科技有限公司 A kind of more example method for testing pressure of Redis and device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8255502B2 (en) * 2004-05-18 2012-08-28 Oracle International Corporation Dynamic domain administration utility
CN101119392B (en) * 2007-08-21 2012-04-25 南京联创科技集团股份有限公司 SOCKET united access method
CN101556683A (en) * 2009-05-21 2009-10-14 中国建设银行股份有限公司 Financial service system and implementation method
US8949867B2 (en) * 2009-12-23 2015-02-03 Oracle International Corporation System and method for providing transaction monitor integration with service component architecture (SCA) runtime
CN102073969A (en) * 2011-01-31 2011-05-25 中国光大银行股份有限公司 Method for realizing debit and credit integrated card
CN102496124B (en) * 2011-12-01 2014-12-03 中国建设银行股份有限公司 Additional service processing method and system
CN102710458B (en) * 2012-05-08 2015-04-29 华为技术有限公司 Monitoring method of testing process, test management server and test server
WO2013188691A1 (en) * 2012-06-13 2013-12-19 Oracle International Corporation System and method for supporting implicit versioning in a transactional middleware machine environment
CN104090824B (en) * 2014-06-09 2017-12-15 中国建设银行股份有限公司 Communication dispatch method, apparatus and system based on Tuxedo middlewares
CN104363184B (en) * 2014-10-31 2018-04-17 北京思特奇信息技术股份有限公司 A kind of JSON message processing methods and system based on tuxedo communication patterns
CN105025103B (en) * 2015-07-23 2018-07-06 北京南天软件有限公司 Application service system cloud access method for routing and device based on TUXEDO middlewares
CN107943626A (en) * 2017-11-08 2018-04-20 中国银联股份有限公司 The performance test methods and associated server of a kind of transaction system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104539478A (en) * 2014-12-15 2015-04-22 微梦创科网络科技(中国)有限公司 Pressure test device and method for instant communication system
CN104572372A (en) * 2014-12-26 2015-04-29 浪潮电子信息产业股份有限公司 System and method for building server performance testing environment
CN106201854A (en) * 2015-05-04 2016-12-07 北京畅游天下网络技术有限公司 A kind of server load method of testing based on socket and system
CN110413594A (en) * 2019-06-25 2019-11-05 苏州浪潮智能科技有限公司 A kind of more example method for testing pressure of Redis and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Web服务性能测试模型的研究;王于;《电脑知识与技术》;20090325(第09期);全文 *
自主可控 敢为人先――国产高端容错计算机金融行业应用示范项目;林磊明等;《金融电子化》;20151215(第12期);全文 *

Also Published As

Publication number Publication date
CN111447120A (en) 2020-07-24

Similar Documents

Publication Publication Date Title
US20190386956A1 (en) Dynamically opening ports for trusted application processes hosted in containers
KR102024694B1 (en) Decentralized service platform using multiple service nodes based on block chain
US11770439B2 (en) Web server request identification
WO2022016847A1 (en) Automatic test method and device applied to cloud platform
CN109995523B (en) Activation code management method and device and activation code generation method and device
CN110210845B (en) Method, apparatus, medium, and computing device for blockchain data migration
CN113449022A (en) Method and device for processing service request
WO2021189257A1 (en) Malicious process detection method and apparatus, electronic device, and storage medium
CN111124615A (en) Virtual machine migration method, device, equipment and computer readable storage medium
CN111581077A (en) Intelligent contract testing method and device
CN111447120B (en) Pressure testing method and system based on Tuxedo
CN116737662A (en) Method, device, electronic equipment and storage medium for processing business data
CN116302716A (en) Cluster deployment method and device, electronic equipment and computer readable medium
CN115760391A (en) Intelligent contract changing method and device in block chain, electronic equipment and storage medium
CN115098469A (en) Database migration method and device, electronic equipment and readable storage medium
US11748686B1 (en) Automated onboarding service
CN113934604A (en) Service state monitoring method, device, equipment and storage medium
CN112464225A (en) Request processing method, request processing device and computer readable storage medium
CN112083939A (en) Batch upgrading method, device, system and medium
CN115270110B (en) Account inspection method and device, electronic equipment and storage medium
CN104298763A (en) Web-based external access method of structured database system
CN116701470B (en) Method and device for reproducing customer problems under medium rack, electronic equipment and medium
CN117785229B (en) Method, equipment and medium for realizing TAPI driver management based on IPPBX
CN110011767B (en) Method and apparatus for TCP connection backup
CN113778780A (en) Application stability determination method and device, electronic equipment and storage medium

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221008

Address after: 12 / F, 15 / F, 99 Yincheng Road, Pudong New Area pilot Free Trade Zone, Shanghai, 200120

Patentee after: Jianxin Financial Science and Technology Co.,Ltd.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Patentee before: CHINA CONSTRUCTION BANK Corp.

Patentee before: Jianxin Financial Science and Technology Co.,Ltd.