CN110278120A - A kind of test environment with suitable method and proxy server - Google Patents

A kind of test environment with suitable method and proxy server Download PDF

Info

Publication number
CN110278120A
CN110278120A CN201810202624.XA CN201810202624A CN110278120A CN 110278120 A CN110278120 A CN 110278120A CN 201810202624 A CN201810202624 A CN 201810202624A CN 110278120 A CN110278120 A CN 110278120A
Authority
CN
China
Prior art keywords
test
service request
test service
purpose system
target
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.)
Pending
Application number
CN201810202624.XA
Other languages
Chinese (zh)
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 Mobile Communications Group Co Ltd
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Guangdong 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 Mobile Communications Group Co Ltd, China Mobile Group Guangdong Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810202624.XA priority Critical patent/CN110278120A/en
Publication of CN110278120A publication Critical patent/CN110278120A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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/091Measuring contribution of individual network components to actual service level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/14Arrangements for monitoring or testing data switching networks using software, i.e. software packages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • H04L43/55Testing of service level quality, e.g. simulating service usage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Environmental & Geological Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present invention provide a kind of test environment with suitable method and proxy server.The described method includes: receiving the test service request that source system is sent;The corresponding target purpose system of target detection environment is determined according to the test service request, and the test service request is forwarded to the target purpose system, so that the target purpose system executes the corresponding testing process of the test service request;The test result that the target purpose system is sent is received, and the test result is forwarded to the source system.Described device is for executing the above method.Method provided by the invention and proxy server improve system testing efficiency.

Description

A kind of test environment with suitable method and proxy server
Technical field
The present embodiments relate to field of communication technology more particularly to a kind of test environment with suitable method and agency service Device.
Background technique
As the continuous growth of the whole network business, demand are continuously increased, to guarantee mass of system, it is flat to need to build more peripheries Platform is related between different test environment with test environmental requirement needed for meeting joint debugging flexibly with suitable demand, therefore, for system The research with suitable method of test environment also has been to be concerned by more and more people.
Under the conditions of the prior art, environment is broadly divided into following several with suitable method: (1) fixed environment, i.e., from the whole of system One piece of fixed resource is divided in body resource, builds the test environment of a set of standalone feature, it, should due to network strategy and security consideration Test environment will be isolated from the outside, cannot access or call it is other test environment in applications, need to increase test function item or When extending test scope, corresponding application program can only be affixed one's name in the middle part of the test environment;(2) by hand with suitable strategy, that is to say, that Before performing the testing, first clear test scope, the test wrappers such as incidence relation, network-in-dialing strategy between investigation, combing system Border information formulates application configuration file, test environment parameter allocation plan further according to system performance, deployment request, last manual Adjustment programme code variables, application environment configuration, network connection strategy;(3) template configuration, i.e. smaller, the framework phase for scale Less to simple and application deployment and relatively-stationary application system scene will can commonly test environment allocation plan and form mould Plate modifies to configure or configuration change template is converted to automatized script executing by hand according to template before test.
In conclusion traditional test environment needs a large amount of manpower with suitable method, even trans-departmental, team matches It closes, can just meet the demand of building of primary test environment, the consumption of this manpower and time is difficult to keep up with application demand online Speed, it is difficult to which lasting, stable, the efficient operation for ensureing software quality and production environment largely effects on system testing efficiency.
It is therefore proposed that a kind of method come improve system testing efficiency be current industry it is urgently to be resolved need project.
Summary of the invention
For the defects in the prior art, the embodiment of the present invention provide a kind of test environment with suitable method and agency service Device.
On the one hand, the embodiment of the present invention provide a kind of test environment with suitable method, comprising:
The test service request that reception source system is sent;
The corresponding target purpose system of target detection environment is determined according to the test service request, and by the test industry Business request is forwarded to the target purpose system, so that the target purpose system execution test service request is corresponding Testing process;
The test result that the target purpose system is sent is received, and the test result is forwarded to the source system.
On the other hand, the embodiment of the present invention provides a kind of proxy server, comprising:
Receiving unit, for receiving the test service request of source system transmission;
Processing unit, for determining the corresponding target purpose system of target detection environment according to the test service request, And the test service request is forwarded to the target purpose system, so that the target purpose system executes the test The corresponding testing process of service request;
Transmission unit receives the test result that the target purpose system is sent, and the test result is forwarded to institute State source system.
Another aspect, the embodiment of the present invention provide a kind of electronic equipment, including processor, memory and bus, in which:
The processor, the memory complete mutual communication by bus;
The processor can call the computer program in memory, the step of to execute the above method.
In another aspect, the embodiment of the present invention provides a kind of computer readable storage medium, it is stored thereon with computer program, The step of above method is realized when the program is executed by processor.
Test environment provided in an embodiment of the present invention with suitable method and proxy server, by proxy server according to connecing The test service request that the source system that receives is sent determines the corresponding target purpose system of target detection environment, and by the test Service request is forwarded to the target purpose system, and target purpose system executes the corresponding testing process of the test service request And test result is sent to the proxy server, the source system is forwarded to by proxy server, improves system testing Efficiency.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram with suitable method of test environment provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of proxy server provided in an embodiment of the present invention;
Fig. 3 is electronic equipment entity apparatus structural schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment is the present invention A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram with suitable method of test environment provided in an embodiment of the present invention, as shown in Figure 1, this reality Apply example provide a kind of test environment with suitable method, comprising:
S101, the test service request that source system is sent is received;
Specifically, proxy server receives the test service request that source system is sent.Wherein, the source system can be visitor Family end system, the test service request can carry test service identification, BIP code, the corresponding target of target detection environment The port information of purpose system can also carry other information, specifically can be configured and adjust according to the actual situation, herein It is not specifically limited.
S102, the corresponding target purpose system of target detection environment is determined according to the test service request, and will be described Test service request is forwarded to the target purpose system, so that the target purpose system executes the test service request Corresponding testing process;
Specifically, the proxy server determines the corresponding target mesh of target detection environment according to the test service request System, and the test service request is forwarded to the target purpose system, the target purpose system is receiving After stating test service request, the corresponding testing process of the test service request is executed according to the test service request, is obtained Test result is obtained, the test result is then back to the proxy server.Wherein, test environment include true environment and Virtual environment, the virtual environment are the test environment for needing to build in advance according to test, and purpose system is to provide described true The system of environment or the virtual environment;The target detection environment is the test environment of the test service request selection, phase Ying Di, the system that the target purpose system is to provide the target detection environment.
S103, the test result that the target purpose system is sent is received, and the test result is forwarded to the source System.
Specifically, the proxy server receives the test result that the target purpose system is sent, and by the test As a result it is forwarded to the source system.It is understood that the test service request can also carry the identity of the source system Mark, when the obstacles such as strategy limitation or purview certification are not present between the source system and the purpose system, the purpose System can not be forwarded via the proxy server, and the test result is directly sent to the source system.
Test environment provided in an embodiment of the present invention matches suitable method, by proxy server according to the source system received The test service request of transmission determines the corresponding target purpose system of target detection environment, and the test service request is forwarded To the target purpose system, target purpose system executes the corresponding testing process of the test service request and by test result It is sent to the proxy server, the source system is forwarded to by proxy server, improves system testing efficiency.
On the basis of the above embodiments, further, the test service request carries the target purpose system Port information;Correspondingly, described that the corresponding target purpose system of target detection environment is determined according to the test service request, packet It includes:
The corresponding target purpose system of the target detection environment is determined according to the port information of the target purpose system.
Specifically, the test service request carries the port information of the target purpose system, the proxy server The corresponding target purpose system of the target detection environment is determined according to the port information of the target purpose system.It is understood that , a purpose system corresponds to a port, and the port information includes port address (URL) and port numbering, can be with Including other port informations, specifically it can be configured and adjust according to the actual situation, be not specifically limited herein.For example, institute State the form of the port information of test service request carrying target purpose system such as:http://10.252.45.183:8009/ Customer/order/server? wsdl, then the IP address of proxy server is 10.252.45.183, target purpose system The port numbering of system is 8009, port address customer/order.
On the basis of the above embodiments, further, the test service request carries test service identification;Accordingly Ground, it is described that the corresponding target purpose system of target detection environment is determined according to the test service request, comprising:
According to the test service identification, the purpose system testing service identification list stored in advance is searched, it will be corresponding The consistent purpose system of test service identification that test service identification and the test service request carry is surveyed as the target The corresponding target purpose system in test ring border.
Specifically, the test service request carries test service identification, and the proxy server is according to the test industry Business mark, searches the purpose system testing service identification list stored in advance, the purpose system testing service identification list packet It includes purpose system and tests the corresponding relationship (for example, as shown in table 1) between service identification, the proxy server will be corresponding The consistent purpose system of test service identification that test service identification and the test service request carry is surveyed as the target The corresponding target purpose system in test ring border.It is understood that the test service identification includes test Business Name and test Function number can also include other test service identifications, specifically can be configured and adjust according to the actual situation, herein not It is specifically limited.
For example, the message format for the test industry request that the source system is sent is as shown in table 2, according to table 2, wherein " service_name " is to test Business Name, and " sysfunc_id " is test function number, and the proxy server can Corresponding target purpose system is determined according to the two marks.
Table 1
Table 2
On the basis of the above embodiments, further, the test service request carries BIP code;Correspondingly, institute State method further include:
If receiving the test service request that multiple source systems are sent, stored in advance according to BIP code lookup Business processing Policy List judges the corresponding test business of each test service request for synchronous service or asynchronous service;
If judging, the corresponding test business of the test service request for synchronous service, is sent the multiple source system Test service request synchronize processing;
If judging to know the corresponding test business of the test service request as asynchronous service, to the multiple source system The test service request of transmission carries out asynchronous process.
Specifically, BIP code, the proxy server are carried in the test service request that the source system is sent If receiving the test service request that multiple source systems are sent, the business processing stored in advance is searched according to the BIP code Policy List judges the corresponding test business of each test service request for synchronous service or asynchronous service;If described in judgement Testing the corresponding test business of service request is synchronous service, then carries out to the test service request that the multiple source system is sent Synchronization process, that is to say, that the proxy server is according to the sequencing for receiving the multiple test service request, prime minister It determines the corresponding target purpose system of the target detection environment for the test service request that first receives, and is forwarded to the target Purpose system, receive the target purpose system return test result and will at this time result be forwarded to corresponding source system it Afterwards, second test service request received is then reprocessed, and so on.If the proxy server judgement is known described Testing the corresponding test business of service request is asynchronous service, then carries out to the test service request that the multiple source system is sent Asynchronous process, that is to say, that the proxy server is stood respectively after receiving the test service request that each source system is sent Will each test service request be forwarded to the corresponding target purpose system of respective target detection environment, in respective target mesh System return test result after, it is discrete will each test result be forwarded to corresponding source system, without etc. Next test service request is reprocessed after completing to the processing of previous test service request, further increases testing efficiency.
Table 3
Type of service BIP code
Synchronous service BIP code-1、BIP code-3、BIP code-4、BIP code-5……
Asynchronous service BIP code-2、BIP code-6、BIP code-7、BIP code-8……
On the basis of the above embodiments, further, the method also includes:
If the test service request that multiple source systems are sent is received, according to the test service request being currently received Quantity judges to synchronize processing or asynchronous process to the corresponding test business of each test service request.
On the basis of the above embodiments, further, the quantity for the test request business that the basis is currently received, Judge to synchronize processing or asynchronous process to the corresponding test business of each test service request, comprising:
If judgement knows that the quantity for the test service request being currently received is greater than preset threshold, to the test business Corresponding test business is requested to carry out asynchronous process;Otherwise, the corresponding test business of the test service request is synchronized Processing.
Specifically, if the proxy server receives the test service request that multiple source systems are sent, according to current The quantity of the test service request received, if judgement knows that the quantity for the test service request being currently received is greater than default threshold Value then carries out asynchronous process to the corresponding test business of the test service request, if the proxy server is otherwise, to described The corresponding test business of test service request synchronizes processing.Wherein, the specific stream of the synchronization process and asynchronous process Journey is consistent in above-described embodiment, and details are not described herein again.It is understood that the preset threshold can be according to the actual situation It is configured and adjusts, be not specifically limited herein.
On the basis of the above embodiments, further, the method also includes:
If judgement knows that the test service request breaks down, fault cues message is sent to the source system.
Specifically, if proxy server judgement knows that the test service request breaks down, to the source system System sends fault cues message, can carry error code, the error code and each error code pair in fault cues message The error description answered is specifically as shown in table 4.It should be noted that the proxy server is according to the test business received After request, if can directly reply, response message directly is replied to the source system, carries response generation in the response message Code, the corresponding relationship between the response code and the effect and explanation of response code are specifically as shown in table 5.
Table 4
Error code Error description
0000 Success
0001 Flowing water repeats
0002 Bip code is not present
0003 Database error
0004 Orig Domain mistake
0005 Oper ID is not present
0006 Message format mistake
0009 Business current limliting
0010 Part failure
0011 All failures
Table 5
Test environment provided in an embodiment of the present invention matches suitable method, by proxy server according to the source system received The test service request of transmission determines the corresponding target purpose system of target detection environment, and the test service request is forwarded To the target purpose system, target purpose system executes the corresponding testing process of the test service request and by test result It is sent to the proxy server, the source system is forwarded to by proxy server, improves system testing efficiency.
Fig. 2 is the structural schematic diagram that Fig. 2 is proxy server provided in an embodiment of the present invention;, as shown in Fig. 2, of the invention Embodiment provides a kind of proxy server, including receiving unit 201, processing unit 202 and transmission unit 203, in which:
Receiving unit 201 is used to receive the test service request of source system transmission;Processing unit 202 is used for according to the survey Examination service request determines the corresponding target purpose system of target detection environment, and the test service request is forwarded to the mesh The system of heading, so that the target purpose system executes the corresponding testing process of the test service request;Transmission unit 203 receive the test result that the target purpose system is sent, and the test result is forwarded to the source system.
Proxy server provided in an embodiment of the present invention passes through the test service request sent according to the source system received It determines the corresponding target purpose system of target detection environment, and the test service request is forwarded to target purpose system System, target purpose system execute the corresponding testing process of the test service request and test result are sent to the agency and take Business device, is forwarded to the source system by proxy server, improves system testing efficiency.
Optionally, the test service request carries the port information of the target purpose system;Correspondingly, processing unit 202 are specifically used for determining target detection environment corresponding target purpose system according to the port information of the target purpose system System.
Optionally, the test service request carries test service identification;Correspondingly, processing unit 202 is specifically used for root According to the test service identification, the purpose system testing service identification list stored in advance is searched, by corresponding test business mark It is corresponding as the target detection environment to know the consistent purpose system of test service identification carried with the test service request Target purpose system.
Optionally, the test service request carries BIP code;Correspondingly, if processing unit 202 is specifically used for receiving The test service request sent to multiple source systems is then searched the business processing strategy stored in advance according to the BIP code and is arranged Table judges the corresponding test business of each test service request for synchronous service or asynchronous service;If judging the test industry It is synchronous service that corresponding test business is requested in business, then the test service request sent to the multiple source system synchronizes place Reason;If judging to know, the corresponding test business of the test service request as asynchronous service, is sent the multiple source system Test service request carry out asynchronous process.
Optionally, if processing unit 202 is specifically used for receiving the test service request that multiple source systems are sent, basis The quantity for the test service request being currently received judges to synchronize the corresponding test business of each test service request Processing or asynchronous process.
Optionally, if processing unit 202 is specifically used for judgement and knows that the quantity for the test service request being currently received is big In preset threshold, then asynchronous process is carried out to the corresponding test business of the test service request;Otherwise, to the test business Corresponding test business is requested to synchronize processing.
Optionally, if processing unit 202 is specifically used for judgement and knows that the test service request breaks down, Xiang Suoshu Source system sends fault cues message.
The embodiment of proxy server provided by the invention specifically can be used for executing the processing of above-mentioned each method embodiment Process, details are not described herein for function, is referred to the detailed description of above method embodiment.
Fig. 3 is the entity structure schematic diagram of electronic equipment of the embodiment of the present invention, as shown in figure 3, the electronic equipment can wrap It includes: processor (processor) 301, memory (memory) 302 and bus 303, wherein processor 301, memory 302 are logical It crosses bus 303 and completes mutual communication.Processor 301 can call the computer program in memory 302, as follows to execute Method: the test service request that source system is sent is received;Determine that target detection environment is corresponding according to the test service request Target purpose system, and the test service request is forwarded to the target purpose system, so that target purpose system System executes the corresponding testing process of the test service request;The test result that the target purpose system is sent is received, and will The test result is forwarded to the source system.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt When computer executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, receives source system hair The test service request sent;The corresponding target purpose system of target detection environment is determined according to the test service request, and will The test service request is forwarded to the target purpose system, so that the target purpose system executes the test business Request corresponding testing process;The test result that the target purpose system is sent is received, and the test result is forwarded to The source system.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage Medium storing computer program, the computer program make the computer execute side provided by above-mentioned each method embodiment Method, for example, receive the test service request that source system is sent;Target detection environment is determined according to the test service request Corresponding target purpose system, and the test service request is forwarded to the target purpose system, so that the target Purpose system executes the corresponding testing process of the test service request;Receive the test knot that the target purpose system is sent Fruit, and the test result is forwarded to the source system.
In addition, the logical order in above-mentioned memory 302 can be realized by way of SFU software functional unit and conduct Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally Substantially the part of the part that contributes to existing technology or the technical solution can be in other words for the technical solution of invention The form of software product embodies, which is stored in a storage medium, including some instructions to So that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation of the present invention The all or part of the steps of example the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various It can store the medium of program code.
The embodiment of proxy server described above is only schematical, wherein described be used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying In the case where creative labor, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of test environment matches suitable method characterized by comprising
The test service request that reception source system is sent;
The corresponding target purpose system of target detection environment is determined according to the test service request, and the test business is asked It asks and is forwarded to the target purpose system, so that the target purpose system executes the corresponding test of the test service request Process;
The test result that the target purpose system is sent is received, and the test result is forwarded to the source system.
2. the method according to claim 1, wherein the test service request carries the target purpose system Port information;It is correspondingly, described that the corresponding target purpose system of target detection environment is determined according to the test service request, Include:
The corresponding target purpose system of the target detection environment is determined according to the port information of the target purpose system.
3. the method according to claim 1, wherein the test service request carries test service identification;Phase Ying Di, it is described that the corresponding target purpose system of target detection environment is determined according to the test service request, comprising:
According to the test service identification, the purpose system testing service identification list stored in advance is searched, by corresponding test The consistent purpose system of test service identification that service identification and the test service request carry is as the target detection ring The corresponding target purpose system in border.
4. the method according to claim 1, wherein the test service request carries BIP code;Correspondingly, The method also includes:
If receiving the test service request that multiple source systems are sent, the business stored in advance is searched according to the BIP code Processing strategie list judges the corresponding test business of each test service request for synchronous service or asynchronous service;
If judging the corresponding test business of the test service request for synchronous service, the survey that the multiple source system is sent Examination service request synchronizes processing;
If judging to know, the corresponding test business of the test service request as asynchronous service, is sent the multiple source system Test service request carry out asynchronous process.
5. the method according to claim 1, wherein the method also includes:
If the test service request that multiple source systems are sent is received, according to the number for the test service request being currently received Amount judges to synchronize processing or asynchronous process to the corresponding test business of each test service request.
6. according to the method described in claim 5, it is characterized in that, the number for the test request business that the basis is currently received Amount judges to synchronize processing or asynchronous process to the corresponding test business of each test service request, comprising:
If judgement knows that the quantity for the test service request being currently received is greater than preset threshold, to the test service request Corresponding test business carries out asynchronous process;Otherwise, processing is synchronized to the corresponding test business of the test service request.
7. the method according to claim 1, wherein the method also includes:
If judgement knows that the test service request breaks down, fault cues message is sent to the source system.
8. a kind of proxy server characterized by comprising
Receiving unit, for receiving the test service request of source system transmission;
Processing unit, for determining the corresponding target purpose system of target detection environment according to the test service request, and will The test service request is forwarded to the target purpose system, so that the target purpose system executes the test business Request corresponding testing process;
Transmission unit receives the test result that the target purpose system is sent, and the test result is forwarded to the source System.
9. a kind of electronic equipment, which is characterized in that including processor, memory and bus, in which:
The processor, the memory complete mutual communication by bus;
The processor can call the computer program in memory, to execute as described in claim 1-7 any one The step of method.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It realizes when execution such as the step of claim 1-7 any one the method.
CN201810202624.XA 2018-03-13 2018-03-13 A kind of test environment with suitable method and proxy server Pending CN110278120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810202624.XA CN110278120A (en) 2018-03-13 2018-03-13 A kind of test environment with suitable method and proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810202624.XA CN110278120A (en) 2018-03-13 2018-03-13 A kind of test environment with suitable method and proxy server

Publications (1)

Publication Number Publication Date
CN110278120A true CN110278120A (en) 2019-09-24

Family

ID=67957546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810202624.XA Pending CN110278120A (en) 2018-03-13 2018-03-13 A kind of test environment with suitable method and proxy server

Country Status (1)

Country Link
CN (1) CN110278120A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430108A (en) * 2014-08-25 2016-03-23 腾讯科技(深圳)有限公司 Test environment accessing method and proxy server
CN107154976A (en) * 2017-05-10 2017-09-12 北京微影时代科技有限公司 Website testing method, device and system
CN107169639A (en) * 2017-04-27 2017-09-15 北京云测信息技术有限公司 A kind of test assignment distribution method and device
US20170293550A1 (en) * 2016-04-08 2017-10-12 Electronics And Telecommunications Research Institute Apparatus and method for testing interoperability of robot software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430108A (en) * 2014-08-25 2016-03-23 腾讯科技(深圳)有限公司 Test environment accessing method and proxy server
US20170293550A1 (en) * 2016-04-08 2017-10-12 Electronics And Telecommunications Research Institute Apparatus and method for testing interoperability of robot software
CN107169639A (en) * 2017-04-27 2017-09-15 北京云测信息技术有限公司 A kind of test assignment distribution method and device
CN107154976A (en) * 2017-05-10 2017-09-12 北京微影时代科技有限公司 Website testing method, device and system

