CN111475359B - System testing method, device and storage medium under multi-message interaction scene - Google Patents
System testing method, device and storage medium under multi-message interaction scene Download PDFInfo
- Publication number
- CN111475359B CN111475359B CN202010286463.4A CN202010286463A CN111475359B CN 111475359 B CN111475359 B CN 111475359B CN 202010286463 A CN202010286463 A CN 202010286463A CN 111475359 B CN111475359 B CN 111475359B
- Authority
- CN
- China
- Prior art keywords
- service message
- test
- message
- terminal
- processing
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 339
- 230000003993 interaction Effects 0.000 title claims abstract description 90
- 238000000034 method Methods 0.000 claims abstract description 90
- 238000012545 processing Methods 0.000 claims abstract description 87
- 230000002159 abnormal effect Effects 0.000 claims abstract description 60
- 230000005856 abnormality Effects 0.000 claims abstract description 27
- 230000009471 action Effects 0.000 claims description 61
- 238000004458 analytical method Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000010276 construction Methods 0.000 claims description 4
- 238000000605 extraction Methods 0.000 claims description 2
- 238000010998 test method Methods 0.000 claims description 2
- 230000001105 regulatory effect Effects 0.000 claims 1
- 238000004088 simulation Methods 0.000 abstract description 7
- 230000008569 process Effects 0.000 description 35
- 230000006870 function Effects 0.000 description 24
- 230000004044 response Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 11
- 238000004891 communication Methods 0.000 description 8
- 230000007246 mechanism Effects 0.000 description 5
- 241000209140 Triticum Species 0.000 description 4
- 235000021307 Triticum Nutrition 0.000 description 4
- 230000003111 delayed effect Effects 0.000 description 4
- 230000011218 segmentation Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000000903 blocking effect Effects 0.000 description 2
- 230000001934 delay Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013100 final test Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/2273—Test methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
- G06F11/26—Functional testing
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
The embodiment of the application discloses a system testing method, a device and a storage medium in a multi-message interaction scene. The method comprises the following steps: the method comprises the steps of constructing a message interaction scene between a test terminal and a target server, sending at least one first service message to the target server in the message interaction scene and/or receiving at least one second service message returned by the target server, performing scrambling processing on a sending time sequence of the first service message and/or performing scrambling processing on a receiving time sequence of the second service message through a test instruction input by a user, detecting whether the test terminal is abnormal in operation after the scrambling processing, and if so, recording abnormality related information. The first service message and the second service message interacted between the terminal and the server are subjected to time sequence anomaly simulation by the test instruction input on the test terminal, so that anomaly information which is not easy to detect in the system is detected, and the test efficiency is improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a system testing method, apparatus, and storage medium in a multi-message interaction scenario.
Background
Under a complex time sequence scene such as live broadcast, a large amount of protocol interactions exist between the server and the terminal, such as instant messaging messages or CGI (common gateway interface) interaction messages interacted between the terminal and the server, if the network delays, fluctuates and the like, phenomena such as packet loss, disorder and the like can occur, and finally, the whole live broadcast process can be abnormal due to the phenomena such as packet loss, disorder and the like.
In the prior art, a system under a multi-message interaction scene needs to be tested, so that problems in the system are found out. In general, the first mode can simulate the conditions of constructing a weak network and network fluctuation through a software tool, so as to construct the conditions of protocol loss or disorder; the second way is to use the protocol debug agent to set the matching rule to capture the specific CGI, and then construct the loss and delay of the specific CGI in a lost or delayed way; thirdly, an AOP scheme of an AspectJ framework is utilized in the android client, an HTTP response or IM message receiving method is woven, corresponding codes are added before or after the original method is executed, the effect of protocol loss or delay is achieved, and time sequence abnormality is constructed.
The applicant found that the following problems exist in the related art: in a weak network or a fluctuating network environment, only the loss and delay of a random protocol can occur, specific time sequence problems can not be simulated and stably reproduced, the prior art scheme can only perform abnormal simulation of complex time sequence aiming at CGI (common gateway interface) and can not perform abnormal simulation of complex time sequence aiming at IM (instant messaging), if the abnormal simulation of the time sequence of an android client is based on an AspectJ frame, the AspectJ frame is complex in configuration and high in use cost, and only aiming at java codes, the current android application can use a large amount of kotlen codes, and the AspectJ frame is invalid aiming at the kotlen codes.
Disclosure of Invention
The embodiment of the application provides a system testing method, device and storage medium in a multi-message interaction scene. The abnormal time sequence condition can be simulated under the scene of multi-message interaction through various test instructions input by a user, so that abnormal information in a system is detected, and the efficiency of system test is improved.
In a first aspect, an embodiment of the present application provides a system testing method in a multi-message interaction scenario, where the method includes:
constructing a message interaction scene between the test terminal and a target server, and sending at least one first service message to the target server and/or receiving at least one second service message returned by the target server in the message interaction scene;
Acquiring a test instruction input by a user;
performing scrambling processing on a sending time sequence of the first service message and/or performing scrambling processing on a receiving time sequence of the second service message according to the test instruction;
detecting whether the test terminal has abnormal operation after the disturbance processing, and if so, recording the related information of the abnormality.
In a second aspect, an embodiment of the present application provides a system testing device in a multi-message interaction scenario, where the device includes:
the construction unit is used for constructing a message interaction scene between the test terminal and the target server, and sending at least one first service message to the target server and/or receiving at least one second service message returned by the target server in the message interaction scene;
the acquisition unit is used for acquiring a test instruction input by a user;
the processing unit is used for carrying out scrambling processing on the sending time sequence of the first service message and/or carrying out scrambling processing on the receiving time sequence of the second service message according to the test instruction;
and the detection unit is used for detecting whether the test terminal is abnormal in operation after the disturbance processing, and if so, recording abnormality related information.
In a third aspect, an embodiment of the present application provides a storage medium, where the storage medium stores a plurality of instructions, where the instructions are adapted to be loaded by a processor, to execute a system testing method in any multi-message interaction scenario provided by the embodiment of the present invention.
In the embodiment of the application, a message interaction scene between a test terminal and a target server is constructed, at least one first service message is sent to the target server in the message interaction scene, and/or at least one second service message returned by the target server is received, then a test instruction input by a user is obtained, the first service message is subjected to disturbance processing on a sending time sequence and/or the second service message is subjected to disturbance processing on a receiving time sequence according to the test instruction, finally whether the test terminal is abnormal in operation after the disturbance processing is detected, and if so, abnormal related information is recorded. According to the method and the device for testing the abnormal information of the server, the test instruction is input to the test terminal, and the time sequence abnormal simulation is conducted on the first service message and the second service message interacted between the test terminal and the server according to the test instruction, so that abnormal information which is not easy to detect in the system is detected, and the test efficiency is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a is a schematic flow chart of a system testing method in a multi-message interaction scenario according to an embodiment of the present disclosure;
FIG. 1b is a second flow chart of a system testing method in a multi-message interaction scenario provided in an embodiment of the present application;
fig. 2 is a schematic diagram of a scenario of a system testing method in a multi-message interaction scenario provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of an improved messaging function provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of an improved message receiving function provided by an embodiment of the present application;
fig. 5a is a first structural schematic diagram of a system testing device in a multi-message interaction scenario provided in an embodiment of the present application;
fig. 5b is a second structural schematic diagram of the system testing device in the multi-message interaction scenario provided in the embodiment of the present application;
Fig. 6 is a schematic structural diagram of a terminal provided in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the application provides a system testing method under a multi-message interaction scene, and an execution subject of the system testing method under the multi-message interaction scene can be a system testing device under the multi-message interaction scene provided by the embodiment of the invention or a terminal integrating the system testing device under the multi-message interaction scene, wherein the system testing device under the multi-message interaction scene can be realized in a hardware or software mode.
Before describing the technical scheme of the invention, related technical terms are briefly explained:
AOP: meaning tangent plane oriented programming (Aspect Oriented Programming), the idea of programming that can dynamically weave code into a class's specified method or location at runtime. A technique for uniformly adding functionality to a method without modifying source code can be implemented by precompiled or run-time, by dynamic proxy.
AspectJX framework: the AspectJX framework is a slice-oriented framework based on the AspectJ framework, and can be aimed at using Java language and kotlin language.
Method Swizzling: when the Object-C programming language is running, the implementation addresses of the two methods are exchanged, and the implementation addresses can be used as an AOP scheme of a safe and simple IOS system platform.
IM message: instant messaging messages may be pushed by a server to multiple clients.
CGI-common gateway interface (Common Gateway Interface/CGI), which is the standard for transferring data between a client and a server, a client initiates a request to a server, and the server returns a response to the client.
The following describes in detail the system test method, device and storage medium in the multi-message interaction scenario.
Fig. 1a is a schematic flow chart of a system testing method of a multi-message interaction scenario according to an embodiment of the present application. The specific flow of the system testing method of the multi-message interaction scene can be as follows:
in step 101, a message interaction scenario between the test terminal and a target server is constructed.
In the application, the system test under the multi-message interaction scene can be completed by the interaction data between the test terminal and the server. It is necessary to construct an interaction scenario between the target server and the test terminal. One target server may correspond to a plurality of test terminals, and one test terminal may correspond to a plurality of target servers.
For example, in a live broadcast scenario, a connection may be established between a plurality of servers and a plurality of terminals, and data interaction occurs between the terminals and the servers. Such as a CGI request message sent by the terminal to the server, a CGI response message sent by the server to the terminal, an IM message (instant messaging message) sent by the terminal to the server, etc.
In the constructed message interaction scene, the test terminal can send at least one first service message to the target server and/or receive at least one second service message returned by the target server. The first service message may be an IM message and a CGI response message sent by the test terminal to the target server, and the second service message may be a CGI response message and an IM message sent by the target server to the test terminal.
102. And acquiring a test instruction input by a user.
In the process of interaction between the test terminal and the target server, the test terminal and the target server have a large amount of protocol interactions, for example, a CGI request message sent by the terminal to the server, a CGI response message sent by the server to the terminal, an IM message (instant messaging message) sent by the terminal to the server, and the like, and the server needs to perform a large amount of protocol interactions with the terminal, for example, on the current live broadcast platform, a large amount of CGI messages and IM message interactions between the terminal and the server are involved. Under the condition of poor network quality, such as delay, fluctuation and the like of a network, the phenomena of packet loss, disorder and the like can occur in the protocol interaction process between the terminal and the server, and finally, the abnormal phenomena of live broadcast blocking, picture loss and the like are caused.
In some embodiments, when the terminal sends the message, a test action instruction and a test object identifier formed by characters, letters, numbers and the like can be input on the terminal, and the test action instruction and the test object identifier can be input together to form the test instruction.
After a user inputs a test instruction, the terminal identifies the test instruction input by the user, and a specific test action instruction and a test object identifier in the test instruction are identified in a preset mode. For example, by identifying a divider between a test action instruction and a test object identifier in the test instruction, or the terminal calls a locally stored preset test action instruction set to compare with the test instruction, if a corresponding test action instruction is found in the preset test action instruction set in the comparison process, the test action instruction in the test instruction can be identified.
It should be noted that, the test action instruction is used to indicate a timing disturbing action performed on the first service message and/or the second service message, that is, to indicate what kind of timing disturbing action is performed on the first service message and/or the second service message; the test object represents a specific first service message and/or a specific second service message for indicating the time sequence scrambling, in short, for indicating which first service messages and/or second service messages are time sequence scrambled.
In some embodiments, the test object identification in the test instruction may be an interactive information name plus literal content combination, e.g., "IM2333" represents the test object identification even though the communication message content is "2333," CGI xxx "represents a particular CGI message of" xxx "in the CGI interactive message. I.e. the test object identification may be a protocol ID or a specific communication content identification.
In one embodiment, the test object identification in the test instruction may also be an identification of the transmitted or received message during the test, such as the number of the message during the transmission or reception. Alternatively, the test object representation may be a protocol identification for the transmitted message or the received message.
103. And performing scrambling processing on the sending time sequence of the first service message and/or performing scrambling processing on the receiving time sequence of the second service message according to the test instruction.
After the user finishes inputting the test instruction, the user can actively click a message sending button to send the first service message to the target server, the test terminal can identify the test instruction after the user stops inputting the test instruction, and after the identification is finished, the test terminal can automatically send the first service message to the server.
In the process that the test terminal sends the first service message to the server, the first service message can be subjected to disturbing processing on the sending time sequence, such as delaying message sending, losing the first service message and the like. And in the process of sending the first service message by the test terminal, the time sequence disturbing processing occurs.
When the test terminal receives the second service message returned by the server, the second service message can be subjected to scrambling processing on the receiving time sequence, such as delaying message receiving, losing the second service message and the like. And in the process of receiving the second service message, the test terminal generates time sequence disturbance processing.
After the user finishes inputting the test instruction, the first service message can be sent to the target server according to the test instruction, and when the target server receives the first service message, the second service message fed back can be sent to the test terminal. In the process of interaction between the server and the test terminal, the first service message and the second service message can be interfered in time sequence.
For example, a test instruction is input to a live broadcast software client of a user terminal, after the test instruction is analyzed, a first service message is sent to a target server, and the server returns a text message to the test terminal according to the first service message, which can be understood as a second service message. For another example, the server may send a CGI response message to the terminal after receiving the first service message, where the CGI response message may also be understood as a second service message sent by the server to the terminal. The text information or the CGI response message can be subjected to the processes of losing, delaying, closing and the like.
The service messages have a sequential time sequence relationship, for example, in a live broadcast scene, after the test terminal sends a wheat connecting request, the test terminal can receive a message for carrying out wheat connecting operation, and can receive a notification message that wheat connecting is successful or wheat connecting is failed later. The interaction between the test terminal and the target server is to simulate the abnormal time sequence of the interaction message or to process the lost time sequence, so that the abnormal time sequence is caused.
104. And detecting whether the test terminal is abnormal in operation after the disturbance processing. If the test terminal has abnormal operation, the process proceeds to step 105, where information about the abnormality is recorded. If the test terminal has no abnormal operation, the step 102 is entered to continue the system test.
In one embodiment, during the protocol interaction between the server and the terminal, if a specific CGI is closed or an IM message is lost or delayed, abnormal information may occur in the system. For example, in the live broadcast process, if the second service message sent by the server is lost or delayed by the test instruction, an abnormality may occur on a live broadcast picture received by the terminal, or a subtitle message is received abnormally, or abnormality information or an abnormality code which is not easy to find occurs inside the system.
After the second service message is processed, whether the system is abnormal or not can be detected, if the system is abnormal, the step 105 is performed, and if the system is not abnormal, the step 102 is performed.
In step 105, if it is detected that the test terminal has abnormal operation, abnormal related information is recorded.
If detecting that the system is abnormal in the process of sending the first service message to receiving the second service message by the test terminal, acquiring an abnormal code and test data corresponding to the abnormal information and storing the abnormal code and the test data. After the test is completed, a tester can analyze the stored abnormal codes and test data of the system, and technically solve the abnormal phenomenon in the system.
In the embodiment of the application, a message interaction scene between a test terminal and a target server is constructed, at least one first service message is sent to the target server in the message interaction scene, and/or at least one second service message returned by the target server is received, then a test instruction input by a user is obtained, the first service message is subjected to disturbance processing on a sending time sequence and/or the second service message is subjected to disturbance processing on a receiving time sequence according to the test instruction, finally, whether the test terminal is abnormal in operation after the disturbance processing is detected, and if so, abnormal related information is recorded. According to the method and the device for testing the abnormal information of the server, the test instruction is input to the test terminal, and the time sequence abnormal simulation is conducted on the first service message and the second service message interacted between the test terminal and the server according to the test instruction, so that abnormal information which is not easy to detect in the system is detected, and the test efficiency is improved.
The method according to the previous embodiments will be described in further detail below.
Referring to fig. 1b, fig. 1b is a second flow chart of a system testing method for providing a multi-message interaction scenario according to an embodiment of the invention. The method comprises the following steps:
in step 201, a system platform of a current terminal is acquired.
It is understood that there are various terminals of system platforms in the market at present, such as an Android system platform or an IOS system platform, etc. Before testing the system, the system platform of the current terminal needs to be acquired to select a corresponding test scheme.
In step 202, the terminal is controlled to send the first service message and receive the second service message according to the system platform by adopting a corresponding message processing mode.
For example, in a live broadcast scenario, a user can only input text information on live broadcast software and send the text information to a server, and when receiving a second service message sent by the server, the user can only identify text content or picture content in the second service message.
In one embodiment, an AOP scheme may be employed to improve the first service message sending function and the second service message receiving function of the terminal.
In one embodiment, the terminal may send the first service message and receive the second service message using different message processing methods for different system platforms.
As shown in fig. 3, fig. 3 is a schematic diagram of an improved message sending function provided in the embodiment of the present application, in the process of sending a message, an original message sending function may be improved, in the process of inputting a test instruction by a user, a test action instruction input by the user is actively identified, and a first service message is sent to a target server. In the process of sending the first service message by the terminal, the first service message can be processed according to the test action instruction. For example, a transmitted first target service message is determined according to the test object identification, and then the first service message is processed according to the test action instruction.
For example, when the system platform of the terminal is an Android system platform, the AspectJX framework can be adopted to modify the original message sending method, and codes of the new message sending method are woven into a designated position for programming while the original message sending method is not affected. A function of identifying the first test message is added to the original message sending method.
The method comprises the steps that an AspectJX framework cuts into an original message sending method, and a test action instruction in test instructions input by a user can be identified in a new message sending method, wherein the AspectJX framework is a section-oriented framework based on the AspectJ framework, and the AspectJX framework can be used for Java language and kotlin language on a terminal of an Android system platform.
On the IOS system platform, the original message sending Method and the message sending Method to be realized can be exchanged by using a Method Swizzling mechanism to realize the function improvement of message sending for the terminal, and then the test action instruction in the test instruction input by the user can be identified in the new message sending Method. Where Method Swizzing is understood to be a switching mechanism, which occurs at runtime and is mainly used to switch two methods at runtime, the Method Swizzling code can be written anywhere, but only after the Method Swilzzling code is executed.
Finally, when the user inputs the test instruction, the test instruction input by the user can be identified to obtain a specific test action instruction and a test object identifier, and then the first service message is sent to the target server.
Referring to fig. 4 together, fig. 4 is a schematic diagram illustrating an improved message receiving function according to an embodiment of the present application.
It can be understood that when the second service message is processed according to the test action instruction and the test object identifier, the Android system platform and the IOS system platform can adopt different modes to improve the message receiving function, and when the terminal receives the second service message returned by the server, delay or loss processing can be performed on the second service message.
For example, when the system platform of the terminal is an Android system platform, an AspectJX framework is adopted to cut into an original message receiving method, and when a second service message sent by a server is received, the received second service message is correspondingly processed through a test action instruction and a test object identifier in a test instruction. For example, the second target service message to be processed is found in the second service message according to the test object identifier, and then the second service message is processed according to the test action instruction.
On the IOS system platform, the original message receiving Method and the message receiving Method to be realized can be exchanged by using a Method Swizzling mechanism, and when the second service message sent by the server is received, the received second service message is correspondingly processed through a test action instruction and a test object identifier in a test instruction. For example, the second target service message to be processed is found in the second service message according to the test object identifier, and then the second service message is processed according to the test action instruction.
In step 203, a test instruction input by a user is obtained, and the test instruction is analyzed to obtain an analysis result.
In one embodiment, when the user inputs the test instruction, the user input instruction can be identified and analyzed, for example, the content of the character, the number, the letter and the like input by the user can be identified, the segmentation symbol and the like input by the user can be identified, and then the analysis result is obtained according to the identified content.
In step 204, a test action instruction and a test action identifier are obtained according to the analysis result.
In one embodiment, after recognizing and analyzing the character combination in the test instruction input by the user, a specific function representing the character combination can be obtained from an analysis result library stored in the terminal, and the test action instruction and the test object identifier can be generated by the specific function corresponding to the character combination.
In one embodiment, the test instruction may be a combination of a test action instruction and a test object identifier directly input by a user, after the user inputs the test instruction, the test instruction is identified and analyzed to obtain a segmentation symbol, and a specific character and number combination is segmented to obtain a final test action instruction and a final test object identifier. For example, entering the test instruction "dropoim 23" represents the test action instruction as discard and the test object is identified as IM message 23. The input delayIM23 represents the test action instruction as a delay and the test object is identified as IM message 23.
In step 205, a first service message is sent to a server, and the first service message is processed according to a test action instruction and a test action identifier.
After the user finishes inputting the test instruction, the user can actively click a message sending button to send the first service message to the server, or after the user stops inputting the test instruction, the terminal can identify the test instruction, and after the identification is finished, the terminal can automatically send the first service message to the server.
In the process that the test terminal sends the first service message to the server, the first service message can be subjected to disturbing processing on the sending time sequence, such as delaying message sending, losing the first service message and the like. And in the process of sending the first service message by the test terminal, the time sequence disturbing processing occurs. For example, thread sleep processing is performed on the first service message.
In step 206, a second service message returned by the server is received, and the second service message is processed according to the test action instruction and the test action identifier.
In one embodiment, the second service message may include a plurality of messages, for example, a CGI response message, an IM message, and if the second service message is a CGI response message, a manner of processing the CGI response message may be obtained according to a test action instruction corresponding to the CGI response message, for example, closing, delaying, or losing the CGI response message. If the second service message is an IM message, a manner of processing the IM message may be obtained according to a specific instruction in the test instruction corresponding to the IM message, for example, delay or loss processing is performed on the IM message. It can be understood that the second service message may include both the CGI response message and the IM message, and the CGI response message and the IM message may be processed accordingly only according to the test action instruction corresponding to the CGI response message and the IM message.
In one embodiment, the second service message received by the terminal may be a message sent by a user ID, for example, in a live broadcast process, the user ID may send a plurality of caption messages, and the server sends the caption messages to the terminal.
And finally, processing the second service message according to a specific processing mode of the second service message, for example, when the processing mode is delayed second service message, performing sleep processing on a thread corresponding to the second service message, and when the processing mode is lost second service message, setting the second service message as a null value.
In step 207, the parameter information of the current network is acquired, and the parameter information is adjusted by a preset network adjustment method to obtain the test network.
In one embodiment, during the system test, the network in the system test environment may be modified, for example, by acquiring the parameter information of the current network, and adjusting the parameter information of the current network, so that the quality of the current network is reduced, thereby better simulating the test environment.
For example, a weak network environment may be simulated by software, for example, adjustments to parameter information of the network, bandwidth, speed, signal strength, power level, etc. of the network. Specifically, the case of constructing a weak NetWork, such as a high-delay NetWork, a high-fluctuation NetWork, a high-packet-loss NetWork, a timeout NetWork, or the like, can be simulated by using a fiddler tool or a networkeditor tool.
In step 208, when an abnormality occurs in the system, a system log of the abnormality is obtained, and the system log and an abnormality code and test data corresponding to the system log are saved to record abnormality information.
In one embodiment, after the second service message is processed, when the system is abnormal, the system automatically generates a system log and stores the system log in the terminal local or server, and the corresponding abnormal code and test data can be found according to the system log and stored, so that a technician can conveniently check the abnormal code and test data, and the abnormal information of the system can be solved.
In the embodiment of the application, the test instruction can be input into the terminal, the system is tested by simulating time sequence abnormality through the test instruction, so that the abnormality information which is not easy to find by a common test means is obtained, and the efficiency of the system test under a multi-message interaction scene is improved.
In summary, in this embodiment of the present application, by acquiring a system platform of a current terminal, controlling the terminal to send a first service message and receive a second service message according to the system platform by adopting a corresponding message processing manner, then acquiring a test instruction input by a user, identifying the test instruction to obtain a specific test action instruction and a test object identifier, sending the first service message to a server by the terminal, then receiving a second service message sent by the server, and performing delay or loss processing on the second service message according to the test action instruction and the test object identifier, so as to record abnormal information when detecting that the system is abnormal after the second service message is processed. The efficiency of system testing under the multi-message interaction scene is improved.
In order to better understand the system testing method of the multi-message interaction scenario described in the embodiments of the present application, please refer to fig. 2, fig. 2 is a schematic diagram of the scenario of the system testing method in the multi-message interaction scenario provided in the embodiments of the present application.
In the current live broadcast, the anchor communicates with the audience, the anchor can connect with a microphone to communicate with the audience, the audience communicates with the anchor by sending characters or pictures, or the anchor agrees that the audience connects with the microphone to communicate, etc. If the network fluctuates, delays and the like, the phenomena of packet loss, disorder and the like occur in the live broadcast process, and abnormal phenomena such as live broadcast blocking and picture loss and the like are caused.
In fig. 2, a server performs protocol interaction with a plurality of terminals such as A, B, C during live broadcast, and the server sends a message to the terminal, or the terminal sends a message to the server, so that in a general scene, the network quality is better, and network conditions such as high delay and high fluctuation cannot occur, and generally, when the network is not good, a user can opt to exit live broadcast software, so that system anomalies caused by phenomena such as time sequence anomalies and packet loss occurring under the network conditions such as high delay and high fluctuation are difficult to find.
By the system testing method under the multi-message interaction scene recorded in the embodiment of the application, a tester can input a testing instruction on live broadcast software, then determine a testing action instruction and a testing object identifier in the testing instruction, and determine a sent first service message according to the testing object identifier. For example, in a live broadcast scenario, when a host is online, a CGI message is sent to a server by using a terminal a, or an IM message is sent to the server by using a terminal B for a person watching live broadcast.
After receiving the first service message, the server sends a second service message to the terminal, and the terminal can determine a second target service message according to the test object identifier and then receive the second service message sent by the server. For example, the CGI response received by terminal a after the anchor comes online is careful, or a text message received at terminal B of the user.
The test terminal sends the first service message to the target server, the target server sends the second service message to the test terminal, and the terminal can delay or lose the first service message and/or the second service message according to the test instruction in the process of sending the first service message and/or the process of receiving the second service message, for example, delay the IM message and lose the CGI response message. Therefore, the time sequence abnormality in the process of sending the first service message and receiving the second service message is caused, meanwhile, a weak network can be set, abnormal information of the system can be found under the condition of abnormal time sequence of the weak network, and the efficiency of system test under the multi-message interaction scene is improved.
In order to implement the method, the embodiment of the invention also provides a system testing device of the multi-message interaction scene, and the system testing device can be integrated in terminal equipment such as a mobile phone, a tablet personal computer and the like.
For example, as shown in fig. 5a, fig. 5a is a first structural schematic diagram of a system testing device in a multi-message interaction scenario provided in an embodiment of the present application.
The system testing device under the multi-message interaction scene comprises:
and the construction unit 510 is used for constructing a message interaction scene between the test terminal and the target server.
In one embodiment, the system test in the multi-message interaction scenario requires interaction data between the test terminal and the server to complete the system test. It is necessary to construct an interaction scenario between the target server and the test terminal. One target server may correspond to a plurality of test terminals, and one test terminal may correspond to a plurality of target servers.
For example, in a live broadcast scenario, a connection may be established between a plurality of servers and a plurality of terminals, and data interaction occurs between the terminals and the servers. Such as a CGI request message sent by the terminal to the server, a CGI response message sent by the server to the terminal, an IM message (instant messaging message) sent by the terminal to the server, etc. An interaction scenario may be constructed by the construction unit 510 and at least one first service message is sent to the target server and/or at least one second service message returned by the target server is received in the message interaction scenario.
The acquiring unit 520 is configured to acquire a test instruction input by a user.
In some embodiments, when the terminal sends the message, a test action instruction and a test object identifier formed by characters, letters, numbers and the like can be input on the terminal, and the test action instruction and the test object identifier can be input together to form the test instruction.
After a user inputs a test instruction, the terminal identifies the test instruction input by the user, and a specific test action instruction and a test object identifier in the test instruction are identified in a preset mode. For example, by identifying a divider between a test action instruction and a test object identifier in the test instruction, or the terminal calls a locally stored preset test action instruction set to compare with the test instruction, if a corresponding test action instruction is found in the preset test action instruction set in the comparison process, the test action instruction in the test instruction can be identified.
Referring to fig. 5b together, fig. 5b is a second structural schematic diagram of the system testing device in the multi-message interaction scenario provided in the embodiment of the present application.
As shown in fig. 5b, the system testing device in the multi-message interaction scenario further comprises a control unit 550.
The control unit 550 is configured to obtain a system platform of the current terminal before the obtaining unit 520 obtains the test instruction input by the user, and control the terminal to send the first service message and receive the second service message according to the system platform by adopting a corresponding message processing manner.
It is understood that there are various terminals of system platforms in the market at present, such as an Android system platform or an IOS system platform, etc. Before testing the system, the system platform of the current terminal needs to be acquired to select a corresponding test scheme.
For example, when the system platform of the terminal is an Android system platform, the control unit 550 may use an AspectJX framework to modify the original message sending method, and weave the code of the new message sending method into a designated position for programming while not affecting the original message sending method. And adding a function of identifying the test instruction to the original message sending method.
The method comprises the steps that an AspectJX framework cuts into an original message sending method, a test instruction for identifying user input can be realized in the new message sending method, wherein the AspectJX framework is a section-oriented framework based on the AspectJ framework, and the AspectJX framework can be used for Java language and kotlin language on a terminal of an Android system platform.
It may be understood that, when the system platform of the terminal is an Android system platform, the control unit 550 may switch into the original message receiving method by adopting the AspectJX framework, and when receiving the second service message sent by the server, perform corresponding processing on the received second service message through the test instruction.
On the IOS system platform, the control unit 550 may exchange the original message sending Method and the message sending Method to be implemented by using the Method Swizzling mechanism, so as to implement the message sending function modification for the terminal, and then may implement the test instruction for identifying the user input in the new message sending Method.
It may be appreciated that, on the IOS system platform, the control unit 550 may exchange the original message receiving Method and the message receiving Method to be implemented by using a Method Swizzling mechanism, and when receiving the second service message sent by the server, perform corresponding processing on the received second service message through a test instruction.
And the processing unit 530 is configured to receive a second test message returned by the server according to the first test message, and process the second test message according to the test instruction.
In one embodiment, during the process of sending the first service message to the server by the test terminal, the first service message may be subjected to scrambling processing on the sending timing, such as delaying message sending, losing the first service message, and the like. And in the process of sending the first service message by the test terminal, the time sequence disturbing processing occurs.
When the test terminal receives the second service message returned by the server, the second service message can be subjected to scrambling processing on the receiving time sequence, such as delaying message receiving, losing the second service message and the like. And in the process of receiving the second service message, the test terminal generates time sequence disturbance processing.
As shown in fig. 5b, the processing unit 530 includes an analysis subunit 531 and an extraction subunit 532 and a processing subunit 533.
And the analysis subunit 531 is configured to analyze the test instruction to obtain a test action instruction and a test object identifier.
In one embodiment, when the user inputs the test instruction, the user input instruction can be identified and analyzed, for example, the content of characters, numbers, letters and the like input by the user can be identified, the segmentation symbol input by the user can be identified, and then the analysis result can be obtained according to the identified content. And obtaining a test action instruction and a test action identifier according to the analysis result.
An extracting subunit 532, configured to extract, according to the test object identifier, a first target service message from the first service message and/or extract a second target service message from the second service message.
And a processing subunit 533, configured to perform, according to the test action instruction, scrambling processing on a transmission timing of the first target service message and/or scrambling processing on a reception timing of the second target service message.
For example, in the process of sending the first service message and receiving the second service message by the terminal, processing modes such as thread sleep, loss, null value setting and the like can be performed on the first service message and the second service message, so that abnormal time sequence is caused.
And a detecting unit 540, configured to detect whether an abnormality occurs in the system after the second test message is processed, and if yes, record the abnormality information.
Upon detecting that an abnormality occurs in the system during the process from sending the first test message to processing the second test message, the detection unit 540 may acquire an abnormality code and test data corresponding to the abnormality information and store the abnormality code and the test data. After the test is completed, a tester can analyze the stored abnormal codes and test data of the system, and technically solve the abnormal phenomenon in the system.
In summary, in the embodiment of the present application, a message interaction scenario between a test terminal and a target server is constructed, at least one first service message is sent to the target server and/or at least one second service message returned by the target server is received in the message interaction scenario, then a test instruction input by a user is obtained, a disturbance process on a sending time sequence is performed on the first service message and/or a disturbance process on a receiving time sequence is performed on the second service message according to the test instruction, finally, whether an operation abnormality occurs in the test terminal after the disturbance process is detected, and if so, abnormality related information is recorded. According to the method and the device for testing the abnormal information of the server, the test instruction is input to the test terminal, and the time sequence abnormal simulation is conducted on the first service message and the second service message interacted between the test terminal and the server according to the test instruction, so that abnormal information which is not easy to detect in the system is detected, and the test efficiency is improved.
Accordingly, embodiments of the present application also provide a terminal, as shown in fig. 6, which may include a Radio Frequency (RF) circuit 601, a memory 602 including one or more computer readable storage media, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a wireless fidelity (WiFi, wireless Fidelity) module 607, a processor 608 including one or more processing cores, and a power supply 609. It will be appreciated by those skilled in the art that the terminal structure shown in fig. 6 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components. Wherein:
the RF circuit 601 may be used for receiving and transmitting signals during a message or a call, and in particular, after receiving downlink information of a base station, the downlink information is processed by one or more processors 608; in addition, data relating to uplink is transmitted to the base station. Typically, RF circuitry 601 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a subscriber identity module (SIM, subscriber Identity Module) card, a transceiver, a coupler, a low noise amplifier (LNA, low Noise Amplifier), a duplexer, and the like. In addition, the RF circuitry 601 may also communicate with networks and other devices through wireless communications. The wireless communication may use any communication standard or protocol including, but not limited to, global system for mobile communications (GSM, global System of Mobile communication), general packet radio service (GPRS, general Packet Radio Service), code division multiple access (CDMA, code Division Multiple Access), wideband code division multiple access (WCDMA, wideband Code Division Multiple Access), long term evolution (LTE, long Term Evolution), email, short message service (SMS, short Messaging Service), and the like.
The memory 602 may be used to store software programs and modules that are stored in the memory 602 for execution by the processor 608 to perform various functional applications and data processing. The memory 602 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the terminal, etc. In addition, the memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 602 may also include a memory controller to provide access to the memory 602 by the processor 608 and the input unit 603.
The input unit 603 may be used to receive input numeric or character information and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 603 may include a touch-sensitive surface, as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations thereon or thereabout by a user (e.g., operations thereon or thereabout by a user using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device and converts it into touch point coordinates, which are then sent to the processor 608, and can receive commands from the processor 608 and execute them. In addition, touch sensitive surfaces may be implemented in a variety of types, such as resistive, capacitive, infrared, and surface acoustic waves. The input unit 603 may comprise other input devices in addition to a touch sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 604 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the terminal, which may be composed of graphics, text, icons, video and any combination thereof. The display unit 604 may include a display panel, which may be optionally configured in the form of a liquid crystal display (LCD, liquid Crystal Display), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay a display panel, and upon detection of a touch operation thereon or thereabout, the touch-sensitive surface is passed to the processor 608 to determine the type of touch event, and the processor 608 then provides a corresponding visual output on the display panel based on the type of touch event. Although in fig. 6 the touch sensitive surface and the display panel are implemented as two separate components for input and output functions, in some embodiments the touch sensitive surface may be integrated with the display panel to implement the input and output functions.
The terminal may also include at least one sensor 605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or backlight when the terminal moves to the ear. The gravity acceleration sensor can detect the acceleration in all directions (generally three axes), can detect the gravity and the direction when the mobile phone is stationary, can be used for identifying the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration identification related functions (such as pedometer and knocking), and other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and the like which are also configured by the terminal are not repeated herein.
The WiFi belongs to a short-distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web pages, access streaming media and the like through the WiFi module 607, so that wireless broadband internet access is provided for the user. Although fig. 6 shows a WiFi module 607, it is understood that it does not belong to the essential constitution of the terminal, and can be omitted entirely as required within a range that does not change the essence of the application.
The processor 608 is a control center of the terminal, and connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the terminal and processes data by running or executing software programs and/or modules stored in the memory 602, and calling data stored in the memory 602, thereby performing overall monitoring of the mobile phone. Optionally, the processor 608 may include one or more processing cores; preferably, the processor 608 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The terminal also includes a power supply 609 (e.g., a battery) for powering the various components, which may be logically connected to the processor 608 via a power management system so as to provide for managing charging, discharging, and power consumption by the power management system. The power supply 609 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the processor 608 in the terminal loads executable files corresponding to the processes of one or more application programs into the memory 602 according to the following instructions, and the processor 608 executes the application programs stored in the memory 602, so as to implement various functions:
constructing a message interaction scene between the test terminal and a target server, and sending at least one first service message to the target server and/or receiving at least one second service message returned by the target server in the message interaction scene;
Acquiring a test instruction input by a user;
performing scrambling processing on a sending time sequence of the first service message and/or performing scrambling processing on a receiving time sequence of the second service message according to the test instruction;
detecting whether the test terminal has abnormal operation after the disturbance processing, and if so, recording the related information of the abnormality.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, which may be stored in a computer-readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a storage medium having stored therein a plurality of instructions capable of being loaded by a processor to perform steps in a system testing method in any of the multiple message interaction scenarios provided by embodiments of the present application. For example, the instructions may perform the steps of:
constructing a message interaction scene between the test terminal and a target server, and sending at least one first service message to the target server and/or receiving at least one second service message returned by the target server in the message interaction scene;
Acquiring a test instruction input by a user;
performing scrambling processing on a sending time sequence of the first service message and/or performing scrambling processing on a receiving time sequence of the second service message according to the test instruction;
detecting whether the test terminal has abnormal operation after the disturbance processing, and if so, recording the related information of the abnormality.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The instructions stored in the storage medium can execute the steps in the system testing method under any multi-message interaction scenario provided by the embodiments of the present application, so that the beneficial effects that can be achieved by the system testing method under any multi-message interaction scenario provided by the embodiments of the present application can be achieved, which are detailed in the previous embodiments and are not repeated herein.
The foregoing describes in detail a system testing method, apparatus and storage medium in a multi-message interaction scenario provided by the embodiments of the present application, and specific examples are applied herein to illustrate principles and implementations of the present application, where the foregoing description of the embodiments is only for helping to understand the methods of the present application and core ideas thereof; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.
Claims (8)
1. The system testing method under the multi-message interaction scene is characterized by being applied to a testing terminal, and comprises the following steps:
constructing a message interaction scene between the test terminal and a target server, and sending at least one first service message to the target server and/or receiving at least one second service message returned by the target server in the message interaction scene;
acquiring a test instruction input by a user;
analyzing the test instruction to obtain a test action instruction and a test object identifier;
extracting a first target service message from the first service message and/or extracting a second target service message from the second service message according to the test object identifier;
performing scrambling processing on a sending time sequence of the first target service message and/or performing scrambling processing on a receiving time sequence of the second target service message according to the test action instruction;
detecting whether the test terminal has abnormal operation after the disturbance processing, and if so, recording the related information of the abnormality.
2. The system testing method according to claim 1, wherein performing scrambling processing on a transmission timing of the first service message and/or scrambling processing on a reception timing of the second service message according to the test action instruction comprises:
Determining the type of a system platform of the test terminal;
and according to the test action instruction, performing scrambling processing on the sending time sequence of the first service message and/or performing scrambling processing on the receiving time sequence of the second service message by using a processing mode corresponding to the system platform type.
3. The system testing method according to claim 2, wherein performing scrambling processing on the transmission timing of the first service message and/or scrambling processing on the reception timing of the second service message using a processing manner corresponding to the system platform type includes:
when the system platform is an Android system platform, performing disturbing processing on a sending time sequence of the first service message and/or disturbing processing on a receiving time sequence of the second service message according to the test action instruction through an AspectJX framework;
when the system platform is an IOS system platform, the first service message is subjected to scrambling processing on a sending time sequence and/or the second service message is subjected to scrambling processing on a receiving time sequence according to the test action instruction in a Method Swizzling mode.
4. A system testing method according to claim 3, wherein performing scrambling processing on the transmission timing of the first target service message and/or scrambling processing on the reception timing of the second target service message according to the test action instruction comprises:
if the test action instruction is a delay instruction, performing sleep processing on the thread corresponding to the first target service message and/or performing sleep processing on the thread corresponding to the second target service message;
and if the test action instruction is a loss instruction, discarding the first target service message and/or discarding the second target service message.
5. The system testing method according to claim 1, wherein sending at least one first service message to the target server and/or receiving at least one second service message returned by the target server in the message interaction scenario comprises:
acquiring parameter information of a current network for a message interaction scene;
the parameter information is regulated through a preset network regulation method to reduce the current network quality so as to obtain a test network;
and sending at least one first service message to the target server and/or receiving at least one second service message returned by the target server in the message interaction scene through the test network.
6. The system testing method of claim 1, wherein recording anomaly related information comprises:
when the system is abnormal, acquiring a system log when the system is abnormal;
and storing the system log and the abnormal codes and test data corresponding to the system log so as to record the abnormal related information.
7. A system testing apparatus in a multi-message interaction scenario, the apparatus comprising:
the construction unit is used for constructing a message interaction scene between the test terminal and the target server, and sending at least one first service message to the target server and/or receiving at least one second service message returned by the target server in the message interaction scene;
the acquisition unit is used for acquiring a test instruction input by a user;
a processing unit comprising:
the analysis subunit is used for analyzing the test instruction to obtain a test action instruction and a test object identifier;
an extraction subunit, configured to extract, according to the test object identifier, a first target service message from the first service message and/or extract a second target service message from the second service message;
The processing subunit is used for carrying out scrambling processing on the sending time sequence of the first target service message and/or carrying out scrambling processing on the receiving time sequence of the second target service message according to the test action instruction;
and the detection unit is used for detecting whether the test terminal is abnormal in operation after the disturbance processing, and if so, recording abnormality related information.
8. A storage medium storing a plurality of instructions adapted to be loaded by a processor to perform the steps of the system test method in the multi-message interaction scenario of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010286463.4A CN111475359B (en) | 2020-04-13 | 2020-04-13 | System testing method, device and storage medium under multi-message interaction scene |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010286463.4A CN111475359B (en) | 2020-04-13 | 2020-04-13 | System testing method, device and storage medium under multi-message interaction scene |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111475359A CN111475359A (en) | 2020-07-31 |
CN111475359B true CN111475359B (en) | 2023-05-30 |
Family
ID=71751691
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010286463.4A Active CN111475359B (en) | 2020-04-13 | 2020-04-13 | System testing method, device and storage medium under multi-message interaction scene |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111475359B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112835761B (en) * | 2021-01-27 | 2023-05-23 | 广州虎牙科技有限公司 | Live broadcast software performance data acquisition method and device, electronic equipment and storage medium |
CN114039899B (en) * | 2021-10-19 | 2023-08-15 | 浙江中控技术股份有限公司 | Method for realizing network performance test of WEB product based on Fiddler tool |
CN114584934B (en) * | 2022-03-14 | 2023-01-06 | 联想(北京)有限公司 | Communication processing method, device, system and storage medium |
CN115495381A (en) * | 2022-10-20 | 2022-12-20 | 中国工商银行股份有限公司 | Interactive scene testing method and system, processor and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1047407A (en) * | 1989-05-17 | 1990-11-28 | 国际商业机器公司 | Method and apparatus for providing additional system features in a data processing system |
US5065312A (en) * | 1989-08-01 | 1991-11-12 | Digital Equipment Corporation | Method of converting unique data to system data |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7539591B2 (en) * | 2001-08-24 | 2009-05-26 | Vi Technology, Inc. | Enterprise test data management system utilizing hierarchical test data models and related methods |
JP2008129628A (en) * | 2006-11-16 | 2008-06-05 | Nomura Research Institute Ltd | Communication method and message relay program in a system for processing a predetermined job by exchanging messages between a plurality of computer systems |
CN102611590A (en) * | 2012-04-23 | 2012-07-25 | 网经科技(苏州)有限公司 | Voice test method for simulating packet loss, delay and jitter under IMS (internet protocol multimedia subsystem) large network environment |
CN103618645A (en) * | 2013-11-28 | 2014-03-05 | 武汉虹旭信息技术有限责任公司 | Complex network environment test system and method with intelligent simulation function |
CN104767655B (en) * | 2015-03-17 | 2018-09-21 | 微梦创科网络科技(中国)有限公司 | A kind of analog result detection method and device |
CN105512343A (en) * | 2016-01-06 | 2016-04-20 | 北京京东尚科信息技术有限公司 | Method and device for simulating network anomaly and testing automatic switching of database faults |
CN105763362A (en) * | 2016-01-20 | 2016-07-13 | 上海学登信息科技有限公司 | Network environment simulation system |
CN108882275A (en) * | 2017-05-16 | 2018-11-23 | 大唐移动通信设备有限公司 | A kind of data processing method and device |
-
2020
- 2020-04-13 CN CN202010286463.4A patent/CN111475359B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1047407A (en) * | 1989-05-17 | 1990-11-28 | 国际商业机器公司 | Method and apparatus for providing additional system features in a data processing system |
CN1206147A (en) * | 1989-05-17 | 1999-01-27 | 国际商业机器公司 | means for providing a fault-tolerant environment and architecture in a data processing system |
US5065312A (en) * | 1989-08-01 | 1991-11-12 | Digital Equipment Corporation | Method of converting unique data to system data |
Also Published As
Publication number | Publication date |
---|---|
CN111475359A (en) | 2020-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111475359B (en) | System testing method, device and storage medium under multi-message interaction scene | |
CN106791892B (en) | Method, device and system for live broadcasting of wheelhouses | |
US20190215364A1 (en) | Data processing method, storage medium, and electronic device | |
US20190205147A1 (en) | Application running method and device | |
CN107329901B (en) | Data packet capturing method, terminal, server and storage medium | |
CN112596848B (en) | Screen recording method, device, electronic equipment, storage medium and program product | |
CN106371964B (en) | Method and device for prompting message | |
CN106649126B (en) | Method and device for testing application program | |
CN111970683A (en) | Method and device for switching SIM (subscriber identity Module) card, terminal equipment and storage medium | |
CN113313804B (en) | Image rendering method and device, electronic equipment and storage medium | |
CN106254910B (en) | Method and device for recording image | |
CN111478849B (en) | Service access method, device and storage medium | |
CN106294108B (en) | Application program testing method and device | |
CN106101764A (en) | A kind of methods, devices and systems showing video data | |
CN107783906A (en) | Method of testing, device and storage medium | |
WO2015070769A1 (en) | Data transfer method and apparatus | |
CN112328492A (en) | Interaction control method and device between anchor and electronic equipment | |
CN110163051B (en) | Text extraction method, device and storage medium | |
CN111209031A (en) | Data acquisition method and device, terminal equipment and storage medium | |
CN109495769B (en) | Video communication method, terminal, smart television, server and storage medium | |
CN108270764B (en) | Application login method, server and mobile terminal | |
CN115756881A (en) | Data processing method, device, equipment and storage medium based on SDK | |
CN112749074A (en) | Test case recommendation method and device | |
CN107622234B (en) | Method and device for displaying budding face gift | |
CN112732250A (en) | Interface processing method, device 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 |