[go: up one dir, main page]

CN112783790B - Application program testing method and device - Google Patents

Application program testing method and device Download PDF

Info

Publication number
CN112783790B
CN112783790B CN202110166334.6A CN202110166334A CN112783790B CN 112783790 B CN112783790 B CN 112783790B CN 202110166334 A CN202110166334 A CN 202110166334A CN 112783790 B CN112783790 B CN 112783790B
Authority
CN
China
Prior art keywords
virtual resource
interaction
information
target
application program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110166334.6A
Other languages
Chinese (zh)
Other versions
CN112783790A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110166334.6A priority Critical patent/CN112783790B/en
Publication of CN112783790A publication Critical patent/CN112783790A/en
Application granted granted Critical
Publication of CN112783790B publication Critical patent/CN112783790B/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/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

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)

Abstract

The embodiment of the invention discloses an application program testing method and device; after acquiring interaction information of an application program to be tested and virtual resource information of a target user in the application program to be tested, generating an interaction participation request of the target user according to an interaction event, calculating the virtual resource transfer quantity corresponding to the interaction participation request according to a virtual resource transfer parameter, then sending the interaction participation request to an interaction server of the application program to be tested, receiving interaction result page information corresponding to the interaction participation request returned by the interaction server, updating the virtual resource information according to the interaction result page information and the virtual resource transfer quantity to obtain the target virtual resource information of the target user, and then determining a test result of the application program to be tested based on the target virtual resource information and the interaction result page information; the scheme can improve the testing efficiency of the application program.

Description

