CN112925725A - Data testing method and device, readable storage medium and electronic equipment - Google Patents

Data testing method and device, readable storage medium and electronic equipment Download PDF

Info

Publication number
CN112925725A
CN112925725A CN202110382111.3A CN202110382111A CN112925725A CN 112925725 A CN112925725 A CN 112925725A CN 202110382111 A CN202110382111 A CN 202110382111A CN 112925725 A CN112925725 A CN 112925725A
Authority
CN
China
Prior art keywords
test
user
time
data
result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110382111.3A
Other languages
Chinese (zh)
Other versions
CN112925725B (en
Inventor
刘媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110382111.3A priority Critical patent/CN112925725B/en
Publication of CN112925725A publication Critical patent/CN112925725A/en
Application granted granted Critical
Publication of CN112925725B publication Critical patent/CN112925725B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal 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)
  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

The disclosure relates to a data testing method, a data testing device, a readable storage medium and an electronic device, and relates to the technical field of data processing, wherein the method comprises the following steps: the method comprises the steps of obtaining a current scene where a user is located, monitoring the operation of the user in the current scene to obtain a first operation of the user, and generating a test case according to the current scene and the first operation of the user; acquiring the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping; and executing the test case, testing the first operation of the user to obtain a test result, and verifying the test result. The present disclosure improves the efficiency of data testing.

Description

Data testing method and device, readable storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data testing method, a data testing device, a readable storage medium and electronic equipment.
Background
With the development of information technology, live broadcast platforms are also developed, and live broadcast activities need to be tested in common live broadcast platforms of networks in order to ensure the normal operation of the live broadcast activities. At present, the test content related to time is more and more in the test of live broadcast activities, and in order to realize the test of the live broadcast activities at the specified time, a tester can only test the live broadcast activities at the specified time and observe the correctness of the system function.
Although the method for testing the live broadcast activity by the tester at the designated time can complete the test of the live broadcast activity, on one hand, after the tester misses the designated time, the tester needs to wait until the next test time point to perform the function test, and due to the error of manual operation, the time for the test data to reach the server is not the execution time of the test case, and cannot reach an ideal test scene, so that the data test efficiency is low; on the other hand, the test logic for a particular point in time cannot be simulated.
Therefore, it is desirable to provide a new data testing method.
It is to be noted that the information invented in the above background section is only for enhancing the understanding of the background of the present invention, and therefore, may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the present invention is to provide a data testing method, a data testing apparatus, a readable storage medium, and an electronic device, which overcome, at least to some extent, the problem of low data testing efficiency due to the limitations and disadvantages of the related art.
According to an aspect of the present disclosure, there is provided a data testing method, including:
the method comprises the steps of obtaining a current scene where a user is located, monitoring the operation of the user in the current scene to obtain a first operation of the user, and generating a test case according to the current scene and the first operation of the user;
acquiring the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping;
and executing the test case, testing the first operation of the user to obtain a test result, and verifying the test result.
In an exemplary embodiment of the present disclosure, after obtaining the first operation of the user, the data testing method further includes:
generating a push protocol corresponding to a first operation of the user, and sending the first operation and attribute information corresponding to the first operation to a server side based on the push protocol;
and receiving the updating data sent by the server.
In an exemplary embodiment of the present disclosure, after the first operation and the attribute information corresponding to the first operation are sent to a server, the data testing method further includes:
and storing the push protocol.
In an exemplary embodiment of the present disclosure, acquiring the test time of the current scenario, setting a mapping between the test time and the current time, and triggering the test time according to the current time and the mapping includes:
acquiring the test time of the current scene by using a time acquisition method included in a basic library;
acquiring the current time, and establishing a mapping relation between the current time and the test time;
and triggering the test time by using the time acquisition method based on the current time.
In an exemplary embodiment of the present disclosure, verifying the test result includes:
taking the updating result sent by the server as the test result;
and acquiring a preset expected result corresponding to the first operation, and verifying the test result through the preset expected result.
According to an aspect of the present disclosure, there is provided a data testing method, including:
receiving a first operation of a user in a preset time and attribute information of the first operation, which are sent by a client;
updating data in a database based on the first operation and the attribute information of the first operation to obtain an updating result;
and sending the updating result to the client so that the client checks the test result of the client according to the updating result.
According to an aspect of the present disclosure, there is provided a data testing apparatus including:
the test case generation module is used for acquiring a current scene where a user is located, monitoring the operation of the user in the current scene to obtain a first operation of the user, and generating a test case according to the current scene and the first operation of the user;
the test time triggering module is used for acquiring the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping;
and the test result verification module is used for executing the test case, testing the first operation of the user to obtain a test result and verifying the test result.
According to an aspect of the present disclosure, there is provided a data testing apparatus including:
the attribute information receiving module is used for receiving a first operation of a user in a preset time and attribute information of the first operation, which are sent by a client;
the data updating module is used for updating data in a database based on the first operation and the attribute information of the first operation to obtain an updating result;
and the updating result sending module is used for sending the updating result to the client so that the client verifies the testing result of the client according to the updating result.
According to an aspect of the present disclosure, there is provided a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the data testing method of any of the above-described exemplary embodiments.
According to an aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the data testing method of any of the above exemplary embodiments via execution of the executable instructions.
On one hand, the data testing method provided by the embodiment of the invention acquires a current scene where a user is located, monitors the operation of the user in the current scene to obtain a first operation of the user, and generates a test case according to the current scene and the first operation of the user; acquiring the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping; executing the test case, testing the first operation of the user to obtain a test result, verifying the test result, and triggering the test time through the current time due to the fact that the test time of the current scene is obtained, the mapping relation between the current time and the test time is set, so that the test of the monitored first operation is completed, the problem that in the prior art, after a tester misses the designated time, the test can be performed only when the tester waits for the next test time point is solved, and the efficiency of data test is improved; on the other hand, the operation behavior of the user in the current scene is monitored, the first operation of the user is obtained, the test case is generated according to the first operation, the test time is triggered through the current time, the error of manual operation is solved, and the simulation of the test logic at the special time point can be realized.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. It is obvious that the drawings in the following description are only some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 schematically illustrates a flow chart of a data testing method according to an example embodiment of the present disclosure.
FIG. 2 schematically illustrates a block diagram of a data testing system according to an example embodiment of the present disclosure.
FIG. 3 schematically illustrates a flow chart of a method of obtaining a test of data after a first operation by a user, according to an example embodiment of the present disclosure.
Fig. 4 is a flowchart schematically illustrating a method for a server to perform data adjustment based on attribute information of a first operation according to an example embodiment of the present disclosure.
Fig. 5 schematically illustrates a flowchart of a method of triggering a test time according to a current time, according to an example embodiment of the present disclosure.
Fig. 6 schematically illustrates a flow chart of a method of verifying test results according to an example embodiment of the present disclosure.
FIG. 7 schematically shows a block diagram of a test result verification according to an example embodiment of the present disclosure.
Fig. 8 schematically illustrates a flow chart of a method of verifying gift giving data according to an example embodiment of the present disclosure.
FIG. 9 schematically illustrates a block diagram of a bank reward check, according to an example embodiment of the present disclosure.
Fig. 10 schematically illustrates a block diagram of a data testing device according to an example embodiment of the present disclosure.
Fig. 11 schematically illustrates a block diagram of a data testing device according to an example embodiment of the present disclosure.
Fig. 12 schematically illustrates an electronic device for implementing the above game scene generation method according to an example embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention may be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the invention.
Furthermore, the drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In current live activity testing, time-dependent test content is increasing, for example: the user gives the ceremony data at 23 points, 59 minutes and 59 seconds without counting in the list, which can cause the error of the data of the previous week list and can not correctly give the reward of the user in the list, and the test of the tester on the scenes can only select the time of starting the squatting point task at present, test the functional module corresponding to the task and further observe the correctness of the functional module. However, the method of relying on manual testing by a tester has the following problems: (1) due to errors of manual operation, the time for data to reach the server is not the time for case design, so that an ideal test scene cannot be achieved; (2) after the tester misses the time point, the tester may wait for the next time point to complete the function test; (3) the test time is limited, and the test logic of the special time node cannot be simulated; (4) the operation is carried out in a large batch at the same time, and the verification of the test result has no uniform standard.
In view of one or more of the above problems, the present exemplary embodiment first provides a data testing method, which may be executed in a device terminal, where the device terminal may include a PC terminal, a mobile terminal, and the like; of course, those skilled in the art may also operate the method of the present invention on other platforms as needed, and this is not particularly limited in this exemplary embodiment. Referring to fig. 1, the data testing method may include the steps of:
s110, acquiring a current scene where a user is located, monitoring the operation of the user in the current scene to obtain a first operation of the user, and generating a test case according to the current scene and the first operation of the user;
s120, obtaining the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping;
and S130, executing the test case, testing the first operation of the user to obtain a test result, and verifying the test result.
On one hand, the data testing method acquires a current scene where a user is located, monitors the operation of the user in the current scene to obtain a first operation of the user, and generates a test case according to the current scene and the first operation of the user; acquiring the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping; executing the test case, testing the first operation of the user to obtain a test result, verifying the test result, and triggering the test time through the current time due to the fact that the test time of the current scene is obtained, the mapping relation between the current time and the test time is set, so that the test of the monitored first operation is completed, the problem that in the prior art, after a tester misses the designated time, the test can be performed only when the tester waits for the next test time point is solved, and the efficiency of data test is improved; on the other hand, the operation behavior of the user in the current scene is monitored, the first operation of the user is obtained, the test case is generated according to the first operation, the test time is triggered through the current time, the error of manual operation is solved, and the simulation of the test logic at the special time point can be realized.
Hereinafter, each step involved in the data testing method of the exemplary embodiment of the present disclosure is explained and explained in detail.
First, an application scenario and an object of the exemplary embodiment of the present disclosure are explained and explained.
Specifically, the exemplary embodiment of the present disclosure may be used to test the functional correctness of the functional module corresponding to various live activities included in the live broadcast process, so as to solve the problem of low test efficiency in the live broadcast activity test.
The embodiment of the invention generates a test case of a first operation and a push protocol corresponding to the first operation on the basis of a monitored current scene where a user is located and the first operation of the user within a preset time, and pushes attribute information corresponding to the first operation to a server, so that the server updates data in a database according to the attribute information corresponding to the first operation; meanwhile, the test time of the current scene is obtained at the client, the mapping relation between the current time and the test time is set, the test time is triggered through the current time to test the first operation of the user, a test result is obtained, finally, the test result is verified, the mapping between the future time node and the current time node in the test is realized, on the other hand, the user behavior is automatically monitored, a test case is generated, the execution time of the test case is controlled, the problem that the test logic of a special time point cannot be simulated is solved, and the efficiency of data test is improved.
Next, the data test system referred to in the exemplary embodiments of the present disclosure is explained and explained. Referring to fig. 2, the data test system may include: an application configuration layer 210, a use case configuration layer 220, a use case authoring layer 230, a use case auto generation layer 240, a use case execution layer 250, and a use case results generation layer 260. The application configuration layer 210 is configured to manage application protocol configuration, database configuration, and cache configuration, where the application protocol configuration may include a communication protocol between a server and a client, and may also include a communication protocol between a server and a push protocol corresponding to a special live activity; the database configuration includes an IP (Internet Protocol Address) Address and a port Address; the cache configuration comprises an IP address; the use case configuration layer 220 is in network connection with the application configuration layer 210 and is used for designing different test cases according to the live activities, executing the test cases in batches, stopping executing the test cases and managing the global environment configuration of the live activities; the case compiling layer 230 is connected to the case configuration layer 220 through a network, and is configured to describe the test case, set an execution condition of the test case, a pre-test case execution environment, and a post-test case execution environment, where the pre-test case execution environment is a processing operation required before the test case is executed, and the post-test case execution environment is a processing operation required after the test case is executed; the use case automatic generation layer 240 is connected with the use case compiling layer 230 through a network and is used for monitoring different operation behaviors of the user in different live broadcast scenes, generating communication protocols corresponding to the different operation behaviors and sending information corresponding to the user operation behaviors to the server through the different communication protocols to obtain an updating result of the server; the use case execution layer 250 is connected with the use case automatic generation layer 240 through a network and is used for automatically executing the test use cases in batches at regular time to obtain a test result; the use case result generation layer 260 is connected to the use case execution layer 250 through a network, and is configured to access the update result of the server and the test result of the client to the automatic verification system, and verify the test result.
Hereinafter, steps S110 to S130 will be explained and explained in detail with reference to fig. 2.
In step S110, a current scene where a user is located is obtained, an operation of the user in the current scene is monitored to obtain a first operation of the user, and a test case is generated according to the current scene and the first operation of the user.
The current scene where the user is located is an activity scene included in the live broadcasting process, wherein the activity scene included in the live broadcasting process may be a gift sending activity of the user at a special time node, a click behavior of the user, a lottery behavior of the user, and a redemption behavior of the user, and the current scene is not specifically limited in this example. The first operation of the user may be stage gift sending, anchor winning, award dispensing, lottery drawing, or redemption, or delayed settlement, and in this exemplary embodiment, the first operation of the user is not specifically limited. The test case generation may be based on a white box test case generation or a black box test case generation, and is not limited in this example embodiment.
The live broadcast platform in which the live broadcast is located mainly provides basic services of live broadcast application services, such as: the method comprises the following steps of providing an uplink and downlink message channel of a client, connecting an external system, managing application and the like, wherein the live broadcast platform mainly comprises three processes which are respectively as follows: linkbalancer, svrnotify and smgrsvr, when an application included in live broadcast performs a registration process, firstly, the application needs to provide registration information to a smgrsvr process, wherein the registration information can be an IP address of the application and an address of the application providing service for a user; the smgrsvr process forwards the registration information to an svrnotify process, the svrnotify process is responsible for verifying the registration information, when the verification is passed, the svrnotify process returns the registration result to the registered application through the smgrsvr process, and when the registration is successful, the resource information of the live broadcast platform is pushed to the client through the broadcast process; the linkbalancer process is used for communicating with the access layer, and the user client accesses the live broadcast platform through the access layer, so that the user can access different applications included in the live broadcast.
In this exemplary embodiment, referring to fig. 3, after obtaining the first operation of the user, the data testing method further includes step S310 and step S320:
in step S310, a push protocol corresponding to a first operation of the user is generated, and the first operation and attribute information corresponding to the first operation are sent to a server based on the push protocol;
in step S320, the update data sent by the server is received.
Hereinafter, step S310 and step S320 will be explained and explained. The push Protocol corresponding to the first operation may be an HTTP (HyperText Transfer Protocol) Protocol or a TCP (Transmission Control Protocol), and in this example, the push Protocol is not specifically limited. The push protocol may be a push protocol from a client to a server, or may also be a protocol between different application servers, and when a certain operation is a key operation behavior in a live activity, a push protocol corresponding to the key operation behavior may be generated, where the key operation is the highest occurrence frequency of the operation or the highest priority of the operation, and the key operation is not specifically limited in this example embodiment.
When the push protocol is from a client to a server, firstly, acquiring the unique identifier of a user, and pushing the unique identifier of the user to an access layer; secondly, receiving a message sent by an access stratum, wherein the message sent by the access stratum may include: the unique identification of the message, the information of the live broadcast room where the user is located, the channel information, the user information and the IP address of the client; and packaging the message sent by the access layer, and finally sending the packaged data to the client.
When the push protocol is a push protocol between different application servers, the push protocol may include a Json packing manner and a commonjon packing manner, and the push protocol between different application servers is specifically defined in this exemplary embodiment. When the push protocol is in a Json packaging mode, firstly, acquiring a unique identifier of a user and original data of attribute information corresponding to a first operation of the user, and packaging the unique identifier of the user and the original data of the attribute information corresponding to the first operation of the user; then, acquiring the head of the original message transmission protocol; and finally, sending the unique identification of the packaged user and the original data of the attribute information corresponding to the first operation of the user to another server corresponding to the current server through the head of the original message transmission protocol. When the push protocol is in a common Json packaging mode, firstly, acquiring original data of attribute information corresponding to a first operation of a user, and carrying out format serialization on the original data; secondly, acquiring a unique identifier of the user, and packaging the format serialized original data and the unique identifier of the user; thirdly, acquiring a header of an original message transmission protocol, wherein the message transmission protocol can be an HTTP protocol or a TCP protocol; and finally, transmitting the unique identification of the packaged user and the original data with the serialized format to another server corresponding to the current server for the header passing through the original message transmission protocol.
When the push protocol is a push protocol corresponding to the key operation, the key operation may be a gift sending operation, and the protocol may be used to display gift sending data of the user in the current scene. The method specifically comprises the following steps: firstly, acquiring a unique identifier of a user and original data of attribute information corresponding to a first operation of the user, and packaging the unique identifier and the original data; then, acquiring the head of the original message transmission protocol; and finally, sending the packed data to the current scene through the acquired head of the original message transmission protocol.
After the client sends the attribute information corresponding to the first operation of the user to the client through the push protocol, the client may adjust the data in the database based on the received attribute information of the first operation, as shown in fig. 4, where the adjusting may include steps S410 and S420:
in step S410, a data table corresponding to the first operation is determined, and a data field to be adjusted is determined in the data table;
in step S420, the data fields in the data table that need to be adjusted are updated according to the attribute information of the first operation.
Hereinafter, step S410 and step S420 will be explained and explained. Specifically, firstly, according to a current scene where a user is located and a first operation of the user, a public data table corresponding to the current scene and a data table corresponding to the first operation are determined; secondly, updating the data fields in the data table according to the attribute information of the first operation; thirdly, determining common attribute information in the current scene according to the attribute information of the first operation; and finally, updating the data field in the public data table according to the public attribute information. For example, when a current scene where a user is located is a user special node for gift delivery, and a first operation of the user is gift delivery, firstly, determining a data table for recording current scene public data in a database, wherein the public data can include the number of tickets of a main broadcast in a current live broadcast and the size of a prize pool of a live broadcast room corresponding to the current scene, and the prize pool of the live broadcast room is used for distributing rewards to all users in the current live broadcast room after the live broadcast is finished; in the data table corresponding to the first operation of the user, the data table may include: the unique identification of the user participating in the gift sending and the category of the gift sending of the user are not specifically limited in the present exemplary embodiment, the data field in the public data table and the data field included in the data table corresponding to the first operation are not specifically limited; secondly, updating the value of a data field included in a data table corresponding to the first operation according to the attribute information of the first operation of the user, and meanwhile, calculating the change value of the first operation of the user on the public data according to the attribute information of the first operation, wherein the change value can be the change value of the number of main broadcast tickets after the user delivers the gift and the change number of a prize pool of a live broadcast room where the user is located; and finally, updating the numerical value of the public data field in the public data table according to the changed value of the public data.
After updating the data field in the data table, in order to ensure data consistency, the data in the cache needs to be updated, where the updating the data in the cache may be: adopting a double-write mode, and updating data in the cache when a data table in the database is updated; updating the data in the cache may further include: first, data in a data table included in a database is updated, and then the updated data in the data table is synchronized to a cache.
Further, the server needs to push the updated data in the database and the updated data in the cache to the client, so as to serve as the test result of the current test.
In this exemplary embodiment, after sending the first operation and the attribute information corresponding to the first operation to the server, the data testing method further includes:
and storing the push protocol.
Specifically, after a push protocol corresponding to the first operation of the user is generated, the push protocol can be stored, and when the first operation occurs again in the live broadcast room, the attribute information corresponding to the first operation can be pushed to the server side through the stored push protocol corresponding to the first operation, so that the efficiency of data testing is improved.
In step S120, the test time of the current scene is obtained, a mapping between the test time and the current time is set, and the test time is triggered according to the current time and the mapping.
The test time of the current scene is future time relative to the current time, and the current time is mapped to the future time by setting the mapping relation between the current time and the future time, so that the problem that data in scenes with infinitely long calculation time are difficult to test is solved.
In this exemplary embodiment, referring to fig. 5, acquiring the test time of the current scenario, setting a mapping between the test time and the current time, and triggering the test time according to the current time and the mapping includes steps S510 to S530:
in step S510, a time acquisition method included in the base library is used to acquire the test time of the current scene;
in step S520, obtaining the current time, and establishing a mapping relationship between the current time and the test time;
in step S530, the test time is triggered by the time obtaining method based on the current time.
Hereinafter, steps S510 to S530 will be explained and explained. Specifically, the start test time of all scenes included in live broadcast can be obtained by a general method run _ ts in a general basic library; secondly, setting mapping between the current time and the test starting time, wherein the mapping can be a time stamp; and finally, reading the current time by using a run _ ts universal method, triggering the test starting time according to the mapping relation between the current time and the test starting time, and testing the first operation of the user.
In step S130, the test case is executed, the first operation of the user is tested, a test result is obtained, and the test result is verified.
The test case of the first operation of the user is generated by the case writing layer according to the current environment where the user is located and the first operation of the user, wherein the test case comprises the execution condition of the test case, the environment before the test case is executed and the environment after the test case is executed.
In this exemplary embodiment, referring to fig. 6, verifying the test result includes steps S610 and S620:
in step S610, the update result sent by the server is used as the test result;
in step S620, a preset expected result corresponding to the first operation is obtained, and the test result is verified according to the preset expected result.
Hereinafter, step S610 and step S620 will be explained and explained. Specifically, first, an expected test result included in a test case is obtained; secondly, the expected test result and the updated data sent by the client are used as the test result and sent to the case result generation layer 206, and the case result generation layer accesses the test result to the automatic verification system to verify the test result. Referring to fig. 7, when checking data, data may be checked separately for update frequency of update data in live broadcast, which may include: gift presentation checkouts 701, package reward checks 702, card face reward checks 703, database checks 704, and cache checks 705.
For example, referring to fig. 8, when checking gift sending data, it may include: s810, obtaining a gift reconciliation script included in the test case; s820, judging whether the current gift data is active data according to the gift reconciliation script; s830, when the gift data is not the active data, processing is not carried out; s840, when the gift data is the active gift data, judging whether the user is a legal user; s850, when the user is a legal user, verifying the type of the gift data and the list data of the user; when the user is not a legal user, the process proceeds to S830; when verifying the package of the reward user, the verified contents include: receiving package user verification 851, package reward type verification 852, package reward quantity verification 853 and package reward validity period verification 854; referring to fig. 9, when checking the card face reward, where the card face reward check may include a user name plate check and a user tail lamp check, where the tail lamp is an identifier of a task appearing behind a nickname when the user completes the task in a live broadcast, the check may include: the method comprises the following steps of checking correctness of a tail lamp and nameplate release list 901, checking 902 of types of the tail lamp and the nameplate, checking 903 of the number of the tail lamp and the nameplate and checking 904 of the valid period of the tail lamp and the nameplate; the verification of the database and the cache can include: adding data verification, modifying data verification and deleting data verification.
In an exemplary embodiment of the present disclosure, there is also provided a data testing method, including:
receiving a first operation of a user in a preset time and attribute information of the first operation, which are sent by a client;
updating data in a database based on the first operation and the attribute information of the first operation to obtain an updating result;
and sending the updating result to the client so that the client checks the test result of the client according to the updating result.
Specifically, the server receives attribute information corresponding to a first operation of a user, which is sent by the client, determines a data table corresponding to the first operation of the user based on the received attribute information, where the data table may include a data table corresponding to the first operation and a public data table, updates data fields included in the data table corresponding to the first operation and the public data table according to the attribute information corresponding to the first operation, and sends a changed field as an update result to the client, so that the client performs verification according to the update result.
The data testing method and the data testing system provided by the exemplary embodiment of the disclosure have at least the following advantages: the method comprises the steps of establishing mapping between test starting time and current time, and triggering the test starting time by obtaining the current time, so that the problem that in the prior art, a tester can only wait for the test starting time to test is solved; the operation of a user is automatically monitored, a test case corresponding to the user operation is generated, and the test logic of a special time point can be simulated; after the test data are obtained, the test data are verified through the automatic verification system, risks and errors possibly caused by manual operation are reduced, and the data verification efficiency is improved.
An example embodiment of the present disclosure provides a data testing apparatus, which, as shown in fig. 10, may include: a test case generation module 1010, a test time trigger module 1020 and a test result verification module 1030. Wherein:
the test case generation module is used for acquiring a current scene where a user is located, monitoring the operation of the user in the current scene to obtain a first operation of the user, and generating a test case according to the current scene and the first operation of the user;
the test time triggering module is used for acquiring the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping;
and the test result verification module is used for executing the test case, testing the first operation of the user to obtain a test result and verifying the test result.
An exemplary embodiment of the present disclosure further provides a data testing apparatus, as shown in fig. 11, which may include: an attribute information receiving module 1110, a data updating module 1120, and an update result transmitting module 1130. Wherein:
an attribute information receiving module 1110, configured to receive a first operation of a user within a preset time and attribute information of the first operation, where the first operation is sent by a client;
the data updating module 1120 is configured to update data in the database based on the first operation and the attribute information of the first operation to obtain an update result;
an update result sending module 1130, configured to send the update result to the client, so that the client verifies the test result of the client according to the update result.
The specific details of each module in the data testing apparatus have been described in detail in the corresponding data testing method, and therefore are not described herein again.
In an exemplary embodiment of the present disclosure, after obtaining the first operation of the user, the data testing method further includes:
generating a push protocol corresponding to a first operation of the user, and sending the first operation and attribute information corresponding to the first operation to a server side based on the push protocol;
and receiving the updating data sent by the server.
In an exemplary embodiment of the present disclosure, after the first operation and the attribute information corresponding to the first operation are sent to a server, the data testing method further includes:
and storing the push protocol.
In an exemplary embodiment of the present disclosure, acquiring the test time of the current scenario, setting a mapping between the test time and the current time, and triggering the test time according to the current time and the mapping includes:
acquiring the test time of the current scene by using a time acquisition method included in a basic library;
acquiring the current time, and establishing a mapping relation between the current time and the test time;
and triggering the test time by using the time acquisition method based on the current time.
In an exemplary embodiment of the present disclosure, verifying the test result includes:
taking the updating result sent by the server as the test result;
and acquiring a preset expected result corresponding to the first operation, and verifying the test result through the preset expected result.
According to an aspect of the present disclosure, there is provided a data testing method, including:
receiving a first operation of a user in a preset time and attribute information of the first operation, which are sent by a client;
updating data in a database based on the first operation and the attribute information of the first operation to obtain an updating result;
and sending the updating result to the client so that the client checks the test result of the client according to the updating result.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the invention. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present invention are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
In an exemplary embodiment of the present invention, there is also provided an electronic device capable of implementing the above method.
As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or program product. Thus, various aspects of the invention may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 1200 according to this embodiment of the invention is described below with reference to fig. 12. The electronic device 1200 shown in fig. 12 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 12, the electronic device 1200 is embodied in the form of a general purpose computing device. The components of the electronic device 1200 may include, but are not limited to: the at least one processing unit 1210, the at least one memory unit 1220, a bus 1230 connecting various system components (including the memory unit 1220 and the processing unit 1210), and a display unit 1240.
Wherein the memory unit stores program code that is executable by the processing unit 1210 such that the processing unit 1210 performs steps according to various exemplary embodiments of the present invention as described in the above section "exemplary methods" of the present specification. For example, the processing unit 1210 may perform step S110 as shown in fig. 1: the method comprises the steps of obtaining a current scene where a user is located, monitoring the operation of the user in the current scene to obtain a first operation of the user, and generating a test case according to the current scene and the first operation of the user; s120: acquiring the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping; s130: and executing the test case, testing the first operation of the user to obtain a test result, and verifying the test result.
The storage unit 1120 may include a readable medium in the form of a volatile memory unit, such as a random access memory unit (RAM)12201 and/or a cache memory unit 12202, and may further include a read only memory unit (ROM) 12203.
Storage unit 1220 may also include a program/utility 12204 having a set (at least one) of program modules 12205, such program modules 12205 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1230 may be one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 1200 may also communicate with one or more external devices 1300 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1200, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1200 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 1250. Also, the electronic device 1200 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 1260. As shown, the network adapter 1260 communicates with the other modules of the electronic device 1200 via the bus 1230. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 1200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present invention.
In an exemplary embodiment of the present invention, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the invention may also be implemented in the form of a program product comprising program code means for causing a terminal device to carry out the steps according to various exemplary embodiments of the invention described in the above section "exemplary methods" of the present description, when said program product is run on the terminal device.
According to the program product for realizing the method, the portable compact disc read only memory (CD-ROM) can be adopted, the program code is included, and the program product can be operated on terminal equipment, such as a personal computer. However, the program product of the present invention is not limited in this regard and, in the present document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes involved in methods according to exemplary embodiments of the invention, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.

