CN110955597A - Object testing method and device, electronic equipment and computer readable storage medium - Google Patents

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

Info

Publication number
CN110955597A
CN110955597A CN201911136509.8A CN201911136509A CN110955597A CN 110955597 A CN110955597 A CN 110955597A CN 201911136509 A CN201911136509 A CN 201911136509A CN 110955597 A CN110955597 A CN 110955597A
Authority
CN
China
Prior art keywords
running
tested
tester
data
testing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911136509.8A
Other languages
Chinese (zh)
Other versions
CN110955597B (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.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network Technology 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 Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN201911136509.8A priority Critical patent/CN110955597B/en
Publication of CN110955597A publication Critical patent/CN110955597A/en
Application granted granted Critical
Publication of CN110955597B publication Critical patent/CN110955597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases

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 disclosure discloses an object testing method, an object testing device, electronic equipment and a computer readable storage medium, wherein the object testing method comprises the following steps: acquiring running condition data of an object to be tested, and determining a running tester according to the running condition data of the object to be tested; responding to the received object running triggering request sent by the running tester, and testing and running the object to be tested; and determining the test result of the object according to the test operation result. The technical scheme can timely and effectively identify the possible service object conflicts based on real data transmission, thereby greatly improving the setting efficiency of the service content and the display quality of the service content.

Description

Object testing method and device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of data testing technologies, and in particular, to an object testing method and apparatus, an electronic device, and a computer-readable storage medium.
Background
With the development of internet technology, more and more businesses or service providers provide services to users through internet applications. In order to provide users with a rich variety of services, service providers typically present different service contents in internet applications, which may be applicable for different time periods, for different service areas, and for different users. In fact, the setting of the service contents of the above-mentioned great variety is mostly operated by different setting personnel, so that the situation that the service application conditions conflict often occurs, and because the service application conditions have great content, it is difficult to timely and effectively identify the service conflicts that may occur depending on manual investigation, which may greatly reduce the setting efficiency of the service contents and the display quality of the service contents.
Disclosure of Invention
The embodiment of the disclosure provides an object testing method and device, electronic equipment and a computer-readable storage medium.
In a first aspect, an embodiment of the present disclosure provides an object testing method.
Specifically, the object testing method includes:
acquiring running condition data of an object to be tested, and determining a running tester according to the running condition data of the object to be tested;
responding to the received object running triggering request sent by the running tester, and testing and running the object to be tested;
and determining the test result of the object according to the test operation result.
With reference to the first aspect, in a first implementation manner of the first aspect, the operating condition data includes one or more of the following data: running time efficiency data, running party requirement data and running content data.
With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the obtaining operation condition data of the object to be tested, and determining an operation tester according to the operation condition data of the object to be tested includes:
acquiring running condition data of an object to be tested;
acquiring operation data of a candidate operation tester, wherein the operation data of the candidate operation tester comprises one or more of the following data: candidate operation testing party attribute information, candidate operation testing party behavior information and candidate operation testing party operation information;
and when the operation data of the candidate operation tester is matched with the operation condition data of the object to be tested, determining the candidate operation tester as a target operation tester.
With reference to the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the performing test on the object to be tested in response to receiving an object performing trigger request sent by the performing tester includes:
responding to the online state of the running tester, sending an object running trigger command to the running tester, so that the running tester sends an object running trigger request;
and testing and running the object to be tested in response to receiving the object running triggering request sent by the running tester.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, and the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the determining a test result of the object according to the test operation result includes:
acquiring a preset operation result of an object to be tested;
comparing the test operation result with the preset operation result;
and when the test operation result is matched with the preset operation result, the object test is confirmed to be successful, and when the test operation result is not matched with the preset operation result, the object test is confirmed to be failed.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, the third implementation manner of the first aspect, and the fourth implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the embodiment of the present invention further includes:
and executing preset operation according to the object test result.
In a second aspect, an embodiment of the present disclosure provides an object testing apparatus.
Specifically, the object testing apparatus includes:
the acquisition module is configured to acquire the running condition data of the object to be tested and determine a running tester according to the running condition data of the object to be tested;
the test module is configured to test and run the object to be tested in response to receiving an object running trigger request sent by the running tester;
and the determining module is configured to determine the test result of the object according to the test operation result.
With reference to the second aspect, in a first implementation manner of the second aspect, the operating condition data includes one or more of the following data: running time efficiency data, running party requirement data and running content data.
With reference to the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the obtaining module includes:
the first acquisition submodule is configured to acquire operating condition data of an object to be tested;
a second obtaining sub-module configured to obtain operation data of a candidate operation tester, wherein the operation data of the candidate operation tester comprises one or more of the following data: candidate operation testing party attribute information, candidate operation testing party behavior information and candidate operation testing party operation information;
a determining sub-module configured to determine the candidate operation tester as a target operation tester when the operation data of the candidate operation tester matches the operation condition data of the object to be tested.
With reference to the second aspect, the first implementation manner of the second aspect, and the second implementation manner of the second aspect, in a third implementation manner of the second aspect, the test module in the embodiment of the present invention includes:
the sending submodule is configured to respond to the condition that the operation testing party is in an online state, and send an object operation triggering command to the operation testing party, so that the operation testing party sends an object operation triggering request;
and the testing submodule is configured to test and run the object to be tested in response to receiving the object running triggering request sent by the running tester.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, and the third implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the determining module of the embodiment of the present invention includes:
the third obtaining submodule is configured to obtain a preset operation result of the object to be tested;
a comparison submodule configured to compare the test operation result with the preset operation result;
the confirming submodule is configured to confirm that the object test is successful when the test operation result is matched with the preset operation result, and confirm that the object test is failed when the test operation result is not matched with the preset operation result.
With reference to the second aspect, the first implementation manner of the second aspect, the second implementation manner of the second aspect, the third implementation manner of the second aspect, and the fourth implementation manner of the second aspect, in a fifth implementation manner of the second aspect, the embodiment of the present invention further includes:
and the execution module is configured to execute preset operation according to the object test result.
In a third aspect, the disclosed embodiments provide an electronic device, including a memory and a processor, where the memory is configured to store one or more computer instructions, where the one or more computer instructions are executed by the processor to implement the method steps of the object testing method in the first aspect.
In a fourth aspect, the disclosed embodiments provide a computer-readable storage medium for storing computer instructions for an object testing apparatus, which contains computer instructions for executing the object testing method in the first aspect to the object testing apparatus.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the technical scheme, the operation testing party which meets the operation condition of the object to be tested is determined and is enabled to send the request truly so as to trigger the test operation of the object to be tested, and whether the object to be tested can operate normally is judged. The technical scheme can timely and effectively identify the possible service object conflicts based on real data transmission, thereby greatly improving the setting efficiency of the service content and the display quality of the service content.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 illustrates a flow diagram of a method of testing an object according to an embodiment of the present disclosure;
FIG. 2 shows a flowchart of step S101 of the subject testing method according to the embodiment shown in FIG. 1;
FIG. 3 shows a flowchart of step S102 of the subject testing method according to the embodiment shown in FIG. 1;
FIG. 4 shows a flowchart of step S103 of the subject testing method according to the embodiment shown in FIG. 1;
FIG. 5 shows a flow diagram of a method of testing a subject according to another embodiment of the present disclosure;
FIG. 6 shows a block diagram of a subject testing apparatus according to an embodiment of the present disclosure;
FIG. 7 is a block diagram illustrating the structure of an acquisition module 601 of the object testing apparatus according to the embodiment shown in FIG. 6;
FIG. 8 is a block diagram showing a test module 602 of the object testing apparatus according to the embodiment shown in FIG. 6;
fig. 9 is a block diagram showing a structure of a determination module 603 of the object testing apparatus according to the embodiment shown in fig. 6;
FIG. 10 is a block diagram showing the structure of a subject testing apparatus according to another embodiment of the present disclosure;
FIG. 11 shows a block diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 12 is a schematic block diagram of a computer system suitable for implementing a method for testing an object according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
The technical scheme provided by the embodiment of the disclosure triggers the test operation of the object to be tested by determining the operation testing party which meets the operation condition of the object to be tested and enabling the operation testing party to truly send a request so as to judge whether the object to be tested can normally operate. The technical scheme can timely and effectively identify the possible service object conflicts based on real data transmission, thereby greatly improving the setting efficiency of the service content and the display quality of the service content.
Fig. 1 illustrates a flowchart of a subject testing method according to an embodiment of the present disclosure, as illustrated in fig. 1, the subject testing method including the following steps S101-S103:
in step S101, obtaining operating condition data of an object to be tested, and determining an operating tester according to the operating condition data of the object to be tested;
in step S102, in response to receiving an object running trigger request sent by the running tester, the object to be tested is tested and run;
in step S103, a subject test result is determined according to the test operation result.
As mentioned above, with the development of internet technology, more and more businesses or service providers provide services to users through internet applications. In order to provide users with a rich variety of services, service providers typically present different service contents in internet applications, which may be applicable for different time periods, for different service areas, and for different users. In fact, the setting of the service contents of the above-mentioned great variety is mostly operated by different setting personnel, so that the situation that the service application conditions conflict often occurs, and because the service application conditions have great content, it is difficult to timely and effectively identify the service conflicts that may occur depending on manual investigation, which may greatly reduce the setting efficiency of the service contents and the display quality of the service contents.
In view of the above-mentioned drawbacks, in this embodiment, an object testing method is provided, which determines an operation tester meeting the operation condition of an object to be tested, and makes the operation tester truly send a request to trigger a test operation of the object to be tested, so as to determine whether the object to be tested can normally operate. The technical scheme can timely and effectively identify the possible service object conflicts based on real data transmission, thereby greatly improving the setting efficiency of the service content and the display quality of the service content.
In an optional implementation manner of this embodiment, the object to be tested refers to an object to be tested, which is executable and capable of generating a corresponding operation result, and the object to be tested may be, for example, an application to be tested, an information object to be tested, and the like, where the information object refers to an object capable of displaying a certain information content and generating a corresponding preset result in response to a preset request of a user, and may be, for example, an activity object capable of displaying a certain activity content and generating a corresponding activity execution result in response to an activity trigger request of the user.
In an optional implementation manner of this embodiment, the operation condition data refers to a preset condition that the object to be tested can start to operate, where the operation condition data may include one or more of the following data: operational aging data, operational party requirements data, operational content data, and the like. If the object to be tested is an activity object to be tested, the running timeliness data may include data such as activity start time, activity end time, activity effective time, and the like, the runtime requirement data may include data such as activity participation user attribute information, activity participation user behavior information, activity participation user operation information, and the like, and the running content data may include data such as activity participation content requirement, activity participation amount requirement, activity participation frequency requirement, and the like. For example, the activity start time may be 1 day of 2019, 2 months, the activity end time may be 15 days of 2019, 2 months and 15 days of 2019, the activity effective time may be 15 days, the activity participation user requirement may be a new user or an old user, the activity participation content requirement may be a preset advantage enjoyable by a certain commodity, the activity participation amount requirement may be a preset advantage enjoyable by a certain commodity reaching a certain amount, the activity participation frequency requirement may be that the user can participate in the activity only once per day, and the like.
In practical application, in the operating condition data, the operating aging data and the operating content data are relatively fixed data, that is, as long as the operating aging data and the operating content data are preset, the object to be tested can execute operation according to the preset operating aging data and the preset operating content data, the operating aging data and the operating content data are not changed generally, and the influence of the operating aging data and the operating content data on the operating result of the object to be tested is relatively fixed. However, the requirement data of the operation party is different, and although the requirement for the operation party is also preset and usually does not change, the influence of different operation parties on the operation result of the object to be tested is difficult to estimate due to various situations of the operation party. Taking the object to be tested as the activity object to be tested, the results of different users or different user clients participating in the activity may be different. In order to provide more complete service for users, the requirement of the to-be-tested moving object to the operator is usually obtained based on user portrait data, which makes the content of the requirement of the operator more complicated, and also becomes a main cause of conflict which causes the operation result of the to-be-tested object to be difficult to predict. Therefore, in order to timely and effectively identify object conflicts which may occur and greatly improve the setting efficiency and the display quality of the object content, in the implementation mode, a real operation party is selected and is enabled to send out a real object operation triggering request to test whether the operation result of the object to be tested is normal.
In an optional implementation manner of this embodiment, as shown in fig. 2, the step S101, namely, the step of obtaining the operating condition data of the object to be tested, and determining the operation tester according to the operating condition data of the object to be tested, includes the following steps S201 to S203:
in step S201, obtaining operating condition data of an object to be tested;
in step S202, operation data of a candidate operation tester is obtained, where the operation data of the candidate operation tester includes one or more of the following data: candidate operation testing party attribute information, candidate operation testing party behavior information and candidate operation testing party operation information;
in step S203, when the operation data of the candidate operation tester matches the operation condition data of the object to be tested, the candidate operation tester is determined as a target operation tester.
As mentioned above, in order to provide more complete services for users, the requirements of the to-be-tested moving object on the operation party are usually obtained based on user portrait data, which makes the content of the requirements of the operation party more complicated, and also becomes a main cause of conflicts that are difficult to predict for the operation results of the to-be-tested object. Therefore, in order to effectively identify object conflicts which may occur in time and greatly improve the setting efficiency and the display quality of the object content, in the implementation mode, a real operation party is selected to carry out the test of the object.
Specifically, firstly, acquiring operating condition data of the object to be tested; then, the available operation party is used as a candidate operation party which can be tested, namely a candidate operation testing party; as mentioned above, if the object to be tested is an activity object to be tested, the operation party requirement data may include an activity participation user requirement, such as data of activity participation user attribute information, activity participation user behavior information, activity participation user operation information, and the like, so that it may be determined whether the candidate operation testing party meets the operation conditions and requirements of the object to be tested according to the data of the operation party attribute information, the operation party behavior information, the operation party operation information, and the like, and if so, it may be determined as a target operation testing party to perform a subsequent actual test.
In an optional implementation manner of this embodiment, as shown in fig. 3, the step S102, that is, in response to receiving an object running trigger request sent by the running tester, of running the object to be tested includes the following steps S301 to S302:
in step S301, in response to that the operation tester is in an online state, sending an object operation trigger command to the operation tester, so that the operation tester sends an object operation trigger request;
in step S302, in response to receiving an object running trigger request sent by the running tester, the object to be tested is tested and run.
In order to obtain a true and valid test result, in this embodiment, the running test of the object is performed after detecting that the running tester is in a true online state. In addition, in order not to affect the normal operation or normal use of the operation tester, the actual test request of the operation tester is automatically executed by the application program or the client of the operation tester under the condition that the user of the operation tester does not sense, that is, after detecting that the operation tester is in a real online state, an object operation trigger command is sent to the operation tester, so that the operation tester sends the object operation trigger request after receiving the object operation trigger command; and after receiving an object running triggering request sent by the running tester, testing and running the object to be tested, wherein the running tester refers to a running tester application program or a client.
In an optional implementation manner of this embodiment, as shown in fig. 4, the step S103 of determining the test result of the object according to the test operation result includes the following steps S401 to S403:
in step S401, a preset operation result of the object to be tested is obtained;
in step S402, comparing the test operation result with the preset operation result;
in step S403, when the test operation result matches the preset operation result, it is determined that the object test is successful, and when the test operation result does not match the preset operation result, it is determined that the object test is failed.
In order to determine whether the operation of the object to be tested is normal or not and whether conflicts with other objects exist or not, after a test operation result is obtained, a preset operation result of the object to be tested is also required to be obtained; then comparing the test operation result with the preset operation result; and if the test operation result is not matched with the preset operation result, the object test is determined to be failed, namely the object is abnormally operated and conflicts with other objects exist.
The preset operation result refers to a preset operation result obtained when all operation conditions of the object to be tested are met and no condition influencing the operation result exists, and can be used as a judgment basis for judging whether the operation result of the object test is normal or not.
In an optional implementation manner of this embodiment, the method further includes a step of performing a preset operation according to the object test result, that is, as shown in fig. 5, the object test method includes the following steps S501 to S504:
in step S501, operation condition data of an object to be tested is acquired, and an operation tester is determined according to the operation condition data of the object to be tested;
in step S502, in response to receiving an object running trigger request sent by the running tester, the object to be tested is tested and run;
in step S503, determining a test result of the object according to the test operation result;
in step S504, a preset operation is performed according to the object test result.
In order to correct the application with problems in time, shorten the time required by the object test, and improve the operation efficiency of the object test, in this embodiment, a preset operation needs to be executed according to the result of the object test. When the object test result is normal operation, the preset operation may include one or more of the following operations: publish the object, enter the next level of object testing, and so on. When the object test result is abnormal operation, the preset operation may include one or more of the following operations: object fault location, object troubleshooting, object modification, object retesting, and the like.
The disclosure is explained and illustrated below with an application scenario as an example. In this scenario, for testing the application a, that is, the application a is the object to be tested, the running condition data of a certain activity to be tested in the application a is first determined, such as: the activity starting time is 2019, month 2 and day 1, the activity ending time is 2019, month 2 and day 15, the activity effective time is 15 days, the activity participating users can be new users or old users, the activity participating content requires a preset preference enjoyable by a certain commodity, the activity participating amount requires a preset preference enjoyable by a certain commodity reaching a certain amount, and the activity participating frequency requires that the user can participate in the activity only once a day. In order to ensure the authenticity of the test and the validity of the test result, a real user meeting the conditions, namely a running tester, is determined according to the running condition data, then a running trigger request is sent to the determined user, the user is enabled to start the application program A to participate in the activities according to the running condition data, meanwhile, the application program A in the test state at present is enabled to start all effective activities between date 2 and 1 in 2019 and date 2 and 15 in 2019 at the same time, the test result is obtained according to the real data feedback of the running tester, namely the running result is tested, namely, if the activity is formally on-line in date 2 and 1 in 2019, the activity cannot conflict with other activities, and the user participating in the activity cannot encounter abnormal conditions and the like. Based on the test results, the activities in the plan can be adjusted to avoid the conflict situation.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 shows a block diagram of a target test apparatus according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 6, the object testing apparatus includes:
an obtaining module 601 configured to obtain operating condition data of an object to be tested, and determine an operating tester according to the operating condition data of the object to be tested;
a testing module 602 configured to test and run the object to be tested in response to receiving an object running trigger request sent by the running tester;
a determining module 603 configured to determine a subject test result according to the test run result.
As mentioned above, with the development of internet technology, more and more businesses or service providers provide services to users through internet applications. In order to provide users with a rich variety of services, service providers typically present different service contents in internet applications, which may be applicable for different time periods, for different service areas, and for different users. In fact, the setting of the service contents of the above-mentioned great variety is mostly operated by different setting personnel, so that the situation that the service application conditions conflict often occurs, and because the service application conditions have great content, it is difficult to timely and effectively identify the service conflicts that may occur depending on manual investigation, which may greatly reduce the setting efficiency of the service contents and the display quality of the service contents.
In view of the above-mentioned drawbacks, in this embodiment, an object testing apparatus is provided, which determines an operation tester meeting the operation condition of an object to be tested, and makes the operation tester truly send a request to trigger a test operation of the object to be tested, so as to determine whether the object to be tested can normally operate. The technical scheme can timely and effectively identify the possible service object conflicts based on real data transmission, thereby greatly improving the setting efficiency of the service content and the display quality of the service content.
In an optional implementation manner of this embodiment, the object to be tested refers to an object to be tested, which is executable and capable of generating a corresponding operation result, and the object to be tested may be, for example, an application to be tested, an information object to be tested, and the like, where the information object refers to an object capable of displaying a certain information content and generating a corresponding preset result in response to a preset request of a user, and may be, for example, an activity object capable of displaying a certain activity content and generating a corresponding activity execution result in response to an activity trigger request of the user.
In an optional implementation manner of this embodiment, the operation condition data refers to a preset condition that the object to be tested can start to operate, where the operation condition data may include one or more of the following data: operational aging data, operational party requirements data, operational content data, and the like. If the object to be tested is an activity object to be tested, the running timeliness data may include data such as activity start time, activity end time, activity effective time, and the like, the runtime requirement data may include data such as activity participation user attribute information, activity participation user behavior information, activity participation user operation information, and the like, and the running content data may include data such as activity participation content requirement, activity participation amount requirement, activity participation frequency requirement, and the like. For example, the activity start time may be 1 day of 2019, 2 months, the activity end time may be 15 days of 2019, 2 months and 15 days of 2019, the activity effective time may be 15 days, the activity participation user requirement may be a new user or an old user, the activity participation content requirement may be a preset advantage enjoyable by a certain commodity, the activity participation amount requirement may be a preset advantage enjoyable by a certain commodity reaching a certain amount, the activity participation frequency requirement may be that the user can participate in the activity only once per day, and the like.
In practical application, in the operating condition data, the operating aging data and the operating content data are relatively fixed data, that is, as long as the operating aging data and the operating content data are preset, the object to be tested can execute operation according to the preset operating aging data and the preset operating content data, the operating aging data and the operating content data are not changed generally, and the influence of the operating aging data and the operating content data on the operating result of the object to be tested is relatively fixed. However, the requirement data of the operation party is different, and although the requirement for the operation party is also preset and usually does not change, the influence of different operation parties on the operation result of the object to be tested is difficult to estimate due to various situations of the operation party. Taking the object to be tested as the activity object to be tested, the results of different users or different user clients participating in the activity may be different. In order to provide more complete service for users, the requirement of the to-be-tested moving object to the operator is usually obtained based on user portrait data, which makes the content of the requirement of the operator more complicated, and also becomes a main cause of conflict which causes the operation result of the to-be-tested object to be difficult to predict. Therefore, in order to timely and effectively identify object conflicts which may occur and greatly improve the setting efficiency and the display quality of the object content, in the implementation mode, a real operation party is selected and is enabled to send out a real object operation triggering request to test whether the operation result of the object to be tested is normal.
In an optional implementation manner of this embodiment, as shown in fig. 7, the obtaining module 601 includes:
a first obtaining sub-module 701 configured to obtain operating condition data of an object to be tested;
a second obtaining sub-module 702 configured to obtain operation data of a candidate operation tester, wherein the operation data of the candidate operation tester includes one or more of the following data: candidate operation testing party attribute information, candidate operation testing party behavior information and candidate operation testing party operation information;
a determining sub-module 703 configured to determine the candidate operation tester as a target operation tester when the operation data of the candidate operation tester matches the operation condition data of the object to be tested.
As mentioned above, in order to provide more complete services for users, the requirements of the to-be-tested moving object on the operation party are usually obtained based on user portrait data, which makes the content of the requirements of the operation party more complicated, and also becomes a main cause of conflicts that are difficult to predict for the operation results of the to-be-tested object. Therefore, in order to effectively identify object conflicts which may occur in time and greatly improve the setting efficiency and the display quality of the object content, in the implementation mode, a real operation party is selected to carry out the test of the object.
Specifically, the first obtaining sub-module 701 obtains the operating condition data of the object to be tested; the second obtaining sub-module 702 takes the available operation party as a candidate operation party capable of performing the test, namely a candidate operation test party; as mentioned above, if the object to be tested is an activity object to be tested, the operation party requirement data may include an activity participation user requirement, such as data of attribute information of the activity participation user, behavior information of the activity participation user, and operation information of the activity participation user, so the determining sub-module 703 may determine whether the candidate operation testing party meets the operation conditions and requirements of the object to be tested according to the data of attribute information of the operation party, behavior information of the operation party, and operation information of the operation party, and if so, may determine the candidate operation testing party as a target operation testing party to perform a subsequent actual test.
In an optional implementation manner of this embodiment, as shown in fig. 8, the testing module 602 includes:
a sending sub-module 801 configured to send an object running trigger command to the running tester in response to the running tester being in an online state, so that the running tester sends an object running trigger request;
a testing sub-module 802 configured to test and run the object to be tested in response to receiving an object running trigger request sent by the running tester.
In order to obtain a true and valid test result, in this embodiment, the running test of the object is performed after detecting that the running tester is in a true online state. In addition, in order not to affect the normal operation or normal use of the operation tester, the actual test request of the operation tester is automatically executed by the application program or the client of the operation tester under the condition that the user of the operation tester does not sense, that is, the sending sub-module 801 sends an object operation triggering command to the operation tester after detecting that the operation tester is in the actual online state, so that the operation tester sends the object operation triggering request after receiving the object operation triggering command; after receiving the object operation triggering request sent by the operation tester, the testing sub-module 802 performs testing operation on the object to be tested, where the operation tester refers to an operation tester application program or a client.
In an optional implementation manner of this embodiment, as shown in fig. 9, the determining module 603 includes:
a third obtaining submodule 901 configured to obtain a preset operation result of the object to be tested;
a comparison sub-module 902 configured to compare the test operation result with the preset operation result;
the determining sub-module 903 is configured to determine that the object test is successful when the test operation result matches the preset operation result, and determine that the object test is failed when the test operation result does not match the preset operation result.
In order to determine whether the operation of the object to be tested is normal or not and whether a conflict with other objects exists or not, after obtaining the test operation result, the third obtaining sub-module 901 further needs to obtain a preset operation result of the object to be tested; the comparison sub-module 902 compares the test operation result with the preset operation result; if the test operation result matches the preset operation result, the determining sub-module 903 determines that the object test is successful, that is, the object operates normally without conflict with other objects, and if the test operation result does not match the preset operation result, the object test is failed, that is, the object operates abnormally with conflict with other objects.
The preset operation result refers to a preset operation result obtained when all operation conditions of the object to be tested are met and no condition influencing the operation result exists, and can be used as a judgment basis for judging whether the operation result of the object test is normal or not.
In an optional implementation manner of this embodiment, the apparatus further includes a part that performs a preset operation according to the object test result, that is, as shown in fig. 10, the object test apparatus includes:
an obtaining module 1001 configured to obtain operating condition data of an object to be tested, and determine an operating tester according to the operating condition data of the object to be tested;
the testing module 1002 is configured to test and run the object to be tested in response to receiving an object running trigger request sent by the running tester;
a determining module 1003 configured to determine a subject test result according to the test operation result;
an executing module 1004 configured to execute a preset operation according to the object test result.
In order to correct the application with problems in time, shorten the time required by the object test, and improve the operation efficiency of the object test, in this embodiment, the execution module 1004 is further required to execute a preset operation according to the result of the object test. When the object test result is normal operation, the preset operation may include one or more of the following operations: publish the object, enter the next level of object testing, and so on. When the object test result is abnormal operation, the preset operation may include one or more of the following operations: object fault location, object troubleshooting, object modification, object retesting, and the like.
The present disclosure also discloses an electronic device, fig. 11 shows a block diagram of an electronic device according to an embodiment of the present disclosure, and as shown in fig. 11, the electronic device 1100 includes a memory 1101 and a processor 1102; wherein the content of the first and second substances,
the memory 1101 is used to store one or more computer instructions that are executed by the processor 1102 to implement the above-described method steps.
FIG. 12 is a schematic block diagram of a computer system suitable for use in implementing a method for testing an object according to an embodiment of the present disclosure.
As shown in fig. 12, the computer system 1200 includes a Central Processing Unit (CPU)1201, which can execute various processes in the above-described embodiments according to a program stored in a Read Only Memory (ROM)1202 or a program loaded from a storage section 1208 into a Random Access Memory (RAM) 1203. In the RAM1203, various programs and data necessary for the operation of the system 1200 are also stored. The CPU1201, ROM1202, and RAM1203 are connected to each other by a bus 1204. An input/output (I/O) interface 1205 is also connected to bus 1204.
The following components are connected to the I/O interface 1205: an input section 1206 including a keyboard, a mouse, and the like; an output portion 1207 including a display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 1208 including a hard disk and the like; and a communication section 1209 including a network interface card such as a LAN card, a modem, or the like. The communication section 1209 performs communication processing via a network such as the internet. A driver 1210 is also connected to the I/O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 1210 as necessary, so that a computer program read out therefrom is mounted into the storage section 1208 as necessary.
In particular, the above described methods may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a medium readable thereby, the computer program comprising program code for performing the subject testing methods described above. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 1209, and/or installed from the removable medium 1211.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. An object testing method, comprising:
acquiring running condition data of an object to be tested, and determining a running tester according to the running condition data of the object to be tested;
responding to the received object running triggering request sent by the running tester, and testing and running the object to be tested;
and determining the test result of the object according to the test operation result.
2. The method of claim 1, wherein the operating condition data comprises one or more of the following: running time efficiency data, running party requirement data and running content data.
3. The method of claim 1 or 2, wherein the obtaining of the operating condition data of the object to be tested and the determining of the operating tester according to the operating condition data of the object to be tested comprise:
acquiring running condition data of an object to be tested;
acquiring operation data of a candidate operation tester, wherein the operation data of the candidate operation tester comprises one or more of the following data: candidate operation testing party attribute information, candidate operation testing party behavior information and candidate operation testing party operation information;
and when the operation data of the candidate operation tester is matched with the operation condition data of the object to be tested, determining the candidate operation tester as a target operation tester.
4. The method according to claim 1 or 2, wherein the testing and running the object to be tested in response to receiving the object running trigger request sent by the running tester comprises:
responding to the online state of the running tester, sending an object running trigger command to the running tester, so that the running tester sends an object running trigger request;
and testing and running the object to be tested in response to receiving the object running triggering request sent by the running tester.
5. An object testing apparatus, comprising:
the acquisition module is configured to acquire the running condition data of the object to be tested and determine a running tester according to the running condition data of the object to be tested;
the test module is configured to test and run the object to be tested in response to receiving an object running trigger request sent by the running tester;
and the determining module is configured to determine the test result of the object according to the test operation result.
6. The apparatus of claim 5, wherein the operating condition data comprises one or more of the following: running time efficiency data, running party requirement data and running content data.
7. The apparatus of claim 5 or 6, wherein the obtaining module comprises:
the first acquisition submodule is configured to acquire operating condition data of an object to be tested;
a second obtaining sub-module configured to obtain operation data of a candidate operation tester, wherein the operation data of the candidate operation tester comprises one or more of the following data: candidate operation testing party attribute information, candidate operation testing party behavior information and candidate operation testing party operation information;
a determining sub-module configured to determine the candidate operation tester as a target operation tester when the operation data of the candidate operation tester matches the operation condition data of the object to be tested.
8. The apparatus of claim 5 or 6, wherein the test module comprises:
the sending submodule is configured to respond to the condition that the operation testing party is in an online state, and send an object operation triggering command to the operation testing party, so that the operation testing party sends an object operation triggering request;
and the testing submodule is configured to test and run the object to be tested in response to receiving the object running triggering request sent by the running tester.
9. An electronic device comprising a memory and a processor; wherein the memory is configured to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor to implement the method steps of any of claims 1-4.
10. A computer-readable storage medium having stored thereon computer instructions, characterized in that the computer instructions, when executed by a processor, carry out the method steps of any of claims 1-4.
CN201911136509.8A 2019-11-19 2019-11-19 Object testing method and device, electronic equipment and computer readable storage medium Active CN110955597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911136509.8A CN110955597B (en) 2019-11-19 2019-11-19 Object testing method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911136509.8A CN110955597B (en) 2019-11-19 2019-11-19 Object testing method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110955597A true CN110955597A (en) 2020-04-03
CN110955597B CN110955597B (en) 2023-04-14

Family

ID=69977811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911136509.8A Active CN110955597B (en) 2019-11-19 2019-11-19 Object testing method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110955597B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112836095A (en) * 2021-02-26 2021-05-25 拉扎斯网络科技(上海)有限公司 Object display method, device, electronic equipment, storage medium and program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100180169A1 (en) * 2009-01-15 2010-07-15 La Fever George B Systems and methods of implementing remote boundary scan features
US20160364310A1 (en) * 2015-06-15 2016-12-15 International Business Machines Corporation Managing a set of tests based on other test failures
US20190012186A1 (en) * 2017-07-07 2019-01-10 Lenovo (Singapore) Pte. Ltd. Determining a startup condition in a dormant state of a mobile electronic device to affect an initial active state of the device in a transition to an active state
CN109491900A (en) * 2018-10-31 2019-03-19 北京车和家信息技术有限公司 Interface test method, device, electronic equipment and computer readable storage medium
US20190205233A1 (en) * 2017-12-28 2019-07-04 Hyundai Motor Company Fault injection testing apparatus and method
CN110472149A (en) * 2019-08-08 2019-11-19 拉扎斯网络科技(上海)有限公司 Information search method, device, electronic equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100180169A1 (en) * 2009-01-15 2010-07-15 La Fever George B Systems and methods of implementing remote boundary scan features
US20160364310A1 (en) * 2015-06-15 2016-12-15 International Business Machines Corporation Managing a set of tests based on other test failures
US20190012186A1 (en) * 2017-07-07 2019-01-10 Lenovo (Singapore) Pte. Ltd. Determining a startup condition in a dormant state of a mobile electronic device to affect an initial active state of the device in a transition to an active state
US20190205233A1 (en) * 2017-12-28 2019-07-04 Hyundai Motor Company Fault injection testing apparatus and method
CN109491900A (en) * 2018-10-31 2019-03-19 北京车和家信息技术有限公司 Interface test method, device, electronic equipment and computer readable storage medium
CN110472149A (en) * 2019-08-08 2019-11-19 拉扎斯网络科技(上海)有限公司 Information search method, device, electronic equipment and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周装轻;李菊芳;谭跃进;高鹏;: "多星多载荷任务规划系统的设计与实现" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112836095A (en) * 2021-02-26 2021-05-25 拉扎斯网络科技(上海)有限公司 Object display method, device, electronic equipment, storage medium and program product
CN112836095B (en) * 2021-02-26 2023-04-07 拉扎斯网络科技(上海)有限公司 Object display method, device, electronic equipment, storage medium and program product

Also Published As

Publication number Publication date
CN110955597B (en) 2023-04-14

Similar Documents

Publication Publication Date Title
US20140325480A1 (en) Software Regression Testing That Considers Historical Pass/Fail Events
CN109684188B (en) Test method and device
US9134997B2 (en) Methods for assessing deliverable product quality and devices thereof
CN111221727B (en) Test method, test device, electronic equipment and computer readable medium
US9823999B2 (en) Program lifecycle testing
CN110955597B (en) Object testing method and device, electronic equipment and computer readable storage medium
CN112100070A (en) Version defect detection method and device, server and storage medium
CN117076280A (en) Policy generation method and device, electronic equipment and computer readable storage medium
CN109274533B (en) Web service fault positioning device and method based on rule engine
US9038051B1 (en) Selecting patch solutions based on availability of information regarding patches previously installed on user system
CN107231268B (en) Method and device for testing website performance
CN115203178A (en) Data quality inspection method and device, electronic equipment and storage medium
CN110955596B (en) Application testing method, device, electronic equipment and computer readable storage medium
EP4068175A1 (en) Method for increasing or decreasing number of workers and inspectors in crowdsourcing-based project for creating artificial intelligence learning data
CN110362464B (en) Software analysis method and equipment
CN113821443A (en) Application program function detection method, device, equipment and storage medium
CN109597749B (en) Regression testing method, device, electronic equipment and computer readable storage medium
CN113760708A (en) Automatic testing method and device
CN112685282A (en) Test method, test device, electronic equipment and computer readable storage medium
CN107070742B (en) Service server health state checking method and system
CN113297053A (en) Method and device for determining test coverage rate and storage medium
CN111708649B (en) Attack detection method and system for service application system
CN112685286A (en) Test object generation method and device, electronic equipment and computer storage medium
CN112699017A (en) Sound testing method and device, electronic equipment and computer readable storage medium
CN112948269B (en) Information processing method, information processing apparatus, electronic device, and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant