CN113760755A - Novel test method based on mass data - Google Patents
Novel test method based on mass data Download PDFInfo
- Publication number
- CN113760755A CN113760755A CN202110970816.7A CN202110970816A CN113760755A CN 113760755 A CN113760755 A CN 113760755A CN 202110970816 A CN202110970816 A CN 202110970816A CN 113760755 A CN113760755 A CN 113760755A
- Authority
- CN
- China
- Prior art keywords
- equipment
- test
- stability
- service
- data
- 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
Links
- 238000010998 test method Methods 0.000 title claims abstract description 16
- 238000012360 testing method Methods 0.000 claims abstract description 117
- 238000012544 monitoring process Methods 0.000 claims abstract description 34
- 238000011156 evaluation Methods 0.000 claims abstract description 5
- 238000004088 simulation Methods 0.000 claims description 27
- 238000000034 method Methods 0.000 claims description 23
- 238000001514 detection method Methods 0.000 claims description 18
- 230000010485 coping Effects 0.000 claims description 17
- 230000008569 process Effects 0.000 claims description 13
- 238000004519 manufacturing process Methods 0.000 claims description 12
- 230000004044 response Effects 0.000 claims description 11
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 claims description 10
- 238000003860 storage Methods 0.000 claims description 9
- 230000008859 change Effects 0.000 claims description 6
- 230000006854 communication Effects 0.000 claims description 5
- 238000002360 preparation method Methods 0.000 claims description 5
- 238000009530 blood pressure measurement Methods 0.000 claims description 4
- 238000009472 formulation Methods 0.000 claims description 4
- 239000000203 mixture Substances 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 claims description 2
- 230000014759 maintenance of location Effects 0.000 claims 1
- 230000007547 defect Effects 0.000 abstract description 8
- 238000013461 design Methods 0.000 abstract description 7
- 230000008878 coupling Effects 0.000 abstract description 5
- 238000010168 coupling process Methods 0.000 abstract description 5
- 238000005859 coupling reaction Methods 0.000 abstract description 5
- 230000000903 blocking effect Effects 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 238000013459 approach Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000002776 aggregation Effects 0.000 description 1
- 238000004220 aggregation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 238000013522 software testing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a novel test method based on mass data, which comprises the following steps: analyzing a test link, wherein the test link is divided into a core link and a complex service link; step two, flow evaluation is tested, platform service volume is collected and flow related information is checked; step three, constructing a test model, simulating equipment heartbeat, simulating equipment information and simulating an acquisition equipment terminal by using Python; monitoring the test model, and monitoring the stability of the test model, and reminding and repairing the stability fluctuation; and step five, executing the test service, preparing test data, making a corresponding strategy, executing a test scene and establishing a monitoring system. The invention can simulate the coupling of different scene flows, monitor the stability of the test system in real time according to the pressure of mass data, the stability of the test system and the integrity of functions, ensure that the system does not have the situation of blockage, and discover the defects of the service and function design of the system in advance.
Description
Technical Field
The invention relates to the technical field of software testing, in particular to a novel testing method based on mass data.
Background
At present, simulate the stack coupling of different scene flows, it is a big challenge in the test to reserve the operating space who deals with emergency, the development environment on the one hand acquisition equipment is mostly embedded development, in addition, the platform can meet at ordinary times several times or even tens of times's flow peak pressure at the peak period of business, the stability and the functional integrity of platform can't be ensured, the improper reply of any link can cause the business card to pause, the quality of service reduces the scheduling problem, greatly influence user experience.
In order to effectively prevent risks, improve the stability of each service system and improve user experience, terminal acquisition equipment simulation is very necessary, and the equipment simulation not only can find the functional design defects of the platform or the service in advance, but also can position the performance bottleneck of the platform based on the pressure measurement of mass data.
At present, when the device is actually used, a traditional testing method cannot simulate mass data to verify the stability of a platform, interactive linkage is lacked, quality blind spots are easy to occur, and hidden dangers are easy to ignore.
Therefore, the invention is necessary to solve the problems by inventing a novel test method based on mass data, and the invention is a novel test method based on mass data, wherein the novel test method is a Python analog acquisition equipment terminal, is in long connection with a platform server side, and is provided with a Python analog acquisition equipment terminal.
Disclosure of Invention
The invention aims to provide a novel test method based on mass data, which aims at the pressure of the mass data, the stability of a test system and the integrity of functions by simulating the coupling of different scene flows and monitoring the stability of the test system in real time, ensures that the system does not have the situation of blocking, finds out the defects of the service and function design of the system in advance, and improves the user experience so as to solve the defects in the technology.
In order to achieve the above purpose, the invention provides the following technical scheme: a novel test method based on mass data comprises the following steps:
analyzing a test link, wherein the test link is divided into a core link and a complex service link, the core link comprises a certain type of terminal acquisition equipment, a platform service end, a message middleware and platform warehousing service and storage, and the complex service link comprises a plurality of types of terminal acquisition equipment (with different equipment proportions), a platform service end, a message middleware and different equipment corresponding to different warehousing services and storage of different platforms;
step two, flow evaluation testing, including platform service volume collection and flow related information checking, wherein the platform service volume collection is platform service volume collection in a high-peak production time period, meanwhile, whether the service volume in each time period is different needs to be compared, if the service volume in each time period is different, a plurality of service models need to be established according to the step three, and the flow related information checking is that the flow of a platform input flow and the flow of a downstream interface output in a production environment in a month are checked, and QPS (quick Path aggregation service), machine number and system water level information are stored;
step three, constructing a test model, which comprises simulating equipment heartbeat, simulating equipment information and simulating an acquisition equipment terminal by Python, the method comprises the following steps that the heartbeat of the simulation equipment is defined according to a message protocol, the basic information of the equipment comprises an equipment number, an equipment board card number and an equipment MAC address, the heartbeat message of the equipment comprises a sending type, a BAND, a cell state, a radio frequency state, a synchronization state and longitude and latitude information, the heartbeat message of the simulation equipment is defined according to the message protocol, the basic information of the equipment comprises an equipment number, an equipment name, an equipment model, an equipment type, an equipment board card number, an equipment MAC address and equipment longitude and latitude, the reported message of the simulation equipment comprises a sending type, an IMSI, an IMEI and RSSI information, a Python simulation acquisition equipment terminal is used for establishing connection between a self-defined TCP client and a server on the basis of a log test engine according to a first step and a second step, and the whole communication process is as follows: equipment registration, registration response, heartbeat maintenance, detection data reporting and detection data reporting response;
and step four, monitoring the test model, including monitoring the stability of the test model, the fluctuation of the stability is reminded and repaired, wherein the stability of the test model is monitored, the stability of the whole test system is monitored, and a stability numerical range is set, under the condition of different analog data operation in different time periods, the change numerical value of the stability can be recorded, the fluctuation of the stability is reminded and repaired, a prompt tone can be sent out when the change numerical range exceeds the set stability numerical range, the prompt tone is used for reminding a worker, so that the worker can adjust the data operation input condition in time and adjust related equipment and data influencing the stability numerical value, the stability of the system is repaired, and the occurrence of the blockage condition of the system is avoided.
Step five, testing service execution, including test data preparation, coping strategy formulation, test scene execution and monitoring system establishment, wherein the test data preparation is data for testing, the data for testing is derived from data reported by a simulation acquisition equipment terminal, the data is close to reality and the flow is controllable, coping strategies are formulated aiming at different service scenes and different coping strategies need to be formulated, and the coping strategies comprise the following steps: in the pressure measurement process, a certain scene does not reach the target, but the system has a bottleneck, the problem of pressure water level checking needs to be kept, and other services continue to apply pressure; the pressure reaches 100%, individual services do not reach expectations, the pressure needs to be increased continuously, the execution of a test scene is to execute tests according to different service TPS ratios, the service TPS ratios need to be consistent with the service ratios in production, and the establishment of a monitoring system is to establish a complete monitoring system from a client (success rate and error rate) to a server (interface success rate, middleware success rate, water level and the like) in the test process, so that a blind area that only the service availability is concerned and the client and the actual experience of a user are damaged is avoided.
In the technical scheme, the invention provides the following technical effects and advantages:
through the test model construction, the simulation equipment heartbeat, the simulation equipment message and with Python simulation collection equipment terminal, realize keeping long the connection with the platform server, through monitoring the test model, the stability of monitoring the test model, the undulant warning of stability and restoration, record stability change numerical value, and can in time know the stability condition, also be convenient for in time restore, ensure the system stability, compared with the prior art, can simulate the coupling of different scene flows, to the pressure of mass data, the stability of test system and the integrality of function, and monitor test system's stability in real time, ensure that the condition of card pause can not appear in the system, discover the business and the functional design defect of system in advance, improve user experience.
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
The invention provides a novel test method based on mass data, which comprises the following steps:
analyzing a test link, wherein the test link is divided into a core link and a complex service link;
in the first step, the core link includes a certain kind of terminal acquisition equipment, a platform server, a message middleware, platform warehousing service and storage, the complex service link includes a plurality of kinds of terminal acquisition equipment (with different equipment occupation ratios), a platform server, a message middleware and different equipment corresponding to different platforms for different warehousing service and storage, the set core link and the complex service link can simulate the running data under different link conditions, meanwhile, the running data under different terminal acquisition equipment and different proportions of terminal acquisition equipment can be tested, the comparison data can be formed, the optimal scheme can be selected, the advantages and disadvantages of different links can be analyzed, when the user uses the system, the user can perform comparison selection according to the actual test data requirements, the link most suitable for the test data can be selected according to the actual test data requirements, the efficiency is improved, and the use feeling of a user is improved;
step two, flow evaluation is tested, including platform service volume collection and flow related information checking;
the platform traffic of the production high-peak time period is collected, whether the traffic of each time period is different or not is compared, if the traffic of each time period is different, a plurality of service models need to be established according to the third step, different links can be selected according to the traffic, the selectivity is higher, the selection can be carried out according to the actual test data requirements, and the use feeling of a user is improved;
checking the input flow and the output downstream interface flow of the platform in the production environment in the last month, storing QPS, machine number and system water level information, and selecting different links according to the traffic;
step three, constructing a test model, wherein the test model comprises simulating equipment heartbeat, simulating equipment information and simulating an acquisition equipment terminal by using Python;
simulating the heartbeat of the equipment, defining basic information of the equipment to comprise an equipment number, an equipment board card number and an equipment MAC address according to a message protocol, defining the heartbeat message of the equipment to comprise a sending type, a BAND, a cell state, a radio frequency state, a synchronous state and longitude and latitude information, and completely and comprehensively using the heartbeat message of the equipment to ensure that the finally simulated running state of the equipment can be infinitely close to the actual condition;
simulating equipment information, defining basic equipment information including an equipment number, an equipment name, an equipment model, an equipment type, an equipment board card number, an equipment MAC address and equipment longitude and latitude according to a message protocol, defining equipment reporting information including transmission type, IMSI, IMEI and RSSI information, and completely and comprehensively recording the equipment information, so as to conveniently simulate a reaction measure actively made when the equipment has problems in operation according to the equipment information, and more comprehensively respond, wherein the function of the simulation equipment is to improve the accuracy, reduce the error rate, accurately and comprehensively build the simulation equipment so as to ensure that the subsequent data detection is smoothly carried out;
the simulation terminal acquisition equipment establishes connection between the customized TCP client and the server on the basis of the log test engine according to the first step and the second step, and the whole communication process is as follows: the method comprises the steps of device registration, registration response, heartbeat keeping, detection data reporting and detection data reporting response, wherein long connection with a platform server is achieved through a Python simulation acquisition device terminal, the stability and functional integrity of a test system are guaranteed, the stability of the test system is improved, the speed of data detection can be guaranteed, if the stability of the test system is not high, a card pause condition can be caused when an error occurs in any link, the test system can be paused in one link for a long time, the next link cannot be entered, the waiting time is long, and the use feeling of a user is poor;
monitoring the test model, including monitoring the stability of the test model, reminding stability fluctuation and repairing;
monitoring the stability of the test model, monitoring the stability of the whole test system, setting a stability numerical range, and recording the change numerical value of the stability under the conditions of different time periods and different simulation data operation;
the stability fluctuation is prompted and repaired, and if the stability fluctuation exceeds the set stability value range, a prompt tone is sent to remind a worker, so that the worker can adjust the data operation input condition in time and adjust the relevant equipment and data which influence the stability value, the system stability is repaired, and the system is prevented from being jammed;
step five, test service execution, including test data preparation, corresponding strategy formulation, test scene execution and monitoring system establishment;
the method comprises the steps that test data are prepared, data used for testing are derived from data reported by a simulation acquisition equipment terminal, the data are close to reality and controllable in flow, the data close to the actual situation can be tested from the data which are real and controllable in flow, and the data are more practical;
the coping strategy is formulated, aiming at different service scenes, different coping strategies need to be formulated, and the coping strategy comprises the following steps: the method has the advantages that a certain scene does not reach a target in the pressure measurement process, but a bottleneck occurs in the system, the problem of pressure water level investigation needs to be kept, other services continue to be pressed, different coping strategies are provided for different service scenes, system blockage and delay caused by emergency situations can be reduced, the stability of the operation system can be ensured, different service scenes occur, the set coping strategies are directly used through data comparison, the operation efficiency is improved, the operation accuracy is closer to actual data in the process of multiple times of practice, the accuracy is improved, and the reliability of detection results is high;
the method comprises the following steps that a test scene is executed, tests are executed according to different business TPS ratios, the business TPS ratio is required to be consistent with the business ratio in production, the ratio is kept consistent, the condition of seizing cannot occur, the test of specific data can be executed in a specific scene, the error rate can be reduced, and operation errors brought to a test system can be avoided, so that equipment is blocked, the condition of efficiency reduction occurs, the channelized design is more reasonable, and the use process is more convenient;
the method comprises the steps of establishing a monitoring system, wherein in the testing process, a complete monitoring system is established from a client (success rate and error rate) to a server (interface success rate, middleware success rate, water level and the like), so that a blind area that only service availability is concerned and the client and the actual experience of a user are not damaged is avoided, the monitoring system is established to ensure that defects and omissions can be checked in the system operation process, and the monitoring system can be accepted by more people due to the fact that the client and the actual experience of the user feel.
Example 2
The invention provides a novel test method based on mass data, which comprises the following steps:
analyzing a test link, wherein the test link is divided into a core link and a complex service link;
the core link comprises a certain type of terminal acquisition equipment, a platform server, message middleware, platform warehousing services and storage, the complex service link comprises a plurality of types of terminal acquisition equipment (with different equipment proportions), the platform server, the message middleware and different equipment corresponding to different warehousing services and storage of different platforms, the core link and the complex service link can be arranged to simulate the operation data under different link conditions, meanwhile, the operation data under different terminal acquisition equipment and different proportions of the terminal acquisition equipment can be tested, the comparison data can be formed, the optimal scheme can be selected, the advantages and disadvantages of different links can be analyzed, when the core link is used by a user, the user can perform comparison selection according to the actual test data requirements, the link which is most suitable for the test data can be selected according to the actual test data requirements, and the efficiency is improved, the use feeling of the user is improved;
step two, flow evaluation is tested, including platform service volume collection and flow related information checking;
the platform traffic of the production high-peak time period is collected, whether the traffic of each time period is different or not is compared, if the traffic of each time period is different, a plurality of service models need to be established according to the third step, different links can be selected according to the traffic, the selectivity is higher, the selection can be carried out according to the actual test data requirements, and the use feeling of a user is improved;
checking the input flow and the output downstream interface flow of the platform in the production environment in the last month, storing QPS, machine number and system water level information, and selecting different links according to the traffic;
step three, constructing a test model, wherein the test model comprises simulating equipment heartbeat, simulating equipment information and simulating an acquisition equipment terminal by using Python;
simulating the heartbeat of the equipment, defining basic information of the equipment to comprise an equipment number, an equipment board card number and an equipment MAC address according to a message protocol, defining the heartbeat message of the equipment to comprise a sending type, a BAND, a cell state, a radio frequency state, a synchronous state and longitude and latitude information, and completely and comprehensively using the heartbeat message of the equipment to ensure that the finally simulated running state of the equipment can be infinitely close to the actual condition;
simulating equipment information, defining basic equipment information including an equipment number, an equipment name, an equipment model, an equipment type, an equipment board card number, an equipment MAC address and equipment longitude and latitude according to a message protocol, defining equipment reporting information including transmission type, IMSI, IMEI and RSSI information, and completely and comprehensively recording the equipment information, so as to conveniently simulate a reaction measure actively made when the equipment has problems in operation according to the equipment information, and more comprehensively respond, wherein the function of the simulation equipment is to improve the accuracy, reduce the error rate, accurately and comprehensively build the simulation equipment so as to ensure that the subsequent data detection is smoothly carried out;
the simulation terminal acquisition equipment establishes connection between the customized TCP client and the server on the basis of the log test engine according to the first step and the second step, and the whole communication process is as follows: the method comprises the steps of device registration, registration response, heartbeat keeping, detection data reporting and detection data reporting response, wherein long connection with a platform server is achieved through a Python simulation acquisition device terminal, the stability and functional integrity of a test system are guaranteed, the stability of the test system is improved, the speed of data detection can be guaranteed, if the stability of the test system is not high, a card pause condition can be caused when an error occurs in any link, the test system can be paused in one link for a long time, the next link cannot be entered, the waiting time is long, and the use feeling of a user is poor;
monitoring the test model, including monitoring the stability of the test model, reminding stability fluctuation and repairing;
monitoring the stability of the test model, monitoring the stability of the whole test system, setting a stability numerical range, and recording the change numerical value of the stability under the conditions of different time periods and different simulation data operation;
the stability fluctuation is prompted and repaired, and if the stability fluctuation exceeds the set stability value range, a prompt tone is sent to remind a worker, so that the worker can adjust the data operation input condition in time and adjust the relevant equipment and data which influence the stability value, the system stability is repaired, and the system is prevented from being jammed;
step five, test service execution, including test data preparation, corresponding strategy formulation, test scene execution and monitoring system establishment;
the method comprises the steps that test data are prepared, data used for testing are derived from data reported by a simulation acquisition equipment terminal, the data are close to reality and controllable in flow, the data close to the actual situation can be tested from the data which are real and controllable in flow, and the data are more practical;
the coping strategy is formulated, aiming at different service scenes, different coping strategies need to be formulated, and the coping strategy comprises the following steps: the pressure reaches 100%, individual services do not reach expectations, the pressure needs to be increased continuously, different coping strategies are provided for different service scenes, system blocking and delay caused by emergency situations can be reduced, the stability of the operating system can be ensured, different service scenes occur, the set coping strategies are directly used through data comparison, the operation efficiency is improved, the operation accuracy is closer to actual data in the process of multiple times of practice, the accuracy is improved, and the reliability of detection results is high;
the method comprises the following steps that a test scene is executed, tests are executed according to different business TPS ratios, the business TPS ratio is required to be consistent with the business ratio in production, the ratio is kept consistent, the condition of seizing cannot occur, the test of specific data can be executed in a specific scene, the error rate can be reduced, and operation errors brought to a test system can be avoided, so that equipment is blocked, the condition of efficiency reduction occurs, the channelized design is more reasonable, and the use process is more convenient;
the method comprises the steps of establishing a monitoring system, wherein in the testing process, a complete monitoring system is established from a client (success rate and error rate) to a server (interface success rate, middleware success rate, water level and the like), so that a blind area that only service availability is concerned and the client and the actual experience of a user are not damaged is avoided, the monitoring system is established to ensure that defects and omissions can be checked in the system operation process, and the monitoring system can be accepted by more people due to the fact that the client and the actual experience of the user feel.
The implementation mode is specifically as follows: in the third step of the embodiments 1 and 2, the test model construction includes simulating a device heartbeat, simulating a device message, and simulating a device acquisition terminal by using Python, the simulating the device heartbeat defines basic device information according to a message protocol, the basic device information includes a device number, a device board number, a device MAC address, and then defines a device heartbeat message, the device heartbeat message includes a sending type, BAND, a cell state, a radio frequency state, a synchronization state, and latitude and longitude information, and the complete and comprehensive use of the device heartbeat message ensures that the finally simulated device operating state can approach the actual situation infinitely, and the accuracy can be ensured only when the device operating state and the actual situation approach wirelessly, so that the error rate can be reduced, and the detection of data in the subsequent steps can not be affected, the simulating the device message defines the basic device information according to the message protocol, the basic information comprises an equipment number, an equipment name, an equipment model, an equipment type, an equipment board card number, an equipment MAC address and an equipment longitude and latitude, the reported information of the equipment comprises information of a sending type, IMSI, IMEI and RSSI is defined, the information of the equipment is completely and comprehensively recorded, the initiative reaction measures of the equipment when the equipment goes wrong during operation can be conveniently simulated according to the information of the equipment, more comprehensive response can be realized, the accuracy is improved, the error rate is reduced, the simulation equipment can be accurately and comprehensively built, the subsequent data detection is ensured to be carried out smoothly, the simulation terminal acquisition equipment is connected with a user-defined TCP client and a server on the basis of a log test engine according to the first step and the second step, and the whole communication process is as follows: the device registration, the registration response, the heartbeat keeping, the report of the detection code data and the report response of the detection code data are realized by a Python simulation acquisition device terminal, the long connection with a platform server side is realized, the stability and the functional integrity of a test system are ensured, the stability of the test system is improved, the speed of detecting data can be ensured, if the stability of the test system is not high, the situation of blocking is caused by errors in any link, the test system can be stopped in one link for a long time and cannot enter the next link, the waiting time is long, the use feeling of a user is poor, in embodiment 1 and embodiment 2, different pressure operation coping modes are provided aiming at different service scenes, the blocking and the delay of the system caused by emergency can be reduced, the stability of the operation system can be ensured, the setting is more perfect, the invention can simulate the coupling of different scene flows, aiming at the pressure of mass data, the stability and the functional integrity of a testing system, and the stability of the testing system is monitored in real time, the system is ensured not to be blocked, the defects of the service and the functional design of the system are found in advance, and the user experience is improved.
While certain exemplary embodiments of the present invention have been described above by way of illustration only, it will be apparent to those of ordinary skill in the art that the described embodiments may be modified in various different ways without departing from the spirit and scope of the invention. Accordingly, the foregoing description is illustrative in nature and is not to be construed as limiting the scope of the invention as claimed.
Claims (6)
1. A novel test method based on mass data is characterized by comprising the following steps:
analyzing a test link, wherein the test link is divided into a core link and a complex service link;
step two, flow evaluation is tested, including platform service volume collection and flow related information checking;
step three, constructing a test model, wherein the test model comprises simulating equipment heartbeat, simulating equipment information and simulating an acquisition equipment terminal by using Python;
monitoring the test model, including monitoring the stability of the test model, reminding stability fluctuation and repairing;
and step five, executing the test service, including test data preparation, corresponding strategy formulation, test scene execution and monitoring system establishment.
2. The novel test method based on mass data according to claim 1, characterized in that: in the first step, the core link comprises a certain type of terminal acquisition equipment, a platform server, message middleware, platform warehousing service and storage; the complex service link comprises a plurality of types of terminal acquisition equipment, a platform server, message middleware, different equipment and different storage services and storages corresponding to different platforms.
3. The novel test method based on mass data according to claim 1, characterized in that: in the second step, platform traffic of the production high-peak time periods is collected, whether the traffic of each time period is different or not is judged, and if the traffic of each time period is different, a plurality of service models are required to be established according to the third step;
in the second step, the input flow and the output downstream interface flow of the platform in the production environment in the last month are checked, and the QPS, the machine number and the system water level information are stored.
4. The novel test method based on mass data according to claim 1, characterized in that: in the third step, simulating the heartbeat of the equipment, defining basic information of the equipment according to a message protocol, wherein the basic information comprises an equipment number, an equipment board card number and an equipment MAC address, and defining heartbeat information of the equipment comprises a sending type, a BAND, a cell state, a radio frequency state, a synchronization state and longitude and latitude information;
in the third step, simulating equipment information, defining basic equipment information according to a message protocol, wherein the basic equipment information comprises an equipment number, an equipment name, an equipment model, an equipment type, an equipment board card number, an equipment MAC address and equipment longitude and latitude, and defining equipment reporting information comprising information of a sending type, IMSI, IMEI and RSSI;
in the third step, the simulation terminal collects equipment, and establishes connection between the customized TCP client and the server on the basis of the locust test engine according to the first step and the second step, wherein the whole communication process is as follows: equipment registration, registration response, heartbeat maintenance, detection data reporting and detection data reporting response.
5. The novel test method based on mass data according to claim 1, characterized in that: in the fourth step, the stability of the test model is monitored, the stability of the whole test system is monitored, a stability numerical range is set, and the change numerical value of the stability can be recorded under the conditions of different time periods and different simulation data operation;
in step four, the stability fluctuation is reminded and repaired, and the stability value range exceeding the set stability value range can send out a prompt tone for reminding a worker, so that the worker can adjust the data operation input condition in time and adjust the relevant equipment and data influencing the stability value, the system stability is repaired, and the occurrence of the blockage condition of the system is avoided.
6. The novel test method based on mass data according to claim 1, characterized in that: in the fifth step, test data are prepared, wherein the data for testing are derived from the data reported by the terminal of the analog acquisition equipment, the data are close to reality and the flow is controllable;
in the fifth step, a coping strategy is formulated, and different coping strategies need to be formulated for different service scenes, which comprises the following steps: in the pressure measurement process, a certain scene does not reach the target, but the system has a bottleneck, the problem of pressure water level checking needs to be kept, and other services continue to apply pressure; when the pressure reaches 100%, the individual business does not reach the expected requirement, and the pressure is continuously increased;
in the fifth step, a test scene is executed, and a test is executed according to different service TPS occupation ratios, wherein the service TPS occupation ratio is required to be consistent with the service occupation ratio in production;
and in the fifth step, a monitoring system is established, and in the testing process, a complete monitoring system is established from the client to the server, so that a blind area that only the service availability is concerned and the client and the actual experience of the user are damaged is avoided.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110970816.7A CN113760755A (en) | 2021-08-23 | 2021-08-23 | Novel test method based on mass data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110970816.7A CN113760755A (en) | 2021-08-23 | 2021-08-23 | Novel test method based on mass data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113760755A true CN113760755A (en) | 2021-12-07 |
Family
ID=78790847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110970816.7A Pending CN113760755A (en) | 2021-08-23 | 2021-08-23 | Novel test method based on mass data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113760755A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117609101A (en) * | 2024-01-23 | 2024-02-27 | 云筑信息科技(成都)有限公司 | Method for testing multiple engines of big data of user |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1365545A1 (en) * | 2002-05-24 | 2003-11-26 | Siemens Aktiengesellschaft | Method and system for modelling elastic network traffic |
CN110380922A (en) * | 2019-05-29 | 2019-10-25 | 兴业证券股份有限公司 | The full link stress test method and storage medium of transaction system |
CN110618924A (en) * | 2019-09-19 | 2019-12-27 | 浙江诺诺网络科技有限公司 | Link pressure testing method of web application system |
CN112286798A (en) * | 2020-10-19 | 2021-01-29 | 长春创世麒麟科技有限公司 | Full link pressure measurement system and method capable of simulating real user scene |
-
2021
- 2021-08-23 CN CN202110970816.7A patent/CN113760755A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1365545A1 (en) * | 2002-05-24 | 2003-11-26 | Siemens Aktiengesellschaft | Method and system for modelling elastic network traffic |
CN110380922A (en) * | 2019-05-29 | 2019-10-25 | 兴业证券股份有限公司 | The full link stress test method and storage medium of transaction system |
CN110618924A (en) * | 2019-09-19 | 2019-12-27 | 浙江诺诺网络科技有限公司 | Link pressure testing method of web application system |
CN112286798A (en) * | 2020-10-19 | 2021-01-29 | 长春创世麒麟科技有限公司 | Full link pressure measurement system and method capable of simulating real user scene |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117609101A (en) * | 2024-01-23 | 2024-02-27 | 云筑信息科技(成都)有限公司 | Method for testing multiple engines of big data of user |
CN117609101B (en) * | 2024-01-23 | 2024-05-28 | 云筑信息科技(成都)有限公司 | Method for testing multiple engines of big data of user |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7707031B2 (en) | Large scale measurement of subjective quality in mobile communications systems | |
US8737980B2 (en) | End to end application automatic testing | |
US9282477B2 (en) | Modifying log files and playback files used for wireless network emulation | |
CN109726071A (en) | System failure processing method, device, equipment and storage medium | |
CN110633905B (en) | Intelligent Che Yun platform reliability calculation method and system | |
CN102685789B (en) | Method for evaluating QoE (Quality Of Experience) of voice service user perception experience by simulating user behaviors | |
CN109525736B (en) | Voice dial testing loopback method and device | |
CN105790801B (en) | The pairing test method and test device of a kind of electronic equipment and bluetooth equipment | |
CN113760755A (en) | Novel test method based on mass data | |
CN102821416A (en) | System for testing abnormal interruption of wireless communication module and application method thereof | |
US7793171B2 (en) | Protocol tester and method for performing a protocol test | |
CN107770798A (en) | A kind of data analysing method and device | |
US20070004399A1 (en) | Quality assessment for telecommunications network | |
US20050287954A1 (en) | System and method for monitoring a communications network | |
KR101640476B1 (en) | Test analysis system of network and analysis method thereof | |
CN111679652A (en) | Test method and device based on smart screen, smart screen and readable storage medium | |
CN103686833A (en) | Mobile network voice quality estimating method and device | |
CN102802172B (en) | Wireless communication quality testing method and device based on intelligent terminal | |
CN111459727B (en) | Intelligent automatic test system and method for serial port baud rate maximum error-free tolerance range | |
CN112867044A (en) | Base station simulation test terminal, test method and device | |
CN115540701B (en) | Carrier rocket distributed test system and test method based on 5G network | |
CN108965053B (en) | Method, device and system for testing software pressure of upper computer | |
CN114879529A (en) | Simulation test method and system of PIS | |
CN114546748A (en) | Health degree dynamic analysis method and system based on application simulation dial test | |
CN111901206A (en) | Network card testing method, device and related equipment |
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 |