Claims (10)

1. A method for testing data, comprising:
the method comprises the steps of obtaining a current scene where a user is located, monitoring the operation of the user in the current scene to obtain a first operation of the user, and generating a test case according to the current scene and the first operation of the user;
acquiring the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping;
and executing the test case, testing the first operation of the user to obtain a test result, and verifying the test result.
2. The data testing method of claim 1, wherein after obtaining the first operation by the user, the data testing method further comprises:
generating a push protocol corresponding to a first operation of the user, and sending the first operation and attribute information corresponding to the first operation to a server side based on the push protocol;
and receiving the updating data sent by the server.
3. The data testing method of claim 2, wherein after sending the first operation and the attribute information corresponding to the first operation to a server, the data testing method further comprises:
and storing the push protocol.
4. The data testing method of claim 3, wherein obtaining the testing time of the current scene, setting a mapping between the testing time and the current time, and triggering the testing time according to the current time and the mapping comprises:
acquiring the test time of the current scene by using a time acquisition method included in a basic library;
acquiring the current time, and establishing a mapping relation between the current time and the test time;
and triggering the test time by using the time acquisition method based on the current time.
5. The data testing method of claim 4, wherein verifying the test result comprises:
taking the updating result sent by the server as the test result;
and acquiring a preset expected result corresponding to the first operation, and verifying the test result through the preset expected result.
6. A method for testing data, comprising:
receiving a first operation of a user in a preset time and attribute information of the first operation, which are sent by a client;
updating data in a database based on the first operation and the attribute information of the first operation to obtain an updating result;
and sending the updating result to the client so that the client checks the test result of the client according to the updating result.
7. A data testing apparatus, comprising:
the test case generation module is used for acquiring a current scene where a user is located, monitoring the operation of the user in the current scene to obtain a first operation of the user, and generating a test case according to the current scene and the first operation of the user;
the test time triggering module is used for acquiring the test time of the current scene, setting the mapping between the test time and the current time, and triggering the test time according to the current time and the mapping;
and the test result verification module is used for executing the test case, testing the first operation of the user to obtain a test result and verifying the test result.
8. A data testing apparatus, comprising:
the attribute information receiving module is used for receiving a first operation of a user in a preset time and attribute information of the first operation, which are sent by a client;
the data updating module is used for updating data in a database based on the first operation and the attribute information of the first operation to obtain an updating result;
and the updating result sending module is used for sending the updating result to the client so that the client verifies the testing result of the client according to the updating result.
9. A readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the data testing method of any one of claims 1 to 6.
10. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the data testing method of any of claims 1-6 via execution of the executable instructions.
CN202110382111.3A 2021-04-09 2021-04-09 Data testing method and device, readable storage medium and electronic equipment Active CN112925725B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110382111.3A CN112925725B (en) 2021-04-09 2021-04-09 Data testing method and device, readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110382111.3A CN112925725B (en) 2021-04-09 2021-04-09 Data testing method and device, readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112925725A true CN112925725A (en) 2021-06-08
CN112925725B CN112925725B (en) 2024-03-15