Application program testing method and device
Technical Field
The invention relates to the technical field of communication, in particular to an application program testing method and device.
Background
In recent years, with the rapid development of internet technology, services in application programs are more diversified, for example, interactive services can be performed in application programs, and users can transfer virtual resources based on interactive results in the process of interaction, such as guessing, appreciation, payment, transfer of money and the like. Since services such as virtual resource transfer are involved, in order to ensure that the services can transfer virtual resources normally, the interactive services of the application program need to be tested with emphasis. The existing application program testing method mainly adopts manual work to test the interactive page.
In the research and practice process of the prior art, the inventor of the present invention finds that, for the existing test method of the application program, because the types of the interactive services are more, the interactive page is tested only by manpower, so that the test time is more, and therefore, the test efficiency of the application program is greatly reduced.
Disclosure of Invention
The embodiment of the invention provides an application program testing method and device, which can improve the testing efficiency of an application program.
An application testing method, comprising:
acquiring interaction information of an application program to be tested and virtual resource information of a target user in the application program to be tested, wherein the interaction information comprises at least two interaction events and virtual resource transfer parameters corresponding to the interaction events;
generating an interaction participation request of the target user according to the interaction event, and calculating the virtual resource transfer quantity corresponding to the interaction participation request according to the virtual resource transfer parameter;
sending the interaction participation request to an interaction server of the application program to be tested, and receiving interaction result page information corresponding to the interaction participation request returned by the interaction server;
updating the virtual resource information according to the interaction result page information and the virtual resource transfer quantity to obtain target virtual resource information of the target user;
and determining the test result of the application program to be tested based on the target virtual resource information and the interaction result page information.
Correspondingly, an embodiment of the present invention provides an application program testing apparatus, including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring interaction information of an application program to be tested and virtual resource information of a target user in the application program to be tested, and the interaction information comprises at least two interaction events and virtual resource transfer parameters corresponding to the interaction events;
the generating unit is used for generating an interaction participation request of the target user according to the interaction event and calculating the virtual resource transfer quantity corresponding to the interaction participation request according to the virtual resource transfer parameter;
the interaction unit is used for sending the interaction participation request to an interaction server of the application program to be tested and receiving interaction result page information corresponding to the interaction participation request returned by the interaction server;
the updating unit is used for updating the virtual resource information according to the interaction result page information and the virtual resource transfer quantity to obtain target virtual resource information of the target user;
and the determining unit is used for determining the test result of the application program to be tested based on the target virtual resource information and the interaction result page information.
Optionally, in some embodiments, the generating unit may be specifically configured to screen at least one target interaction event in which the target user participates from the interaction events; determining interaction behavior information of the target user according to the target interaction event; and generating an interactive participation request of the target user based on the interactive behavior information.
Optionally, in some embodiments, the generating unit may be specifically configured to obtain interface information and virtual resource interaction information of the target interaction event; determining target virtual resource interaction information of the target user aiming at the target interaction event according to the virtual resource interaction information; and fusing the interface information and the target virtual resource interaction information to obtain the interaction behavior information of the target user.
Optionally, in some embodiments, the generating unit may be specifically configured to identify, in the interaction participation request, a virtual resource interaction amount of the target user for the target interaction event; classifying the virtual resource transfer parameters according to the transfer direction of the virtual resources; and fusing the classified virtual resource transfer parameters with the virtual resource interaction quantity to obtain the virtual resource transfer quantity corresponding to each transfer direction.
Optionally, in some embodiments, the interaction unit may be specifically configured to receive interaction participation page information corresponding to the interaction participation request returned by the server; identifying the interaction participation information of the target user in the interaction participation page information; the updating the virtual resource information according to the interaction result page information and the virtual resource transfer quantity to obtain the target virtual resource information of the target user includes: and updating the virtual resource information according to the interaction participation information, the interaction result page information and the virtual resource transfer quantity to obtain the target virtual resource information of the target user.
Optionally, in some embodiments, the updating unit may be specifically configured to identify, in the interaction participation information, a current virtual resource interaction amount of the target user for the target interaction event; screening out the target virtual resource transfer quantity corresponding to the target user from the virtual resource transfer quantities according to the interaction result page information; and updating the virtual resource information based on the current virtual resource interaction quantity and the target virtual resource transfer quantity to obtain the target virtual resource information of the target user.
Optionally, in some embodiments, the updating unit may be specifically configured to identify, in the interaction result page information, interaction result information of the target user participating in the interaction; determining a target transfer direction corresponding to the target interaction event according to the interaction result information; and screening the virtual resource transfer quantity corresponding to the target transfer direction from the virtual resource transfer quantities to obtain the target virtual resource transfer quantity corresponding to the target user.
Optionally, in some embodiments, the updating unit may be specifically configured to identify, in the virtual resource information, a historical virtual resource amount of the target user in the application program to be tested; fusing the current virtual resource interaction quantity and the historical virtual resource quantity to obtain the basic virtual resource quantity of the target user; according to the target transfer direction, fusing the basic virtual resource quantity and the target virtual resource transfer quantity to obtain the target virtual resource quantity of the target user; and replacing the historical virtual resource quantity in the virtual resource information with the target virtual resource quantity, and adding the target virtual resource transfer quantity to the replaced virtual resource information to obtain the target virtual resource information of the target user.
Optionally, in some embodiments, the determining unit may be specifically configured to identify, in the interaction result page information, page virtual resource information displayed on the interaction result page; screening out the current virtual resource information of the target user after the target user participates in interaction from a preset virtual resource information database of the application program to be tested; and comparing the page virtual resource information, the current virtual resource information and the target virtual resource information to obtain a test result of the application program to be tested.
Optionally, in some embodiments, the determining unit may be specifically configured to screen, from the interaction result page information, an interaction end time of the target user after the target user participates in the interaction in the application program to be tested; constructing a virtual resource query instruction according to the identity of the target user and the interaction ending time; and inquiring the current virtual resource information in a preset virtual resource information database of the application program to be tested based on the virtual resource inquiry instruction.
Optionally, in some embodiments, the determining unit may be specifically configured to extract a first virtual resource transfer record and a first virtual resource amount from the page virtual resource information, and extract a second virtual resource transfer record and a second virtual resource amount from the current virtual resource information; identifying a first virtual resource transfer quantity of the target user in the first virtual resource transfer record, and identifying a second virtual resource transfer quantity of the target user in the second virtual resource transfer record; comparing the number of target virtual resources, the number of first virtual resources and the number of second virtual resources in the target virtual resource information, and comparing the transfer number of target virtual resources, the transfer number of first virtual resources and the transfer number of second virtual resources in the target virtual resource information; and when the target virtual resource quantity, the first virtual resource quantity and the second virtual resource quantity are the same, and the target virtual resource transfer quantity, the first virtual resource transfer quantity and the second virtual resource transfer quantity are the same, determining that the application program to be tested passes the test.
Optionally, in some embodiments, the obtaining unit may be specifically configured to obtain an interaction interface of the application program to be tested, and query an interaction initiation request in the application program to be tested according to the interaction interface; acquiring interaction initiating information corresponding to the interaction initiating request, and determining the interaction information of the application program to be tested according to the interaction initiating information; and screening out the virtual resource information of the target user from a preset virtual resource information database of the application program to be tested.
Optionally, in some embodiments, the obtaining unit may be specifically configured to identify an interaction identifier of the interaction initiating user in the interaction initiating information; constructing an interactive query request aiming at the interactive initiating user according to the interactive identity; sending the interactive query request to an interactive server of the application program to be tested, and receiving interactive page information returned by the interactive server; and screening the interactive information of the application program to be tested from the interactive page information.
Optionally, in some embodiments, the obtaining unit may be specifically configured to screen, from the interactive page information, interface information to be tested of the interactive page; testing the information of the interface to be tested according to a preset testing strategy; the step of screening out the interaction information of the application program to be tested from the interaction page information comprises the following steps: and when the interface information to be tested passes the test, screening the interactive information of the application program to be tested from the interactive page information.
In addition, an embodiment of the present invention further provides an electronic device, which includes a processor and a memory, where the memory stores an application program, and the processor is configured to run the application program in the memory to implement the application program testing method provided in the embodiment of the present invention.
In addition, the embodiment of the present invention further provides a computer-readable storage medium, where a plurality of instructions are stored, and the instructions are suitable for being loaded by a processor to perform the steps in any one of the application program testing methods provided by the embodiment of the present invention.
After acquiring the interaction information of the application program to be tested and the virtual resource information of the target user in the application program to be tested, the interaction information comprises at least two interaction events and virtual resource transfer parameters corresponding to the interaction events, then generating an interaction participation request of the target user according to the interaction events, calculating the virtual resource transfer quantity corresponding to the interaction participation request according to the virtual resource transfer parameters, then sending the interaction participation request to an interaction server of the application program to be tested, receiving the interaction result page information corresponding to the interaction participation request returned by the interaction server, updating the virtual resource information according to the interaction result page information and the virtual resource transfer quantity to obtain the target virtual resource information of the target user, and then, based on the target virtual resource information and the interaction result page information, determining a test result of the application program to be tested; according to the scheme, the interactive participation request can be generated according to the interactive event, so that the interactive activity of the target user participating in the application to be tested on the interactive page is simulated, the application program to be tested is automatically tested, the testing time is greatly reduced, and the testing efficiency of the application program can be improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a scenario of application testing provided by an embodiment of the present invention;
FIG. 2 is a flow chart of application testing provided by an embodiment of the invention;
FIG. 3 is another flow chart of an application provided by an embodiment of the invention;
FIG. 4 is a diagram illustrating a simulated entry guess page according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating guess result information provided by an embodiment of the present invention;
FIG. 6 is a diagram illustrating guess participation information provided by an embodiment of the present invention;
FIG. 7 is a flow chart of automated interface testing provided by an embodiment of the present invention;
FIG. 8 is a schematic diagram of a test under a virtual gold coin scenario according to an embodiment of the present invention;
FIG. 9 is a schematic diagram of query under a virtual gold coin scenario according to an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of an application testing apparatus according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an application program testing method, an application program testing device and a computer readable storage medium. The application program testing device may be integrated in an electronic device, and the electronic device may be a server or a terminal.
The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Network acceleration service (CDN), big data and an artificial intelligence platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
For example, referring to fig. 1, taking an example that an application testing apparatus is integrated in an electronic device, after acquiring interaction information of an application to be tested and virtual resource information of a target user in the application to be tested, the interaction information includes at least two interaction events and virtual resource transfer parameters corresponding to the interaction events, then generating an interaction participation request of the target user according to the interaction events, calculating a virtual resource transfer quantity corresponding to the interaction participation request according to the virtual resource transfer parameters, then sending the interaction participation request to an interaction server of the application to be tested, receiving interaction result page information corresponding to the interaction participation request returned by the interaction server, updating the virtual resource information according to the interaction result page information and the virtual resource transfer quantity, and obtaining the target virtual resource information of the target user, and then, determining a test result of the application program to be tested based on the target virtual resource information and the interaction result page information.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
In this embodiment, a description will be given from the perspective of an application testing apparatus, where the application testing apparatus may be specifically integrated in an electronic device, and the electronic device may be a server or a terminal; the terminal may include a tablet Computer, a notebook Computer, a Personal Computer (PC), a wearable device, a virtual reality device, or other intelligent devices capable of testing applications.
An application testing method, comprising:
after acquiring the interactive information of the application program to be tested and the virtual resource information of the target user in the application program to be tested, the interactive information comprises at least two interactive events and virtual resource transfer parameters corresponding to the interactive events, then, generating an interactive participation request of a target user according to the interactive event, calculating the virtual resource transfer quantity corresponding to the interactive participation request according to the virtual resource transfer parameter, then, the interactive participation request is sent to an interactive server of the application program to be tested, the interactive result page information corresponding to the interactive participation request returned by the interactive server is received, according to the interactive result page information and the virtual resource transfer quantity, and updating the virtual resource information to obtain target virtual resource information of a target user, and then determining a test result of the application program to be tested based on the target virtual resource information and the interaction result page information.
As shown in fig. 2, the specific flow of the application program testing method is as follows:
101. and acquiring the interactive information of the application program to be tested and the virtual resource information of the target user in the application program to be tested.
The interactive information can comprise information generated by interaction between a user and a user in an application program to be tested, the interactive information comprises at least two interactive events and virtual resource transfer parameters corresponding to the interactive events, the interactive information can be guess information of the user in the application program to be tested by taking the interaction as a guess, the guess information can comprise guess events selected by the user and odds corresponding to the guess events, when the user selects correct or wrong guess events, corresponding quantity of virtual resources can be obtained or consumed according to the odds corresponding to the guess events, and the virtual resources can be points, consumption rolls, virtual gold coins or other virtual resources.
For example, an interaction interface of an application program to be tested is obtained, an interaction initiation request in the application program to be tested is queried according to the interaction interface, interaction initiation information corresponding to the interaction initiation request is obtained, the interaction information of the application program to be tested is determined according to the interaction initiation information, and virtual resource information of a target user is screened out from a preset virtual resource information database of the application program to be tested, which specifically includes the following steps:
(1) and acquiring an interactive interface of the application program to be tested, and inquiring an interactive initiation request in the application program to be tested according to the interactive interface.
The interactive interface can be a background interface for users to initiate interaction in the application program to be tested, and the information of the users initiating the interaction can be inquired through the interactive interface.
For example, the interactive interface of the application program to be tested is obtained, for example, the application program to be tested can be subjected to packet capture at the web port, so as to obtain background interface information of the application program to be tested, and the interactive interface is identified in the background interface information. And inquiring an interaction initiation request in the application program to be tested according to the interaction interface, wherein the interaction initiation request can be a request generated by triggering when a user interacts in the application program to be tested.
(2) And acquiring interaction initiation information corresponding to the interaction initiation request, and determining the interaction information of the application program to be tested according to the interaction initiation information.
For example, when there is an interaction initiation request, interaction initiation information corresponding to the interaction initiation request is obtained, for example, when there is an interaction initiation request, it may be determined that at least one user initiates an interaction activity in an application to be tested, so as to obtain a request data packet corresponding to the interaction initiation request, and the interaction initiation information is obtained in the request data packet, where the interaction initiation information may include information such as an interaction type initiated by the user, initiation time, and identity information of the user. When the interaction initiating request does not exist, the interaction initiating request can be constructed according to a preset initiating strategy, the interaction initiating request is sent to an interaction server of an application program to be tested, a target user is simulated to initiate interaction activities, and when the interaction activities are successfully established in the interaction server, interaction initiating information corresponding to the interaction initiating request returned by the interaction server can be received. Based on the interaction initiation information, determining interaction information of the application program to be tested, for example, identifying an interaction identity of an interaction initiation user in the interaction initiation information, and constructing an interaction query request for the interaction initiation user according to the interaction identity, for example, taking the application program to be tested as a live broadcast application and the interaction identity as an anchor ID, constructing an interaction query request for accessing a live broadcast room of the live broadcast application corresponding to the anchor ID according to the anchor ID, wherein the interaction query request is used for entering the live broadcast room corresponding to the anchor ID. Sending the interactive query request to an interactive server of the application program to be tested, and receiving the interactive page information returned by the interactive server, for example, sending the interactive query request to the interactive server of the application program to be tested, simulating a target user to access the interactive activity initiated by the interaction initiating user, so as to obtain an interactive page, and receiving the information of the interactive page returned by the interactive server. And screening the interactive information of the application program to be tested from the interactive page information, for example, identifying an interactive event contained in the interactive activity initiated by the interaction initiating user and a virtual resource transfer parameter corresponding to the interactive event from the interactive page information, thereby obtaining the interactive information of the application program to be tested.
Optionally, after receiving the interactive page information returned by the interactive server, the interactive page of the application program to be tested may be tested through the interactive page information, and whether various interface information in the interactive page is normal is tested. Therefore, the application program testing method further comprises the following steps:
and screening the interface information to be tested of the interactive page from the interactive page information, testing the interface information to be tested according to a preset test strategy, and screening the interactive information of the application program to be tested from the interactive page information when the interface information to be tested passes the test.
For example, the information of each interface on the interactive page is identified in the interactive page information to obtain information of the interfaces to be tested, the interfaces on the interactive page are classified according to the information of the interfaces to be tested, and the interfaces of different types are tested according to a preset test strategy, wherein the test mainly includes whether the interactive page includes the interfaces of the preset type and whether the interfaces can be triggered or interacted, and the like. And when the interface information to be tested passes the test, screening out the interactive information of the application program to be tested from the interactive page information.
(3) And screening out the virtual resource information of the target user from the preset virtual resource information data block of the application program to be tested.
The virtual resource information may be information such as a type and a number of the virtual resource, for example, if the virtual resource is an integral, the virtual resource information may be information such as an integral type and an integral number.
For example, the identity of the target user is obtained, a virtual resource query request is constructed based on the identity, the virtual resource query request is sent to an interactive server of the application program to be tested, a storage address of the virtual resource information of the target user returned by the interactive server is received, and according to the storage address, a command word is established to query the virtual resource information of the target user in a preset virtual resource information database.
102. And generating an interactive participation request of a target user according to the interactive event, and calculating the virtual resource transfer quantity corresponding to the interactive participation request according to the virtual resource transfer parameter.
The interactive event may be an event for the interactive initiating user to interactively select, which is included in the interactive activity initiated by the application to be tested, for example, taking the interactive activity as a guessing activity, the interactive event may be a guessing event, and when the guessing activity is a guessing live broadcast, whether a certain technical index is completed, for example, whether a game anchor can complete 15 aids in a game or not, the corresponding interactive event may be a game anchor that can complete 15 aids in the game and a game anchor that cannot complete 15 aids in the game.
The virtual resource transfer parameter may be an amount of virtual resources that a target user may obtain or consume when the interactive event is completed, for example, when the interactive activity is a guessing activity, the virtual resource transfer parameter may be an odds rate corresponding to the interactive event or the guessing event.
For example, at least one target interaction event in which at least one target user participates may be screened out from the interaction events, for example, when there are two or more interaction events, one or more interaction events may be randomly selected from the interaction events as the target interaction events in which the target user participates, and the number of the randomly selected target interaction events may not exceed the total number of the interaction events included in the interaction activity.
Determining interaction behavior information of the target user according to the target interaction event, for example, acquiring interface information and virtual resource interaction information of the target interaction event, where the virtual resource interaction information may be quantity information indicating a quantity of virtual resources that the target user can participate in the interaction activity for the target interaction event, the quantity information may be fixed quantity information, and may further include quantity interval information, and determining target virtual resource interaction information of the target user for the target interaction event according to the virtual resource interaction information, for example, when the virtual resource interaction information is a fixed quantity indicating a quantity of virtual resources that the target user can participate in for the target interaction event, the quantity of virtual resources that the target user participates in for the target interaction event may be determined as the fixed quantity, so as to obtain target virtual resource interaction information of the target user for the target interaction event, when the virtual resource interaction information indicates a plurality of fixed quantities of virtual resources that a target user can participate in for a target interaction event, a fixed quantity can be arbitrarily selected from the fixed quantities as the quantity of the virtual resources that the target user can participate in, so as to obtain the target virtual resource interaction information, and when the virtual resource interaction information indicates a quantity interval of the virtual resources that the target user can participate in for the target interaction event, such as 1-100, a quantity can be arbitrarily selected in the quantity interval as the quantity of the virtual resources that the target user can participate in, so as to obtain the target virtual resource interaction information. The interface information and the target virtual resource interaction information are fused to obtain interaction behavior information of a target user, for example, position information of an interface which needs to be triggered by the target user on an interaction page is identified in the interface information, the position information of the interface is fused as the target virtual resource interaction information, and behavior information which needs to be triggered and input by the target user on the interaction page can be determined, so that the interaction behavior information of the target user is obtained, for example, taking the interaction activity as a guess, the interaction behavior information can be a control which is triggered by the target user on the interaction page, and interaction behaviors such as the number of virtual resources which need to participate in interaction are input in a displayed page. And generating an interactive participation request of the target user based on the interactive behavior information, for example, constructing request information participating in an activity initiated by the interactive initiating user according to the interactive behavior information, thereby obtaining the interactive participation request of the target user.
Calculating the amount of virtual resources corresponding to the interactive participation request according to the virtual resource transfer parameters, for example, identifying the amount of virtual resource interaction of the target user for the target interactive event in the interactive participation request, and classifying the virtual resource transfer parameters according to the transfer direction of the virtual resources, for example, the virtual resource transfer direction may include a forward transfer direction in which the target user obtains the virtual resources and a reverse transfer direction in which the target user consumes the virtual resources, so that the virtual resource transfer parameters may be divided into forward virtual resource transfer parameters and reverse virtual resource transfer parameters, for example, taking the virtual resource transfer parameters as odds 1:1.5 as an example, the forward virtual resource transfer parameters may be determined to be 1.5, which means that if the interactive event is correctly selected, the target user may obtain virtual resources 1.5 times the amount of virtual resource interaction, correspondingly, the reverse virtual resource transfer parameter is 1, which indicates that if the interactive event selection is wrong, the target user needs to consume the virtual resources corresponding to the interactive quantity of the virtual resources. The classified virtual resource transfer parameters are fused with the virtual resource interaction number to obtain the virtual resource transfer number corresponding to each transfer direction, for example, the forward virtual resource transfer parameter is multiplied by the virtual resource interaction number to obtain the forward virtual resource transfer number, and the reverse virtual resource transfer parameter is multiplied by the virtual resource interaction number to obtain the reverse virtual resource transfer number, for example, taking the interaction activity as the guessing activity, the virtual resource number which can be successfully guessed by the target user and the virtual resource number which can be consumed by the guessing failure can be obtained.
103. And sending the interactive participation request to an interactive server of the application program to be tested, and receiving interactive result page information of the interactive participation request pair returned by the interactive server.
For example, the interaction participation request is sent to an interaction server of an application program to be tested, interaction activities corresponding to the interaction participation request of a target user are simulated, a target interaction event is selected in the interaction activities and the virtual resource interaction quantity corresponding to the target interaction event is simulated, when the interaction activities are completed and an interaction result is displayed on an interaction result page, the interaction server returns interaction result page information corresponding to the interaction result page to the application program testing device, and therefore the application program testing device receives the interaction result page information.
Optionally, after the interactive participation request is sent to the interactive server, the interactive participation page information returned by the interactive server may also be received, for example, the interactive server simulates the target user to participate in the interactive activity according to the interactive participation request, when successful participation occurs, the information of the interactive participation page may be sent to the application program testing device as the interactive participation page information, and the application program testing device may receive the interactive participation page information returned by the interactive server. The interactive participation information of the target user is identified in the interactive participation page, and the interactive participation information may be information indicating the amount of virtual resources consumed by the target user to successfully participate in the interactive activity.
104. And updating the virtual resource information according to the interaction result page information and the number of the virtual resources to obtain the target virtual resource information of the target user.
For example, the current virtual resource interaction amount of the target user for the target interaction event is identified in the interaction participation information, the target virtual resource transfer amount corresponding to the target user is screened out from the virtual resource transfer amounts according to the interaction result page information, and the virtual resource information is updated based on the current virtual resource transfer amount and the target virtual resource transfer amount to obtain the target virtual resource information of the target user, which may specifically be as follows:
and S1, identifying the current virtual resource interaction quantity of the target user aiming at the target interaction event in the interaction participation information.
For example, it is identified in the interaction participation information that the target user successfully participates in the interaction activity, and the virtual resource quantity corresponding to the interaction event is selected, and this virtual resource quantity is used as the current virtual resource interaction quantity of the target user for the target interaction event. For example, the number of virtual resources that the target user selects to bet on the target interaction event is identified in the interaction participation information, and the number of the virtual resources that are bet is used as the current virtual resource interaction number.
S2, according to the interaction result page information, screening out the target virtual resource transfer quantity corresponding to the target user from the virtual resource transfer quantities.
For example, the interactive result information of the target user participating in the interaction is identified in the interactive result page information, and the interactive result information may be information of an interactive result formed in the interactive activity, for example, taking the interactive activity as a guessing activity as an example, the interactive result information may be information indicating a guessing result, or taking the guessing activity as an example whether 15 aids may be completed in the game by the game anchor, and when the game anchor completes 15 aids and the guessing event selected by the target user may also complete 15 aids, the guessing result may be successful for the target user, otherwise the guessing result may be failed for the target user. For example, the interactive result information of the target user participating in the interaction can be obtained by identifying the result information corresponding to the display interaction event in the interactive result page information, for example, when the interactive activity is used as a guessing activity, the interactive result information can be information of winning or losing.
And determining a target transfer direction corresponding to the target interaction time according to the interaction result information, for example, determining interaction completion information of a target interaction event selected by the target user according to the interaction result information, and determining that the target transfer direction is forward transfer when the interaction completion information indicates that the target interaction event is completed in the interaction activity, that is, the target user can obtain virtual resources of the virtual resource transfer quantity, for example, taking the target interaction event as a game anchor to complete 15 aids, and determining that the target transfer direction is forward transfer when the interaction completion information shows that the game anchor completes 15 aids. When the interaction completion information indicates that the target interaction event is not completed in the interaction activity, it can be determined that the target transfer direction is reverse movement, that is, the target user needs to consume virtual resources of the virtual resource transfer amount, and the like. For example, taking the target interaction event as an example that 15 assistants are completed by the game anchor, when the interaction completion information shows that the game anchor does not complete 15 assistants, it can be determined that the target transfer direction is the reverse transfer.
And screening the target virtual resource quantity corresponding to the target transfer direction from the virtual resource transfer quantities, for example, when the target transfer direction is forward transfer, screening the virtual resource quantity corresponding to the forward transfer from the virtual resource transfer quantities to obtain the target virtual resource quantity, where the target virtual resource quantity can be the virtual resource quantity acquired by the target user in the interactive activity. When the target transfer direction is reverse transfer, the virtual resource quantity corresponding to the reverse transfer can be screened from the virtual resource transfer quantity to obtain the target virtual resource quantity, and the target virtual resource quantity can be the quantity of the virtual resource consumed by the target user in the interactive activity.
And S3, updating the virtual resource information based on the current virtual resource interaction number and the target virtual resource transfer number to obtain the target virtual resource information of the target user.
For example, the historical virtual resource amount of the target user in the application to be tested is identified in the virtual resource information, for example, the historical virtual resource amount is obtained by identifying the virtual resource amount of the target user in the application to be tested before the target user participates in the interactive activity. And fusing the current virtual resource interaction quantity and the historical virtual resource quantity to obtain the basic virtual resource quantity of the target user, for example, comparing the current virtual resource interaction quantity with the virtual resource interaction quantity carried in the interaction participation request, and subtracting the current virtual resource interaction quantity from the historical virtual resource quantity when the virtual resource interaction quantity is the same as the current virtual resource interaction quantity to obtain the residual basic virtual resource quantity of the target user after the target user participates in the interaction. And fusing the number of the basic virtual resources and the transfer number of the target virtual resources according to the target transfer direction to obtain the number of the target virtual resources of the target user, for example, when the target transfer direction is forward transfer, adding the number of the basic virtual resources and the transfer number of the target virtual resources to obtain the number of the target virtual resources of the target user, and when the target transfer direction is reverse transfer, taking the number of the basic virtual resources as the number of the target virtual resources of the target user.
For example, when the target transfer direction is forward transfer, the target virtual resource transfer amount is added to the replaced virtual resource information, and when the target transfer direction is reverse transfer, the current virtual resource interaction amount is added to the replaced virtual resource information as the target virtual resource transfer amount, so that the target virtual resource information of the target user is obtained.
105. And determining the test result of the application program to be tested based on the target virtual resource information and the interaction result page information.
For example, the page virtual resource information displayed on the interaction result page is identified in the interaction result page information, the current virtual resource information of the target user after the target user participates in the interaction is screened out from a preset virtual resource information database of the application program to be tested, and the page resource information, the current virtual resource information and the target virtual resource information are compared to obtain a test result of the application program to be tested, which may specifically be as follows:
(1) and identifying page virtual resource information displayed on the interaction result page in the interaction result page information.
For example, the information such as the virtual resource number and the virtual resource transfer record of the target user after the interaction activity displayed on the interaction result page is finished is identified in the interaction result page information, and the virtual resource number and the virtual resource transfer record of the target user after the interaction is finished are used as the page virtual resource information.
(2) And screening out the current virtual resource information of the target user after the target user participates in interaction from a preset virtual resource information database of the application program to be tested.
For example, the interaction end time of the target user after the target user participates in the interaction in the application program to be tested is screened out from the interaction result page information, for example, the time for displaying the interaction result is identified from the interaction result page information, and the time is taken as the interaction end time after the target user participates in the interaction. And constructing a virtual resource query instruction according to the identity of the target user and the interaction end time, for example, establishing a command word according to the identity of the target user and the interaction end time, and taking the command word as the virtual resource query instruction. And inquiring current virtual resource information in a pre-virtual resource information database of the application program to be tested based on the virtual resource inquiry instruction.
(3) And comparing the page resource information, the current virtual resource information and the target virtual resource information to obtain a test result of the application program to be tested.
For example, a first virtual resource transfer record and a first virtual resource amount are extracted from the page resource information, and a second virtual resource transfer record and a second virtual resource amount are extracted from the current virtual resource information, for example, the first virtual resource transfer record and the first virtual resource amount of the target user after the interaction are displayed on the interaction result page extracted from the page resource information, and the second virtual resource transfer record and the remaining second virtual resource amount of the target user after the target user participates in the interaction are extracted from the current virtual resource information.
Identifying a first virtual resource transfer quantity of a target user in the first virtual resource transfer record, and identifying a second virtual resource transfer quantity of the target user in the second virtual resource transfer record, for example, identifying a quantity difference of virtual resources of the target user before and after participating in an interaction activity in the first virtual resource transfer record, the first virtual resource transfer quantity displayed on the interaction result page can be obtained, and identifying a quantity difference of virtual resources of the target user in a preset virtual resource information database before and after participating in the activity in the second virtual resource transfer record, the second virtual resource transfer quantity of the target user in the preset virtual resource information database can be obtained.
And comparing the target virtual resource quantity, the first virtual resource quantity and the second virtual resource quantity in the target virtual resource information, and comparing the target virtual resource transfer quantity, the first virtual resource transfer quantity and the second virtual resource transfer quantity in the target virtual resource information. And when the target virtual resource quantity, the first virtual resource quantity and the second virtual resource quantity are the same, and the virtual resource transfer quantity, the first virtual resource transfer quantity and the second virtual resource transfer quantity are the same, determining that the application program to be tested passes the test. For example, taking virtual resources as virtual coins in a game as an example, comparing the target number of the coins with the remaining first number of the coins displayed on the page and the remaining second number of the coins in the coin database, comparing the target transfer number of the coins with the first transfer number displayed on the page and the second transfer number in the coin database, and when the target number of the coins, the remaining first number of the coins displayed on the page and the remaining second number of the coins in the coin database are the same, and the target transfer number of the coins, the first transfer number displayed on the page and the second transfer number in the coin database are the same, it can be determined that the guessing system of the application program to be tested has no problem, and the application program to be tested passes the test.
As can be seen from the above, in the embodiment of the present invention, after acquiring the interaction information of the application program to be tested and the virtual resource information of the target user in the application program to be tested, the interaction information includes at least two interaction events and virtual resource transfer parameters corresponding to the interaction events, then, according to the interaction events, generating an interaction participation request of the target user, and according to the virtual resource transfer parameters, calculating the virtual resource transfer amount corresponding to the interaction participation request, then, sending the interaction participation request to the interaction server of the application program to be tested, receiving the interaction result page information corresponding to the interaction participation request returned by the interaction server, according to the interaction result page information and the virtual resource transfer amount, updating the virtual resource information to obtain the target virtual resource information of the target user, and then, based on the target virtual resource information and the interaction result page information, determining a test result of the application program to be tested; according to the scheme, the interactive participation request can be generated according to the interactive event, so that the interactive activity of the target user participating in the application to be tested on the interactive page is simulated, the application program to be tested is automatically tested, the testing time is greatly reduced, and the testing efficiency of the application program can be improved.
The method described in the above examples is further illustrated in detail below by way of example.
In this embodiment, the application program testing apparatus is specifically integrated in an electronic device, the electronic device is a server, the application program to be detected is a live broadcast application to be detected, and the interactive activity is a guessing activity, which is described as an example.
As shown in fig. 3, a method for testing an application program includes the following specific steps:
201. the server obtains guessing information of the live broadcast application to be tested and virtual resource information of a target user in the live broadcast application to be tested.
For example, the server obtains a guessing interface of the to-be-tested live broadcast application, queries a guessing initiation request in the to-be-tested live broadcast application according to the guessing interface, obtains guessing initiation information corresponding to the guessing initiation request, determines guessing information of the to-be-tested live broadcast application according to the guessing initiation information, and screens out virtual resource information of a target user from a preset virtual resource information database of the to-be-tested live broadcast application, which may specifically be as follows:
(1) the server obtains a guessing interface of the live broadcast application to be tested, and inquires a guessing initiating request in the live broadcast application to be tested according to the guessing interface.
For example, the server may capture a packet of the to-be-detected live application at the web port, thereby obtaining background interface information of the to-be-detected live application, and identify the guess interface in the background interface information. And inquiring a guess initiating request in the live broadcast application to be tested according to the guess interface.
(2) The server obtains the guess initiating information corresponding to the guess initiating request, and determines the guess information of the to-be-tested live broadcast application according to the guess initiating information.
For example, when there is a guess initiation request, it may be determined that at least one user initiating a guess activity exists in the live broadcast application to be tested, so as to obtain a request data packet corresponding to the guess initiation request, and obtain guess initiation information in the request data packet. When no guess initiating request exists, the guess initiating request can be constructed according to a preset guess initiating strategy, the guess initiating request is sent to a guess server of an application program to be tested, a target user is simulated to initiate guess activities, and when the guess establishing activities in the interactive server are successful, guess initiating information corresponding to the mutual guess initiating request returned by the guess server can be received. The host ID of the guess initiating user is identified in the guess initiating information, for example, the guess initiating information code carrying the host ID may be as follows:
Figure BDA0002933270720000171
at this time, the anchor ID may be 11044666820, and a guess query request for accessing the live broadcast room of the live broadcast application corresponding to the anchor ID is constructed according to the anchor ID, and the guess query request is used to enter the live broadcast room corresponding to the anchor ID. The guess query request is sent to the guess server of the to-be-tested live broadcast application, and the simulated target user accesses the guess activity initiated by the guess initiating user, so as to obtain a guess page, and specifically, as shown in fig. 4, the guess page information returned by the guess server is received. The guess event included in the guess activity initiated by the guess initiating user is identified in the guess page information, and the virtual resource transfer parameter corresponding to the guess event, where the virtual resource transfer parameter may be understood as the virtual resource odds ratio.
Optionally, after receiving the guessing page information returned by the guessing server, the guessing page of the live broadcast application to be tested may be tested according to the guessing page information, for example, information of each interface on the guessing page is identified in the guessing page information to obtain information of the interface to be tested, each interface on the guessing page is classified according to the information of the interface to be tested, different types of interfaces are tested according to a preset test policy, whether the guessing page includes a preset type of interface and whether the interface can be triggered or guessing interaction is tested, and the like. And when the interface information to be tested passes the test, screening the guessing information of the live broadcast application to be tested from the guessing page information.
(3) And the server screens out the virtual resource information of the target user from a preset virtual resource information data block of the live broadcast application to be tested.
For example, the server acquires the identity of the target user, constructs a virtual resource query request based on the identity, sends the virtual resource query request to a guessing server of the live broadcast application to be tested, receives a storage address of the virtual resource information of the target user returned by the guessing server, and establishes a command word to query the virtual resource information of the target user in a preset virtual resource information database according to the storage address.
202. The server generates a guess participation request of the target user according to the guess event, and calculates the virtual resource transfer quantity corresponding to the guess participation request according to the virtual resource transfer parameters.
For example, when the number of the guessing events is two or more, the server may randomly select one or more guessing events as the target guessing events bet by the target user in the guessing events, obtain interface information and virtual resource guessing information of the target guessing events, the virtual resource guessing information may be number information indicating virtual resources that the target user may bet on the target guessing events in the guessing activities, when the virtual resource guessing information is a fixed number of virtual resources that the target user may bet on the target guessing events, the number of virtual resources that the target user may participate in for the target guessing events may be determined to be a fixed number, thereby obtaining target virtual resource guessing information of the target user on the target guessing events, when the virtual resource guessing information is a fixed number of virtual resources that the target user may bet on the target guessing events, and when the virtual resource guess information is a virtual resource amount interval indicating that the target user can bet aiming at the target guess event, a quantity can be arbitrarily selected in the quantity interval as the betting virtual resource amount so as to obtain the target virtual resource guess information. The virtual resource guess information here can be understood as the amount of virtual resources that the target user bets on the target guess event.
The virtual resource guess number of the target user aiming at the target guess event is identified in the guess participation request, the virtual resource transfer parameters are divided into forward virtual resource transfer parameters successful in guess and reverse virtual resource transfer parameters failed in guess, the forward virtual resource transfer parameters are multiplied by the virtual resource guess number to obtain the virtual resource transfer number successful in guess, and the reverse virtual resource transfer parameters are multiplied by the virtual resource guess number to obtain the virtual resource transfer number failed in guess. The virtual resource transfer amount can be understood as the amount of the virtual resource which can be guessed by the target user in the guessing activity and the amount of the virtual resource which needs to be deducted when the guess is wrong.
It should be noted that the guessing event may be an event that predicts the behavior or information generated by the anchor in the live broadcast process, for example, taking the anchor as the game anchor, the guessing event may be an event that whether the game anchor can complete a specific task in the live broadcast.
203. The server sends the guess participation request to a guess server of the live broadcast application to be tested, and receives guess result page information of the guess participation request pair returned by the guess server.
For example, the server sends a guess participation request to a guess server of the live broadcast application to be tested, simulates guess activities corresponding to the guess participation request of a target user, and simulates selection of a target guess event and addition of a virtual resource guess number corresponding to the target guess event in the guess activities. When the guessing activity is completed and the guessing result is displayed on the guessing result page, the guessing server returns the guessing result page information corresponding to the guessing result page to the server, so that the server receives the guessing result page information, and the guessing result information displayed on the guessing result page can be as shown in fig. 5.
Optionally, after the guess participation request is sent to the guess server, the guess participation page information returned by the guess server may be received, for example, the guess server simulates the target user to participate in the guess activity according to the guess participation request, when successful participation is performed, the information of the guess participation page may be sent to the application program testing device as the guess participation page information, the server may receive the guess participation page information returned by the guess server, and the guess participation information displayed on the guess participation page may be as shown in fig. 6. The guess participation information of the target user is identified in the guess participation page, and the guess participation information can be information indicating the number of virtual resources consumed by the target user for successfully participating in the guess activity.
204. The server identifies the current virtual resource guess number of the target user aiming at the target guess event in the guess participation information.
For example, the server identifies the amount of virtual resources that the target user selects to bet on the target guess event in the guess participation page in the guess participation information, and takes the amount of virtual resources to bet as the current virtual resource guess amount.
205. And the server screens out the target virtual resource transfer quantity corresponding to the target user from the virtual resource transfer quantities according to the guessing result page information.
For example, the server identifies the guessing result information of the target users participating in the guessing result page information, the guessing result information may be winning or losing in the guessing, the guessing completion information of the target guessing event selected by the target users may be determined according to the guessing result information, when the guessing completion information indicates that the target guessing event is completed in the guessing activity, the target transfer direction is determined to be forward transfer, that is, the guessing winning is determined, the target users may obtain virtual resources of the virtual resource transfer amount, when the guessing completion information indicates that the target guessing event is not completed in the guessing activity, the guessing failure may be determined, the target transfer direction is reverse movement, that is, the target users may need to consume the virtual resources of the virtual resource transfer amount, and the like. When the target transfer direction is forward transfer, the virtual resource quantity corresponding to the forward transfer can be screened from the virtual resource transfer quantity to obtain a target virtual resource quantity, and the target virtual resource quantity can be the virtual resource quantity acquired by the target user in the guessing activity. When the target transfer direction is reverse transfer, the virtual resource quantity corresponding to the reverse transfer can be screened from the virtual resource transfer quantity to obtain the target virtual resource quantity, and the target virtual resource quantity can be the quantity of the virtual resource consumed by the target user in the guessing activity.
206. And the server updates the virtual resource information based on the current guessing number of the virtual resources and the transfer number of the target virtual resources to obtain the target virtual resource information of the target user.
For example, the amount of virtual resources in the live application to be tested before the target user participates in the guessing activity is identified in the virtual resource information, so as to obtain the historical amount of virtual resources. And comparing the current virtual resource guess number with the virtual resource guess number carried in the guess participation request, and subtracting the current virtual resource guess number from the historical virtual resource number when the virtual resource guess number is the same as the current virtual resource guess number to obtain the residual basic virtual resource number of the target user after participating in the guess. When the target transfer direction is forward transfer, namely when the target user guesses a prize, the number of the basic virtual resources is added with the number of the target virtual resources transfer, so that the number of the target virtual resources of the target user can be obtained, and when the target transfer direction is reverse transfer, namely when the target user guesses a prize, the number of the basic virtual resources is used as the number of the target virtual resources of the target user. And when the target transfer direction is forward transfer, adding the target virtual resource transfer quantity to the replaced virtual resource information, and when the target transfer direction is reverse transfer, adding the current virtual resource guess quantity serving as the target virtual resource transfer quantity to the replaced virtual resource information so as to obtain the target virtual resource information of the target user.
207. And the server determines a test result of the to-be-tested live broadcast application based on the target virtual resource information and the guessing result page information.
For example, the server identifies page virtual resource information displayed on a guess result page from the guess result page information, screens current virtual resource information of a target user after the target user participates in guessing from a preset virtual resource information database of the live broadcast application to be tested, and compares the page resource information, the current virtual resource information and the target virtual resource information to obtain a test result of the live broadcast application to be tested, which may specifically be as follows:
(1) and identifying page virtual resource information displayed on the guess result page in the guess result page information.
For example, the server identifies information such as the virtual resource number and the virtual resource transfer record of the target user after the guessing activity displayed on the guessing result page is finished in the guessing result page information, and uses the virtual resource number and the virtual resource transfer record of the target user after the guessing is finished as the page virtual resource information.
(2) And the server screens out the current virtual resource information of the target user after the target user participates in guessing from a preset virtual resource information database of the live broadcast application to be tested.
For example, the time for displaying the guess result is identified in the guess result page information, and the time is used as the guess end time after the guess is participated. And establishing a command word according to the identity of the target user and the guessing finishing time, and taking the command word as a virtual resource query instruction. And inquiring current virtual resource information in a pre-virtual resource information database of the live broadcast application to be tested based on the virtual resource inquiry instruction.
(3) And the server compares the page resource information, the current virtual resource information and the target virtual resource information to obtain a test result of the to-be-tested live broadcast application.
For example, the server extracts the guess result page from the page resource information, displays the first virtual resource transfer record and the first virtual resource quantity of the target user after the guess is finished, and extracts the second virtual resource transfer record and the remaining second virtual resource quantity of the target user after the target user participates in the guess from the current virtual resource information.
The number difference of the virtual resources of the target user before and after participating in the guessing activity is identified in the first virtual resource transfer record, so that the first virtual resource transfer number displayed on the guessing result page can be obtained, and the number difference of the virtual resources of the target user in the preset virtual resource information database before and after participating in the activity is identified in the second virtual resource transfer record, so that the second virtual resource transfer number of the target user in the preset virtual resource information database can be obtained.
And comparing the target virtual resource quantity, the first virtual resource quantity and the second virtual resource quantity in the target virtual resource information, and comparing the target virtual resource transfer quantity, the first virtual resource transfer quantity and the second virtual resource transfer quantity in the target virtual resource information. And when the target virtual resource quantity, the first virtual resource quantity and the second virtual resource quantity are the same, and the virtual resource transfer quantity, the first virtual resource transfer quantity and the second virtual resource transfer quantity are the same, determining that the live broadcast application to be tested passes the test.
For the whole testing process, the guessing activity participating in the live broadcast application to be tested is simulated mainly in an interface automation mode to complete the testing of each process, and the method can be specifically shown in fig. 7. The testing process may be regarded as interacting with the APP and the service background of the live broadcast application to be tested through a script program, so as to complete the testing process, taking the virtual resource as a virtual gold coin in the live broadcast to be tested as an example, as shown in fig. 8, in the whole testing process, the number of the virtual resource needs to be queried in a preset virtual resource information database for many times, so as to determine the virtual resource transfer number and the number of the remaining virtual resources, as shown in fig. 9. And judging whether the guessing system of the live broadcast application to be tested is normal or not according to the virtual resource transfer quantity and the quantity of the residual virtual resources, and determining that the live broadcast application to be tested passes the test when the guessing system is normal.
As can be seen from the above, after acquiring the interaction information of the application program to be tested and the virtual resource information of the target user in the application program to be tested, the interaction information includes at least two interaction events and virtual resource transfer parameters corresponding to the interaction events, then, according to the interaction events, generating an interaction participation request of the target user, and according to the virtual resource transfer parameters, calculating the virtual resource transfer quantity corresponding to the interaction participation request, then, sending the interaction participation request to the interaction server of the application program to be tested, receiving the interaction result page information corresponding to the interaction participation request returned by the interaction server, according to the interaction result page information and the virtual resource transfer quantity, updating the virtual resource information to obtain the target virtual resource information of the target user, and then, based on the target virtual resource information and the interaction result page information, determining a test result of the application program to be tested; according to the scheme, the interactive participation request can be generated according to the interactive event, so that the interactive activity of the target user participating in the application to be tested on the interactive page is simulated, the application program to be tested is automatically tested, the testing time is greatly reduced, and the testing efficiency of the application program can be improved.
In order to better implement the above method, the embodiment of the present invention further provides an application testing apparatus, which may be integrated in an electronic device, such as a server or a terminal, and the terminal may include a tablet computer, a notebook computer, and/or a personal computer.
For example, as shown in fig. 10, the application testing apparatus may include an obtaining unit 301, a generating unit 302, an interacting unit 303, an updating unit 304, and a determining unit 305, as follows:
(1) an acquisition unit 301;
the acquiring unit 301 is configured to acquire interaction information of an application program to be tested and virtual resource information of a target user in the application program to be tested, where the interaction information includes at least two interaction events and virtual resource transfer parameters corresponding to the interaction events.
For example, the obtaining unit 301 may be specifically configured to obtain an interaction interface of an application program to be tested, query an interaction initiation request in the application program to be tested according to the interaction interface, obtain interaction initiation information corresponding to the interaction initiation request, determine the interaction information of the application program to be tested according to the interaction initiation information, and screen virtual resource information of a target user from a preset virtual resource information database of the application program to be tested.
(2) A generation unit 302;
the generating unit 302 is configured to generate an interaction participation request of a target user according to the interaction event, and calculate a virtual resource transfer quantity corresponding to the interaction participation request according to the virtual resource transfer parameter.
For example, the generating unit 302 may be specifically configured to screen at least one target interaction event in which a target user participates from the interaction events, determine interaction behavior information of the target user according to the target interaction event, generate an interaction participation request of the target user based on the interaction behavior information, identify a virtual resource interaction amount of the target user for the target interaction event in the interaction participation request, classify virtual resource transfer parameters according to transfer directions of virtual resources, and fuse the classified virtual resource transfer parameters and the virtual resource interaction amount to obtain a virtual resource transfer amount corresponding to each transfer direction.
(3) An interaction unit 303;
the interaction unit 303 is configured to send the interaction participation request to an interaction server of the application program to be tested, and receive interaction result page information corresponding to the interaction participation request returned by the interaction server.
For example, the interaction unit 303 may be specifically configured to send the interaction participation request to an interaction server of the application to be tested, simulate an interaction activity corresponding to the interaction participation request of the target user, simulate selection of a target interaction event in the interaction activity and addition of a virtual resource interaction quantity corresponding to the target interaction event, and when the interaction activity is completed and the interaction result is displayed on the interaction result page, return, by the interaction server, interaction result page information corresponding to the interaction result page to the application testing apparatus, so that the application testing apparatus receives the interaction result page information.
(4) An update unit 304;
and the updating unit 304 is configured to update the virtual resource information according to the interaction result page information and the virtual resource transfer quantity, so as to obtain target virtual resource information of the target user.
For example, the updating unit 304 may be specifically configured to identify the current virtual resource interaction amount of the target user for the target interaction event in the interaction participation information, screen a target virtual resource transfer amount corresponding to the target user from the virtual resource transfer amounts according to the interaction result page information, and update the virtual resource information based on the current virtual resource interaction amount and the target virtual resource transfer amount to obtain the target virtual resource information of the target user.
(5) A determination unit 305;
a determining unit 305, configured to determine a test result of the application to be tested based on the target virtual resource information and the interaction result page information.
For example, the determining unit 305 may be specifically configured to identify page virtual resource information displayed on an interaction result page in the interaction result page information, screen current virtual resource information of a target user after the target user participates in interaction from a preset virtual resource information database of an application program to be tested, and compare the page virtual resource information, the current virtual resource information and the target virtual resource information to obtain a test result of the application program to be tested.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
As can be seen from the above, in this embodiment, after the obtaining unit 301 obtains the interaction information of the application program to be tested and the virtual resource information of the target user in the application program to be tested, the interaction information includes at least two interaction events and virtual resource transfer parameters corresponding to the interaction events, then the generating unit 302 generates the interaction participation request of the target user according to the interaction events and calculates the virtual resource transfer quantity corresponding to the interaction participation request according to the virtual resource transfer parameters, then the interacting unit 303 sends the interaction participation request to the interaction server of the application program to be tested and receives the interaction result page information corresponding to the interaction participation request returned by the interaction server, the updating unit 304 updates the virtual resource information according to the interaction result page information and the virtual resource transfer quantity to obtain the target virtual resource information of the target user, then, the determining unit 305 determines a test result of the application program to be tested based on the target virtual resource information and the interaction result page information; according to the scheme, the interactive participation request can be generated according to the interactive event, so that the interactive activity of the target user participating in the application to be tested on the interactive page is simulated, the application program to be tested is automatically tested, the testing time is greatly reduced, and the testing efficiency of the application program can be improved.
An embodiment of the present invention further provides an electronic device, as shown in fig. 11, which shows a schematic structural diagram of the electronic device according to the embodiment of the present invention, specifically:
the electronic device may include components such as a processor 401 of one or more processing cores, memory 402 of one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 11 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the processor 401 is a control center of the electronic device, connects various parts of the whole electronic device by various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device. Optionally, processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 401.
The memory 402 may be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by operating the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 402 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 access to the memory 402.
The electronic device further comprises a power supply 403 for supplying power to the various components, and preferably, the power supply 403 is logically connected to the processor 401 through a power management system, so that functions of managing charging, discharging, and power consumption are realized through the power management system. The power supply 403 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
The electronic device may further include an input unit 404, and the input unit 404 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
Although not shown, the electronic device may further include a display unit and the like, which are not described in detail herein. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 runs the application program stored in the memory 402, thereby implementing various functions as follows:
acquiring interaction information of an application program to be tested and virtual resource information of a target user in the application program to be tested, the interactive information comprises at least two interactive events and virtual resource transfer parameters corresponding to the interactive events, generating an interactive participation request of a target user according to the interactive event, calculating the virtual resource transfer quantity corresponding to the interactive participation request according to the virtual resource transfer parameter, then, the interactive participation request is sent to an interactive server of the application program to be tested, the interactive result page information corresponding to the interactive participation request returned by the interactive server is received, according to the interactive result page information and the virtual resource transfer quantity, and updating the virtual resource information to obtain target virtual resource information of a target user, and determining a test result of the application program to be tested based on the target virtual resource information and the interaction result page information.
For example, the electronic device may obtain an interactive interface of an application program to be tested, query an interaction initiation request in the application program to be tested according to the interactive interface, obtain interaction initiation information corresponding to the interaction initiation request, determine the interaction information of the application program to be tested according to the interaction initiation information, and screen out virtual resource information of a target user from a preset virtual resource information database of the application program to be tested. Screening at least one target interaction event participated by a target user from the interaction events, determining interaction behavior information of the target user according to the target interaction event, generating an interaction participation request of the target user based on the interaction behavior information, identifying the virtual resource interaction quantity of the target user aiming at the target interaction event from the interaction participation request, classifying virtual resource transfer parameters according to the transfer directions of virtual resources, and fusing the classified virtual resource transfer parameters with the virtual resource interaction quantity to obtain the virtual resource transfer quantity corresponding to each transfer direction. The method comprises the steps of sending an interaction participation request to an interaction server of an application program to be tested, simulating interaction activities corresponding to the participation of a target user in the interaction participation request, simulating selection of a target interaction event in the interaction activities and addition of the number of virtual resource interactions corresponding to the target interaction event, and returning interaction result page information corresponding to an interaction result page to the application program testing device by the interaction server when the interaction activities are completed and the interaction results are displayed on the interaction result page, so that the application program testing device receives the interaction result page information. The current virtual resource interaction quantity of the target user aiming at the target interaction event is identified in the interaction participation information, the target virtual resource transfer quantity corresponding to the target user is screened out from the virtual resource transfer quantity according to the interaction result page information, and the virtual resource information is updated based on the current virtual resource interaction quantity and the target virtual resource transfer quantity to obtain the target virtual resource information of the target user. And identifying page virtual resource information displayed on the interaction result page in the interaction result page information, screening current virtual resource information of the target user after the target user participates in interaction from a preset virtual resource information database of the application program to be tested, and comparing the page virtual resource information, the current virtual resource information and the target virtual resource information to obtain a test result of the application program to be tested.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
As can be seen from the above, in the embodiment of the present invention, after acquiring the interaction information of the application program to be tested and the virtual resource information of the target user in the application program to be tested, the interaction information includes at least two interaction events and virtual resource transfer parameters corresponding to the interaction events, then, according to the interaction events, generating an interaction participation request of the target user, and according to the virtual resource transfer parameters, calculating the virtual resource transfer amount corresponding to the interaction participation request, then, sending the interaction participation request to the interaction server of the application program to be tested, receiving the interaction result page information corresponding to the interaction participation request returned by the interaction server, according to the interaction result page information and the virtual resource transfer amount, updating the virtual resource information to obtain the target virtual resource information of the target user, and then, based on the target virtual resource information and the interaction result page information, determining a test result of the application program to be tested; according to the scheme, the interactive participation request can be generated according to the interactive event, so that the interactive activity of the target user participating in the application to be tested on the interactive page is simulated, the application program to be tested is automatically tested, the testing time is greatly reduced, and the testing efficiency of the application program can be improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, the embodiment of the present invention provides a computer-readable storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the application program testing methods provided by the embodiment of the present invention. For example, the instructions may perform the steps of:
acquiring interaction information of an application program to be tested and virtual resource information of a target user in the application program to be tested, the interactive information comprises at least two interactive events and virtual resource transfer parameters corresponding to the interactive events, generating an interactive participation request of a target user according to the interactive event, calculating the virtual resource transfer quantity corresponding to the interactive participation request according to the virtual resource transfer parameter, then, the interactive participation request is sent to an interactive server of the application program to be tested, the interactive result page information corresponding to the interactive participation request returned by the interactive server is received, according to the interactive result page information and the virtual resource transfer quantity, and updating the virtual resource information to obtain target virtual resource information of a target user, and determining a test result of the application program to be tested based on the target virtual resource information and the interaction result page information.
For example, the electronic device may obtain an interactive interface of an application program to be tested, query an interaction initiation request in the application program to be tested according to the interactive interface, obtain interaction initiation information corresponding to the interaction initiation request, determine the interaction information of the application program to be tested according to the interaction initiation information, and screen out virtual resource information of a target user from a preset virtual resource information database of the application program to be tested. Screening at least one target interaction event participated by a target user from the interaction events, determining interaction behavior information of the target user according to the target interaction event, generating an interaction participation request of the target user based on the interaction behavior information, identifying the virtual resource interaction quantity of the target user aiming at the target interaction event from the interaction participation request, classifying virtual resource transfer parameters according to the transfer directions of virtual resources, and fusing the classified virtual resource transfer parameters with the virtual resource interaction quantity to obtain the virtual resource transfer quantity corresponding to each transfer direction. The method comprises the steps of sending an interaction participation request to an interaction server of an application program to be tested, simulating interaction activities corresponding to the participation of a target user in the interaction participation request, simulating selection of a target interaction event in the interaction activities and addition of the number of virtual resource interactions corresponding to the target interaction event, and returning interaction result page information corresponding to an interaction result page to the application program testing device by the interaction server when the interaction activities are completed and the interaction results are displayed on the interaction result page, so that the application program testing device receives the interaction result page information. The current virtual resource interaction quantity of the target user aiming at the target interaction event is identified in the interaction participation information, the target virtual resource transfer quantity corresponding to the target user is screened out from the virtual resource transfer quantity according to the interaction result page information, and the virtual resource information is updated based on the current virtual resource interaction quantity and the target virtual resource transfer quantity to obtain the target virtual resource information of the target user. And identifying page virtual resource information displayed on the interaction result page in the interaction result page information, screening current virtual resource information of the target user after the target user participates in interaction from a preset virtual resource information database of the application program to be tested, and comparing the page virtual resource information, the current virtual resource information and the target virtual resource information to obtain a test result of the application program to be tested.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the computer-readable storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the computer-readable storage medium can execute the steps in any application program testing method provided by the embodiment of the present invention, the beneficial effects that can be achieved by any application program testing method provided by the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
According to an aspect of the application, there is provided, among other things, a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The computer instructions are read by a processor of the computer device from a computer-readable storage medium, and the computer instructions are executed by the processor to cause the computer device to perform the methods provided in the various alternative implementations of the application testing aspect described above.
The application program testing method, device and computer-readable storage medium provided by the embodiments of the present invention are described in detail above, and the principles and embodiments of the present invention are explained herein by applying specific examples, and the descriptions of the above embodiments are only used to help understand the method and core ideas of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (17)