Similar Documents

Publication Publication Date Title
US11177999B2 (en) Correlating computing network events
CN109729131B (en) Application request processing method and device and router
WO2020147419A1 (en) Monitoring method and apparatus, computer device and storage medium
CN108696399B (en) Business service test method and device
US20200327045A1 (en) Test System and Test Method
CN111431758B (en) Cloud network equipment testing method and device, storage medium and computer equipment
CN111262759A (en) Internet of things platform testing method, device, equipment and storage medium
CN108206830B (en) Vulnerability scanning method, apparatus, computer equipment and storage medium
US10554532B2 (en) Method and device for establishing performance measurement task and processing performance measurement result
CN106301829A (en) A kind of method and apparatus of Network dilatation
US20150278523A1 (en) Method and system for testing cloud based applications and services in a production environment using segregated backend systems
CN107179995A (en) A kind of performance test methods of application program of computer network
CN110096396B (en) Control method for packet test, distributed application system and storage medium
CN111200523B (en) Method, device, equipment and storage medium for configuring middle platform system
CN113676563B (en) Scheduling method, device, equipment and storage medium of content distribution network service
CN110532021B (en) Processing method of configuration file of distributed control system, client and service device
CN105162894A (en) Equipment identification acquisition method and equipment identification acquisition device
CN112543473B (en) Test method, device and equipment based on network element simulation and computer storage medium
CN113867782A (en) Gray scale distribution method and device, computer equipment and storage medium
CN110413329A (en) IOT equipment remote debugging method, apparatus and system
CN109062786A (en) Operation method, device and the terminal of test case
CN113467780A (en) Data acquisition method and device, electronic equipment and storage medium
CN110380890A (en) A kind of CDN system service quality detection method and system
CN106874371A (en) A kind of data processing method and device
CN109474484B (en) CDN (content delivery network) checking method, device and system

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190924