Family

ID=76173931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110382111.3A Active CN112925725B (en) 2021-04-09 2021-04-09 Data testing method and device, readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112925725B (en)

Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8788685B1 (en) * 2006-04-27 2014-07-22 Netapp, Inc. System and method for testing multi-protocol storage systems
GB201421920D0 (en) * 2014-12-10 2015-01-21 Ibm Software test automation
CN107908541A (en) * 2017-07-26 2018-04-13 平安壹钱包电子商务有限公司 Interface test method, device, computer equipment and storage medium
CN108536570A (en) * 2018-03-28 2018-09-14 口碑(上海)信息技术有限公司 The method, apparatus and system that data direct broadcasting room gray scale pressure is surveyed
CN109614318A (en) * 2018-11-14 2019-04-12 金色熊猫有限公司 Automated testing method, device, electronic equipment and computer-readable medium
CN109871311A (en) * 2017-12-04 2019-06-11 北京京东尚科信息技术有限公司 A kind of method and apparatus for recommending test case
CN109992515A (en) * 2019-04-02 2019-07-09 网易(杭州)网络有限公司 Test method and device, electronic equipment
WO2019144680A1 (en) * 2018-01-23 2019-08-01 网易(杭州)网络有限公司 Automatic testing method and apparatus, storage medium and electronic device
CN110083528A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Distribution method, device, computer equipment and the storage medium of test assignment
CN110221983A (en) * 2019-06-19 2019-09-10 深圳市腾讯网域计算机网络有限公司 Test method, device, computer readable storage medium and computer equipment
CN110232025A (en) * 2019-06-11 2019-09-13 网易(杭州)网络有限公司 Protocol testing method, device and system
CN110471834A (en) * 2019-06-28 2019-11-19 平安银行股份有限公司 Credit card analog detection method and relevant device under more transaction channels
CN110659202A (en) * 2019-08-12 2020-01-07 网宿科技股份有限公司 Client automatic testing method and device
CN110941559A (en) * 2019-11-27 2020-03-31 北京搜狐新媒体信息技术有限公司 Automatic test method and system
CN111078525A (en) * 2019-10-11 2020-04-28 中国平安财产保险股份有限公司 Method and device for adjusting system running time, computer equipment and storage medium
CN111176977A (en) * 2019-10-16 2020-05-19 腾讯科技(深圳)有限公司 Method and device for automatically identifying security vulnerabilities
CN111475388A (en) * 2020-03-05 2020-07-31 深圳壹账通智能科技有限公司 Data push test method and device, computer equipment and storage medium
CN111506489A (en) * 2019-01-30 2020-08-07 阿里巴巴集团控股有限公司 Test method, system, device, server and storage medium
WO2020214011A1 (en) * 2019-04-19 2020-10-22 Samsung Electronics Co., Ltd. Information processing method, apparatus, electronic device and computer readable storage medium
CN111831536A (en) * 2019-04-17 2020-10-27 北京京东尚科信息技术有限公司 Automatic testing method and device
US10846208B1 (en) * 2019-09-12 2020-11-24 T-Mobile Usa, Inc. Automation framework with orchestrated test execution, such as for use in testing wireless network components
CN112202633A (en) * 2020-09-24 2021-01-08 成都质数斯达克科技有限公司 Block chain network testing method and device, electronic equipment and readable storage medium
CN112241362A (en) * 2019-07-19 2021-01-19 腾讯科技(深圳)有限公司 Test method, test device, server and storage medium
CN112527678A (en) * 2020-12-22 2021-03-19 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for testing protocol