1. An application testing method, comprising:
acquiring interaction information of an application program to be tested and virtual resource information of a target user in the application program to be tested, wherein the interaction information comprises at least two interaction events and virtual resource transfer parameters corresponding to the interaction events;
generating an interaction participation request of the target user according to the interaction event, and calculating the virtual resource transfer quantity corresponding to the interaction participation request according to the virtual resource transfer parameter;
sending the interaction participation request to an interaction server of the application program to be tested, and receiving interaction result page information corresponding to the interaction participation request returned by the interaction server;
updating the virtual resource information according to the interaction result page information and the virtual resource transfer quantity to obtain target virtual resource information of the target user;
and determining the test result of the application program to be tested based on the target virtual resource information and the interaction result page information.
2. The method for testing an application program according to claim 1, wherein the generating an interactive participation request of the target user according to the interactive event comprises:
screening at least one target interaction event in which the target user participates from the interaction events;
determining interaction behavior information of the target user according to the target interaction event;
and generating an interactive participation request of the target user based on the interactive behavior information.
3. The method for testing an application program according to claim 2, wherein the determining the interactive behavior information of the target user according to the target interaction event comprises:
acquiring interface information and virtual resource interaction information of the target interaction event;
determining target virtual resource interaction information of the target user aiming at the target interaction event according to the virtual resource interaction information;
and fusing the interface information and the target virtual resource interaction information to obtain the interaction behavior information of the target user.
4. The method for testing an application program according to claim 3, wherein the calculating the virtual resource transfer amount corresponding to the interactive participation request according to the virtual resource transfer parameter comprises:
identifying the number of virtual resource interactions of the target user aiming at the target interaction event in the interaction participation request;
classifying the virtual resource transfer parameters according to the transfer direction of the virtual resources;
and fusing the classified virtual resource transfer parameters with the virtual resource interaction quantity to obtain the virtual resource transfer quantity corresponding to each transfer direction.
5. The application program testing method according to any one of claims 1 to 4, wherein after sending the interactive participation request to the interactive server of the application program to be tested, the method further comprises:
receiving interaction participation page information corresponding to the interaction participation request returned by the server;
identifying the interaction participation information of the target user in the interaction participation page information;
the updating the virtual resource information according to the interaction result page information and the virtual resource transfer quantity to obtain the target virtual resource information of the target user includes: and updating the virtual resource information according to the interaction participation information, the interaction result page information and the virtual resource transfer quantity to obtain the target virtual resource information of the target user.
6. The method for testing an application program according to claim 5, wherein the step of updating the virtual resource information according to the interaction participation information, the interaction result page information, and the virtual resource transfer amount to obtain the target virtual resource information of the target user comprises:
identifying the current virtual resource interaction quantity of a target user aiming at a target interaction event in the interaction participation information;
screening out the target virtual resource transfer quantity corresponding to the target user from the virtual resource transfer quantities according to the interaction result page information;
and updating the virtual resource information based on the current virtual resource interaction quantity and the target virtual resource transfer quantity to obtain the target virtual resource information of the target user.
7. The method for testing an application program according to claim 6, wherein the step of screening the target virtual resource transfer amount corresponding to the target user from the virtual resource transfer amounts according to the interaction result page information comprises:
identifying interaction result information of the target user participating in interaction in the interaction result page information;
determining a target transfer direction corresponding to the target interaction event according to the interaction result information;
and screening the virtual resource transfer quantity corresponding to the target transfer direction from the virtual resource transfer quantities to obtain the target virtual resource transfer quantity corresponding to the target user.
8. The method for testing an application program according to claim 7, wherein the updating the virtual resource information based on the current virtual resource interaction amount and the target virtual resource transfer amount to obtain the target virtual resource information of the target user comprises:
identifying the historical virtual resource quantity of the target user in the application program to be tested in the virtual resource information;
fusing the current virtual resource interaction quantity and the historical virtual resource quantity to obtain the basic virtual resource quantity of the target user;
according to the target transfer direction, fusing the basic virtual resource quantity and the target virtual resource transfer quantity to obtain the target virtual resource quantity of the target user;
and replacing the historical virtual resource quantity in the virtual resource information with the target virtual resource quantity, and adding the target virtual resource transfer quantity to the replaced virtual resource information to obtain the target virtual resource information of the target user.
9. The method for testing the application program according to any one of claims 1 to 4, wherein the determining the test result of the application program to be tested based on the target virtual resource information and the interaction result page information comprises:
identifying page virtual resource information displayed on the interaction result page from the interaction result page information;
screening out the current virtual resource information of the target user after the target user participates in interaction from a preset virtual resource information database of the application program to be tested;
and comparing the page virtual resource information, the current virtual resource information and the target virtual resource information to obtain a test result of the application program to be tested.
10. The method for testing an application program according to claim 9, wherein the step of screening out the current virtual resource information of the target user after the target user participates in the interaction from a preset virtual resource information database of the application program to be tested comprises:
screening out interaction ending time of the target user after the target user participates in interaction in the application program to be tested from the interaction result page information;
constructing a virtual resource query instruction according to the identity of the target user and the interaction ending time;
and inquiring the current virtual resource information in a preset virtual resource information database of the application program to be tested based on the virtual resource inquiry instruction.
11. The method for testing an application program according to claim 9, wherein the comparing the page virtual resource information, the current virtual resource information and the target virtual resource information to obtain the test result of the application program to be tested comprises:
extracting a first virtual resource transfer record and a first virtual resource quantity from the page virtual resource information, and extracting a second virtual resource transfer record and a second virtual resource quantity from the current virtual resource information;
identifying a first virtual resource transfer quantity of the target user in the first virtual resource transfer record, and identifying a second virtual resource transfer quantity of the target user in the second virtual resource transfer record;
comparing the number of target virtual resources, the number of first virtual resources and the number of second virtual resources in the target virtual resource information, and comparing the transfer number of target virtual resources, the transfer number of first virtual resources and the transfer number of second virtual resources in the target virtual resource information;
and when the target virtual resource quantity, the first virtual resource quantity and the second virtual resource quantity are the same, and the target virtual resource transfer quantity, the first virtual resource transfer quantity and the second virtual resource transfer quantity are the same, determining that the application program to be tested passes the test.
12. The method for testing the application program according to any one of claims 1 to 4, wherein the obtaining of the interaction information of the application program to be tested and the virtual resource information of the target user in the application program to be tested comprises:
acquiring an interactive interface of the application program to be tested, and inquiring an interactive initiation request in the application program to be tested according to the interactive interface;
acquiring interaction initiating information corresponding to the interaction initiating request, and determining the interaction information of the application program to be tested according to the interaction initiating information;
and screening out the virtual resource information of the target user from a preset virtual resource information database of the application program to be tested.
13. The method for testing an application program according to claim 12, wherein the determining the interaction information of the application program to be tested according to the interaction initiation information comprises:
identifying an interaction identity of an interaction initiating user in the interaction initiating information;
constructing an interactive query request aiming at the interactive initiating user according to the interactive identity;
sending the interactive query request to an interactive server of the application program to be tested, and receiving interactive page information returned by the interactive server;
and screening the interactive information of the application program to be tested from the interactive page information.
14. The method for testing an application program according to claim 13, after receiving the interactive page information returned by the interactive server, further comprising:
screening out to-be-tested interface information of the interactive page from the interactive page information;
testing the information of the interface to be tested according to a preset testing strategy;
the step of screening out the interaction information of the application program to be tested from the interaction page information comprises the following steps: and when the interface information to be tested passes the test, screening the interactive information of the application program to be tested from the interactive page information.
15. An application testing apparatus, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring interaction information of an application program to be tested and virtual resource information of a target user in the application program to be tested, and the interaction information comprises at least two interaction events and virtual resource transfer parameters corresponding to the interaction events;
the generating unit is used for generating an interaction participation request of the target user according to the interaction event and calculating the virtual resource transfer quantity corresponding to the interaction participation request according to the virtual resource transfer parameter;
the interaction unit is used for sending the interaction participation request to an interaction server of the application program to be tested and receiving interaction result page information corresponding to the interaction participation request returned by the interaction server;
the updating unit is used for updating the virtual resource information according to the interaction result page information and the virtual resource transfer quantity to obtain target virtual resource information of the target user;
and the determining unit is used for determining the test result of the application program to be tested based on the target virtual resource information and the interaction result page information.
16. An electronic device comprising a processor and a memory, the memory storing an application program, the processor being configured to run the application program in the memory to perform the steps of the application testing method of any one of claims 1 to 14.
17. A computer readable storage medium storing instructions adapted to be loaded by a processor to perform the steps of the method of testing an application program of any one of claims 1 to 14.
CN202110166334.6A 2021-02-04 2021-02-04 Application program testing method and device Active CN112783790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110166334.6A CN112783790B (en) 2021-02-04 2021-02-04 Application program testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110166334.6A CN112783790B (en) 2021-02-04 2021-02-04 Application program testing method and device