Patent Citations (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8788685B1 (en) * 2006-04-27 2014-07-22 Netapp, Inc. System and method for testing multi-protocol storage systems
GB201421920D0 (en) * 2014-12-10 2015-01-21 Ibm Software test automation
CN107908541A (en) * 2017-07-26 2018-04-13 平安壹钱包电子商务有限公司 Interface test method, device, computer equipment and storage medium
CN109871311A (en) * 2017-12-04 2019-06-11 北京京东尚科信息技术有限公司 A kind of method and apparatus for recommending test case
WO2019144680A1 (en) * 2018-01-23 2019-08-01 网易(杭州)网络有限公司 Automatic testing method and apparatus, storage medium and electronic device
CN108536570A (en) * 2018-03-28 2018-09-14 口碑(上海)信息技术有限公司 The method, apparatus and system that data direct broadcasting room gray scale pressure is surveyed
CN109614318A (en) * 2018-11-14 2019-04-12 金色熊猫有限公司 Automated testing method, device, electronic equipment and computer-readable medium
CN111506489A (en) * 2019-01-30 2020-08-07 阿里巴巴集团控股有限公司 Test method, system, device, server and storage medium
CN110083528A (en) * 2019-03-19 2019-08-02 深圳壹账通智能科技有限公司 Distribution method, device, computer equipment and the storage medium of test assignment
CN109992515A (en) * 2019-04-02 2019-07-09 网易(杭州)网络有限公司 Test method and device, electronic equipment
CN111831536A (en) * 2019-04-17 2020-10-27 北京京东尚科信息技术有限公司 Automatic testing method and device
WO2020214011A1 (en) * 2019-04-19 2020-10-22 Samsung Electronics Co., Ltd. Information processing method, apparatus, electronic device and computer readable storage medium
CN110232025A (en) * 2019-06-11 2019-09-13 网易(杭州)网络有限公司 Protocol testing method, device and system
CN110221983A (en) * 2019-06-19 2019-09-10 深圳市腾讯网域计算机网络有限公司 Test method, device, computer readable storage medium and computer equipment
CN110471834A (en) * 2019-06-28 2019-11-19 平安银行股份有限公司 Credit card analog detection method and relevant device under more transaction channels
CN112241362A (en) * 2019-07-19 2021-01-19 腾讯科技(深圳)有限公司 Test method, test device, server and storage medium
CN110659202A (en) * 2019-08-12 2020-01-07 网宿科技股份有限公司 Client automatic testing method and device
US10846208B1 (en) * 2019-09-12 2020-11-24 T-Mobile Usa, Inc. Automation framework with orchestrated test execution, such as for use in testing wireless network components
CN111078525A (en) * 2019-10-11 2020-04-28 中国平安财产保险股份有限公司 Method and device for adjusting system running time, computer equipment and storage medium
CN111176977A (en) * 2019-10-16 2020-05-19 腾讯科技(深圳)有限公司 Method and device for automatically identifying security vulnerabilities
CN110941559A (en) * 2019-11-27 2020-03-31 北京搜狐新媒体信息技术有限公司 Automatic test method and system
CN111475388A (en) * 2020-03-05 2020-07-31 深圳壹账通智能科技有限公司 Data push test method and device, computer equipment and storage medium
CN112202633A (en) * 2020-09-24 2021-01-08 成都质数斯达克科技有限公司 Block chain network testing method and device, electronic equipment and readable storage medium
CN112527678A (en) * 2020-12-22 2021-03-19 北京百度网讯科技有限公司 Method, apparatus, device and storage medium for testing protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
殷永峰;刘斌;姜同敏;: "基于场景技术的嵌入式软件测试用例生成方法", 计算机工程与设计, no. 16 *

Also Published As

Publication number Publication date
CN112925725B (en) 2024-03-15

Similar Documents

Publication Publication Date Title
US10127294B2 (en) Idempotency of application state data
US20160328463A1 (en) Management of application state data
US9201767B1 (en) System and method for implementing a testing framework
US7996818B1 (en) Method for testing using client specified references
CN107577622B (en) Method, device and storage medium for simulating rear-end interface
US20190278637A1 (en) System and method for establishing common request processing
CN107562637B (en) Method, device, system and storage medium for software testing
US10949268B2 (en) Method for providing telematics service using virtual vehicle and telematics server using the same
CN105704178A (en) Task platform access method and task platform access device
CN110659870A (en) Business audit test method, device, equipment and storage medium
CN112486620A (en) Cross-process off-screen rendering method and device, electronic equipment and storage medium
CN113485927A (en) Test data generation method, device, equipment and storage medium
CN114245149A (en) Virtual resource allocation method, device and system, electronic equipment and storage medium
CN111104551A (en) Live broadcast room label determination method and device, storage medium and electronic equipment
CN113127108A (en) Service request processing method and device, storage medium and electronic equipment
CN109242561B (en) Lottery model construction method, lottery activity management method, device and computing equipment
CN116627849B (en) System test method, device, equipment and storage medium
CN112084114B (en) Method and apparatus for testing interfaces
CN110022327B (en) Short message authentication test method and device
CN112925725B (en) Data testing method and device, readable storage medium and electronic equipment
CN114022278B (en) Analog transaction processing method and device
CN109510735A (en) A kind of method and device of message test
CN115705284A (en) Automatic test system, method, equipment and medium
CN105677453B (en) Task processing method and device for task platform
KR102703825B1 (en) Method and Apparatus for the Solidity Smart Contract Execution Environment and Network Configuration using Shared Log

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