Publications (2)

Publication Number Publication Date
CN112783790A CN112783790A (en) 2021-05-11
CN112783790B true CN112783790B (en) 2022-04-05

Family

ID=75761150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110166334.6A Active CN112783790B (en) 2021-02-04 2021-02-04 Application program testing method and device

Country Status (1)

Country Link
CN (1) CN112783790B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113468068B (en) * 2021-07-21 2023-08-25 腾讯科技(深圳)有限公司 Virtual resource testing method and device, storage medium and electronic equipment
CN114996122B (en) * 2022-04-26 2024-12-03 北京达佳互联信息技术有限公司 Automated testing method, device, electronic device and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741906A (en) * 2017-09-29 2018-02-27 平安科技(深圳)有限公司 Monetary fund system automatic testing method, device, equipment and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024347A (en) * 2001-01-09 2011-04-20 托普科德公司 Systems and methods for coding competitions
CN105786707B (en) * 2016-02-29 2019-01-11 腾讯科技(深圳)有限公司 Program testing method and device
US9934130B2 (en) * 2016-05-20 2018-04-03 Accenture Global Solutions Limited Software integration testing with unstructured database
CN107766231B (en) * 2016-08-22 2021-03-16 阿里巴巴集团控股有限公司 Automatic testing method and device
EP3722942B1 (en) * 2019-04-10 2023-03-22 The Boeing Company Running integration tests using unit tests
CN110852870A (en) * 2019-11-01 2020-02-28 腾讯科技(深圳)有限公司 Virtual resource transfer method, device, equipment and readable storage medium
CN110990742A (en) * 2019-12-02 2020-04-10 广东幸福密码网络科技有限公司 Intelligent testing and learning system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107741906A (en) * 2017-09-29 2018-02-27 平安科技(深圳)有限公司 Monetary fund system automatic testing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112783790A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
CN108154197B (en) Method and device for realizing image annotation verification in virtual scene
CN112783790B (en) Application program testing method and device
CN110597719B (en) A kind of image clustering method, device and medium for adaptation test
EP3852014A1 (en) Method and apparatus for training learning model, and computing device
CN107040535A (en) Mobile solution channel logs in monitoring method, device, system and storage medium
CN112215651A (en) Information prompting method and device, storage medium and electronic equipment
CN112915548A (en) Data processing method, device and equipment of multimedia playing platform and storage medium
CN109847340A (en) A kind of information processing method, device, equipment and medium
CN112308582B (en) Resource processing method and device, storage medium and electronic device
CN113971191A (en) Data import method and device and computer readable storage medium
CN112052399A (en) Data processing method and device and computer readable storage medium
CN113238860B (en) Task request processing method and device, electronic equipment and storage medium
CN114191822A (en) Test method, test device, computer equipment, storage medium and product
CN113836013A (en) Embedded point testing method and device, computer equipment and computer readable storage medium
US11768760B2 (en) Testing of a resource manager of an application management system
CN114816597A (en) Content display method and device and computer readable storage medium
CN115712571A (en) Interactive service test device, interactive service test device, computer equipment and storage medium
WO2023087912A1 (en) Data synchronization method and apparatus, and device and medium
CN112764837B (en) Data reporting method, device, storage medium and terminal
CN114267440A (en) Medical order information processing method, device and computer-readable storage medium
CN113791975A (en) Game testing method and device, computer equipment and storage medium
CN113413608A (en) Game data processing method and device, computer equipment and storage medium
CN113158029A (en) Content display method and device and computer readable storage medium
CN113750540B (en) Game matching method, game matching device, storage medium and computer program product
CN114570027B (en) A game resource allocation method, device, terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40043532

Country of ref document: HK

GR01 Patent grant
GR01 Patent grant