CN111767233B - Service testing method and device based on intelligent express cabinet - Google Patents

Service testing method and device based on intelligent express cabinet Download PDF

Info

Publication number
CN111767233B
CN111767233B CN202010900676.1A CN202010900676A CN111767233B CN 111767233 B CN111767233 B CN 111767233B CN 202010900676 A CN202010900676 A CN 202010900676A CN 111767233 B CN111767233 B CN 111767233B
Authority
CN
China
Prior art keywords
test
unit process
segment
account
service
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
CN202010900676.1A
Other languages
Chinese (zh)
Other versions
CN111767233A (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.)
Nanjing cloud cabinet Network Technology Co.,Ltd.
Original Assignee
Jiangsu Cloudbox 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 Jiangsu Cloudbox Network Technology Co ltd filed Critical Jiangsu Cloudbox Network Technology Co ltd
Priority to CN202010900676.1A priority Critical patent/CN111767233B/en
Publication of CN111767233A publication Critical patent/CN111767233A/en
Application granted granted Critical
Publication of CN111767233B publication Critical patent/CN111767233B/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/3684Test management for test design, e.g. generating new test cases
    • 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

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 application provides a service testing method and device based on an intelligent express cabinet, when a testing request aiming at a production environment of the intelligent express cabinet is received, a testing account number of a tester is obtained from the testing request, target account number data information matched with the testing account number of the tester is obtained from an account number information database of a server, and the state of the target account number data information is configured to be a simulation testing state, wherein in the simulation testing state, the target account number data information is marked to be a hidden state or a deleted state, so that the testing account number of the tester is activated to be a new registered account number. Therefore, the service test process of the intelligent express delivery cabinet can be executed according to the test account number of the tester activated as the new registered account number. Therefore, the test account number of the tester can be simulated into a new registered account number so as to be utilized again, repeated test work of a certain scene can be frequently carried out for multiple times, and the test coverage of the production environment is increased.

Description

Service testing method and device based on intelligent express cabinet
Technical Field
The application relates to the technical field of computers, in particular to a service testing method and device based on an intelligent express cabinet.
Background
With the development and popularization of internet applications, various internet products gradually enter the daily lives of users. For example, in order to facilitate a user to handle express services, an intelligent express cabinet and internet software matched with the intelligent express cabinet are produced. The normal operation of the internet software is related to the previous software test and is not separable. Therefore, in order to ensure the normal operation of the production environment, the verification work of the production environment is indispensable.
However, through research by the inventors of the present application, in an actual testing process, the number of available test accounts is small compared to the number of available test accounts, and it is difficult to perform testing work. For example, in a production environment test of a mail sending service, because an account of a tester is usually registered in a production environment, and the production environment cannot support user logout, the account of the tester cannot be reused after being registered, so that repeated execution of test work on a certain scene frequently cannot be considered, and the test coverage of the production environment is inevitably influenced.
Disclosure of Invention
Based on the defects of the existing design, the application needs to provide a service testing method and device based on an intelligent express cabinet, and a testing account number of a tester can be simulated into a new registered account number so as to be utilized again, so that repeated testing work of a certain scene can be performed frequently, and the testing coverage of a production environment is increased.
Based on the first aspect of the embodiment of the application, a service testing method based on an intelligent express delivery cabinet is provided, and is applied to a server, and the method includes:
when a test request aiming at the production environment of the intelligent express cabinet is received, obtaining a test account number of a tester from the test request;
acquiring target account data information matched with the test account of the tester from an account information database of the server, and configuring the state of the target account data information into a simulated test state, wherein in the simulated test state, the target account data information is marked into a hidden state or a deleted state so as to activate the test account of the tester into a new registered account;
and executing the service test process of the intelligent express delivery cabinet according to the test account of the tester activated as the new registered account.
In a possible implementation manner of the first aspect, the step of executing a service test process of the intelligent express delivery cabinet according to the test account of the tester activated as the new registered account includes:
acquiring a test operation instruction of a test account of the tester activated as a new registered account, wherein the test operation instruction comprises a test configuration flow table entry aiming at each test item;
for each test item, executing a service test process of the intelligent express cabinet for the test item according to preset test label information of the test item and a flow relation between a flow configuration parameter of each test configuration flow in a test configuration flow table item of the test item and different test configuration flows, and storing a service test result in a test information database under a test account of the tester;
and after all the test items are tested, obtaining the business test result of each test item from the test information database under the test account of the tester, and pushing the business test result of each test item to a set test service terminal.
In a possible implementation manner of the first aspect, the step of executing a service test process of the intelligent express delivery cabinet on the test item according to preset test tag information of the test item, and a flow relationship between a flow configuration parameter of each test configuration flow in a test configuration flow table entry of the test item and different test configuration flows, and storing a service test result in a test information database under a test account of the tester includes:
identifying a process input parameter and a process output parameter in the process configuration parameters of each test configuration process in the test configuration process table items of the test items;
screening target process input parameters and target process output parameters from the process input parameters and the process output parameters according to preset test label information of the test item;
obtaining a target test control process map according to the target process input parameters, the target process output parameters and the process relation among different test configuration processes;
searching a unit flow segment from the target test control flow map every preset segment unit according to the flow segment of the target test control flow map to obtain a plurality of unit flow segments of the flow configuration parameters;
inputting the plurality of unit process segments into a test script program to obtain a service test result of each unit process segment output by the test script program, wherein the test script program is a script program obtained by configuring an original test script program by using a plurality of groups of sample unit process segment groups, each sample unit process segment group comprises a first sample unit process segment, a second sample unit process segment and a second sample unit process segment set, each first sample unit process segment is a sample unit process segment searched from a sample test result, each second sample unit process segment is a sample unit process segment obtained by stretching and transforming the corresponding first sample unit process segment, and each second sample unit process segment set comprises a first sub-sample unit process segment, a second sub-sample unit process segment and the corresponding second sample unit process segment, the first sub-sample unit process segment is a sample unit process segment obtained by performing positive test update on the second sample unit process segment, and the second sub-sample unit process segment is a sample unit process segment obtained by performing negative test update on the second sample unit process segment;
and storing a plurality of service test results corresponding to the unit process segments in a test information database under the test account of the tester.
In a possible implementation manner of the first aspect, the step of inputting the plurality of unit process segments into a test script program to obtain a service test result of each unit process segment output by the test script program includes:
obtaining a unit process fragment group corresponding to each unit process fragment, wherein each unit process fragment group comprises a first unit process fragment, a first sub-unit process fragment and a second sub-unit process fragment, the first unit process fragment is a unit process fragment searched from the process configuration parameters, the first sub-unit process fragment is a unit process fragment obtained after positive test updating is performed on the first unit process fragment, and the second sub-unit process fragment is a unit process fragment obtained after negative test updating is performed on the first unit process fragment;
and identifying each unit process segment group by using the test script program to obtain a service test result of each unit process segment group.
In a possible implementation manner of the first aspect, the step of identifying, by using the test script program, each unit process segment group to obtain a service test result of each unit process segment group includes:
inputting the process test parameters of the unit process segments in each unit process segment group and the simulation data matched with the process test parameters into the test script program, and calling the test script program to simulate and start the intelligent express cabinet for testing to obtain the service test result of each unit process segment group.
In a possible implementation manner of the first aspect, after the step of performing a service test process of the intelligent express delivery cabinet according to the test account of the tester activated as the new registered account, the method further includes:
and switching the target account data information from a simulation test state to a normal use state, wherein in the normal use state, the target account data information cancels a hidden state or a deleted state.
Based on the second aspect of this application embodiment, provide a business testing arrangement based on intelligence express delivery cabinet, be applied to the server, the device includes:
the obtaining module is used for obtaining a test account number of a tester from a test request when the test request aiming at the production environment of the intelligent express delivery cabinet is received;
the configuration module is used for acquiring target account data information matched with the test account of the tester from an account information database of the server and configuring the state of the target account data information into a simulated test state, wherein in the simulated test state, the target account data information is marked into a hidden state or a deleted state so as to activate the test account of the tester into a new registered account;
and the service test module is used for executing a service test process of the intelligent express delivery cabinet according to the test account of the tester activated as the new registered account.
Based on any one of the above aspects, when a test request for the production environment of the intelligent express delivery cabinet is received, a test account number of a tester is obtained from the test request, target account number data information matched with the test account number of the tester is obtained from an account number information database of a server, and the state of the target account number data information is configured to be a simulation test state, wherein in the simulation test state, the target account number data information is marked to be a hidden state or a deleted state so as to activate the test account number of the tester to be a new registered account number. Therefore, the service test process of the intelligent express delivery cabinet can be executed according to the test account number of the tester activated as the new registered account number. Therefore, the test account number of the tester can be simulated into a new registered account number so as to be utilized again, repeated test work of a certain scene can be frequently carried out for multiple times, and the test coverage of the production environment is increased.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic view illustrating an application scenario of a service testing system based on an intelligent express delivery cabinet according to an embodiment of the present application;
fig. 2 shows a schematic flow chart of a service testing method based on an intelligent express delivery cabinet according to an embodiment of the present application;
fig. 3 is a schematic functional module diagram of a service testing device based on an intelligent express delivery cabinet according to an embodiment of the present application;
fig. 4 shows a schematic component structure diagram of a server for executing the service test method based on the intelligent express delivery cabinet according to the embodiment of the present application.
Detailed Description
In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some of the embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and steps without logical context may be performed in reverse order or simultaneously. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.
Fig. 1 shows an application scenario diagram of a service testing system 10 based on an intelligent express delivery cabinet according to an embodiment of the present application. In this embodiment, the service test system 10 based on the intelligent express delivery cabinet may include a server 100 and an intelligent express delivery cabinet 200 communicatively connected to the server 100.
In other possible embodiments, the intelligent express cabinet-based business test system 10 may also include only a part of the components shown in fig. 1 or may also include other components.
Fig. 2 is a schematic flowchart illustrating a flow of a service testing method based on an intelligent express delivery cabinet according to an embodiment of the present application, where in this embodiment, the service testing method based on the intelligent express delivery cabinet may be executed by the server 100 shown in fig. 1. It should be understood that, in other embodiments, the order of some steps in the service test method based on the intelligent express delivery cabinet of this embodiment may be interchanged according to actual needs, or some steps may be omitted or deleted. The detailed steps of the service testing method based on the intelligent express delivery cabinet are introduced as follows.
Step S110, when a test request for the production environment of the intelligent express delivery cabinet 200 is received, obtaining a test account number of the tester from the test request.
Step S120, target account data information matched with the test account of the tester is obtained from the account information database of the server, and the state of the target account data information is configured to be a simulation test state.
Step S130, executing a service test process of the intelligent express delivery cabinet 200 according to the test account of the tester activated as the new registered account.
In this embodiment, when testing the production environment of the intelligent express delivery cabinet 200, a tester can log in a test account number registered in advance by the tester and generate a test request, and at this time, the server 100 can obtain the test account number of the tester from the test request before testing.
In this embodiment, as an example, in the simulation test state, the target account data information is marked in a hidden state or a deleted state, so as to activate the test account of the tester as a new registered account. For example, the target account data information may be marked in a hidden state, so that the target account data information cannot be read and called, and at this time, in the test process of the production environment, the test account is a new registered account. For another example, the target account data information may be marked as a deleted state, so that the target account data information may be determined to no longer exist in the database of the tester of the server 100, and at this time, in the testing process of the production environment, the test account is a new registered account.
So design, this embodiment can be simulated as new registration account number with tester's test account number so that utilized once more to can compromise the repeated test work who frequently carries out a certain scene many times, increase production environment test coverage.
In a possible embodiment, for step S130, in order to further improve the test coverage and thus the accuracy of the final service test result during the actual test process, the following exemplary sub-steps may be implemented, which are described in detail below.
And a substep S131, obtaining a test operation instruction of the test account of the tester activated as the new registered account, wherein the test operation instruction comprises a test configuration flow table entry for each test item.
And a substep S132, for each test item, executing a service test process of the intelligent express delivery cabinet 200 for the test item according to preset test tag information of the test item, the process configuration parameters of each test configuration process in the test configuration process table entry of the test item, and the process relationship between different test configuration processes, and storing a service test result in a test information database under the test account of the tester.
And a substep S133, after all the test items are tested, obtaining the service test result of each test item from the test information database under the test account of the tester, and pushing the service test result of each test item to a set test service terminal.
For example, in the substep S132, the embodiment may identify a process input parameter and a process output parameter in the process configuration parameters of each test configuration process in the test configuration process table entry of the test item, and then screen a target process input parameter and a target process output parameter from the process input parameter and the process output parameter according to preset test tag information of the test item, so as to obtain a target test control process map according to the target process input parameter, the target process output parameter, and a process relationship between different test configuration processes.
On this basis, a unit flow segment can be searched from the target test control flow map every preset segment unit according to the flow segment of the target test control flow map, and a plurality of unit flow segments of the flow configuration parameters are obtained.
Therefore, a plurality of unit process segments can be input into the test script program, and the service test result of each unit process segment output by the test script program can be obtained.
It should be noted that the test script program is a script program obtained by configuring an original test script program by using a plurality of groups of sample unit process fragment groups, where a sample unit process fragment group includes a first sample unit process fragment, a second sample unit process fragment, and a second sample unit process fragment set. Further, the first sample unit process segment is a sample unit process segment searched from a sample test result, the second sample unit process segment is a sample unit process segment obtained by performing stretch transformation on the first sample unit process segment, the second sample unit process segment set includes a first sub-sample unit process segment, a second sub-sample unit process segment and a second sample unit process segment, the first sub-sample unit process segment is a sample unit process segment obtained by performing positive test update on the second sample unit process segment, and the second sub-sample unit process segment is a sample unit process segment obtained by performing negative test update on the second sample unit process segment.
Therefore, a plurality of service test results corresponding to a plurality of unit process segments can be stored in the test information database under the test account of the tester.
As a possible example, in the process of inputting a plurality of unit process segments into the test script program and obtaining the service test result of each unit process segment output by the test script program: first, a unit flow section group corresponding to each unit flow section may be acquired. For example, each unit process segment group includes a first unit process segment, a first sub-unit process segment, and a second sub-unit process segment, where the first unit process segment is a unit process segment searched from the process configuration parameters, the first sub-unit process segment is a unit process segment obtained by performing positive test update on the first unit process segment, and the second sub-unit process segment is a unit process segment obtained by performing negative test update on the first unit process segment.
Then, a test script program can be used to identify each group of unit process segment groups, and a service test result of each group of unit process segment groups is obtained. For example, the process test parameters of the unit process segments in each unit process segment group and the simulation data matched with the process test parameters may be input into the test script program, and the test script program is invoked to simulate and start the intelligent express delivery cabinet 200 for testing, so as to obtain the service test result of each unit process segment group.
On the basis, after the test is completed, the target account data information can be switched from the simulation test state to the normal use state. In a normal use state, the target account data information is in a hidden state or a deleted state, so that the normal function of the account of the tester can be recovered.
Based on the same inventive concept, please refer to fig. 3, which is a schematic diagram illustrating functional modules of the service testing apparatus 110 based on the intelligent express delivery cabinet 200 according to an embodiment of the present application, and the embodiment may divide the functional modules of the service testing apparatus 110 based on the intelligent express delivery cabinet 200 according to the above method embodiment. For example, the functional blocks may be divided for the respective functions, or two or more functions may be integrated into one processing block. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation. For example, in the case of dividing each function module according to each function, the service testing device 110 based on the intelligent express delivery cabinet 200 shown in fig. 3 is only a schematic device diagram. The service testing apparatus 110 based on the intelligent express delivery cabinet 200 may include an obtaining module 111, a configuration module 112, and a service testing module 113, and the functions of the functional modules of the service testing apparatus 110 based on the intelligent express delivery cabinet 200 are described in detail below.
The obtaining module 111 is configured to obtain a test account number of a tester from a test request when the test request for the production environment of the intelligent express delivery cabinet 200 is received. It is understood that the obtaining module 111 can be used to execute the step S110, and for the detailed implementation of the obtaining module 111, reference can be made to the contents related to the step S110.
The configuration module 112 is configured to acquire target account data information matched with a test account of a tester from an account information database of the server, and configure a state of the target account data information into a simulated test state, where in the simulated test state, the target account data information is marked as a hidden state or a deleted state, so as to activate the test account of the tester as a new registered account. It is understood that the configuration module 112 can be used to perform the step S120, and for the detailed implementation of the configuration module 112, reference can be made to the above description regarding the step S120.
And the service test module 113 is configured to execute a service test process of the intelligent express delivery cabinet 200 according to the test account of the tester activated as the new registered account. It is understood that the service test module 113 may be configured to perform the step S130, and for the detailed implementation of the service test module 113, reference may be made to the content related to the step S130.
Based on the same inventive concept, please refer to fig. 4, which shows a schematic block diagram of a server 100 for executing the service testing method based on the intelligent express cabinet according to an embodiment of the present application, where the server 100 may include an intelligent express cabinet based service testing apparatus 110, a machine-readable storage medium 120, and a processor 130.
The machine-readable storage medium 120 is used to store machine-executable instructions for performing aspects of the present application. The processor 130 is configured to execute machine executable instructions stored in the machine readable storage medium 120 to implement the intelligent express cabinet based service testing method provided by the foregoing method embodiment.
The intelligent express cabinet based service test apparatus 110 may include software functional modules (such as the obtaining module 111, the configuring module 112, and the service test module 113 shown in fig. 3) stored in the machine-readable storage medium 120, so as to implement the intelligent express cabinet based service test method provided by the foregoing method embodiment when the processor 130 executes the software functional modules in the intelligent express cabinet based service test apparatus 110.
Since the server 100 provided in the embodiment of the present application is another implementation form of the method embodiment executed by the server 100, and the server 100 may be configured to execute the service testing method based on the intelligent express delivery cabinet provided in the method embodiment, reference may be made to the method embodiment for obtaining technical effects, and details are not described here.
The above description is only for various embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and all such changes or substitutions are included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (3)

1. A service testing method based on an intelligent express cabinet is characterized by being applied to a server and comprising the following steps:
when a test request aiming at the production environment of the intelligent express cabinet is received, obtaining a test account number of a tester from the test request;
acquiring target account data information matched with the test account of the tester from an account information database of the server, and configuring the state of the target account data information into a simulated test state, wherein in the simulated test state, the target account data information is marked into a hidden state or a deleted state so as to activate the test account of the tester into a new registered account;
executing a service test process of the intelligent express delivery cabinet according to the test account of the tester activated as the new registered account;
the method comprises the following steps of executing a service test process of the intelligent express delivery cabinet according to the test account of the tester activated as the new registered account, wherein the step comprises the following steps:
acquiring a test operation instruction of a test account of the tester activated as a new registered account, wherein the test operation instruction comprises a test configuration flow table entry aiming at each test item;
for each test item, executing a service test process of the intelligent express cabinet for the test item according to preset test label information of the test item and a flow relation between a flow configuration parameter of each test configuration flow in a test configuration flow table item of the test item and different test configuration flows, and storing a service test result in a test information database under a test account of the tester;
after all the test items are tested, obtaining a business test result of each test item from a test information database under the test account of the tester, and pushing the business test result of each test item to a set test service terminal;
the method comprises the following steps of executing a service test process of the intelligent express delivery cabinet on a test item according to preset test label information of the test item, and a flow relation between a flow configuration parameter of each test configuration flow in a test configuration flow table item of the test item and different test configuration flows, and storing a service test result in a test information database under a test account of a tester, wherein the steps comprise:
identifying a process input parameter and a process output parameter in the process configuration parameters of each test configuration process in the test configuration process table items of the test items;
screening target process input parameters and target process output parameters from the process input parameters and the process output parameters according to preset test label information of the test item;
obtaining a target test control process map according to the target process input parameters, the target process output parameters and the process relation among different test configuration processes;
searching a unit flow segment from the target test control flow map every preset segment unit according to the flow segment of the target test control flow map to obtain a plurality of unit flow segments of the flow configuration parameters;
inputting the plurality of unit process segments into a test script program to obtain a service test result of each unit process segment output by the test script program, wherein the test script program is a script program obtained by configuring an original test script program by using a plurality of groups of sample unit process segment groups, each sample unit process segment group comprises a first sample unit process segment, a second sample unit process segment and a second sample unit process segment set, each first sample unit process segment is a sample unit process segment searched from a sample test result, each second sample unit process segment is a sample unit process segment obtained by stretching and transforming the corresponding first sample unit process segment, and each second sample unit process segment set comprises a first sub-sample unit process segment, a second sub-sample unit process segment and the corresponding second sample unit process segment, the first sub-sample unit process segment is a sample unit process segment obtained by performing positive test update on the second sample unit process segment, and the second sub-sample unit process segment is a sample unit process segment obtained by performing negative test update on the second sample unit process segment;
storing a plurality of service test results corresponding to the unit process fragments in a test information database under a test account of the tester;
the step of inputting the plurality of unit process segments into a test script program to obtain the service test result of each unit process segment output by the test script program includes:
obtaining a unit process fragment group corresponding to each unit process fragment, wherein each unit process fragment group comprises a first unit process fragment, a first sub-unit process fragment and a second sub-unit process fragment, the first unit process fragment is a unit process fragment searched from the process configuration parameters, the first sub-unit process fragment is a unit process fragment obtained after positive test updating is performed on the first unit process fragment, and the second sub-unit process fragment is a unit process fragment obtained after negative test updating is performed on the first unit process fragment;
identifying each unit process segment group by using the test script program to obtain a service test result of each unit process segment group;
the step of identifying each unit process segment group by using the test script program to obtain the service test result of each unit process segment group includes:
inputting the process test parameters of the unit process segments in each unit process segment group and the simulation data matched with the process test parameters into the test script program, and calling the test script program to simulate and start the intelligent express cabinet for testing to obtain the service test result of each unit process segment group.
2. The intelligent express delivery cabinet-based service testing method according to claim 1, wherein after the step of executing the service testing process of the intelligent express delivery cabinet according to the testing account of the tester activated as the newly registered account, the method further comprises:
and switching the target account data information from a simulation test state to a normal use state, wherein in the normal use state, the target account data information cancels a hidden state or a deleted state.
3. The utility model provides a business testing arrangement based on intelligence express delivery cabinet which characterized in that is applied to the server, the device includes:
the obtaining module is used for obtaining a test account number of a tester from a test request when the test request aiming at the production environment of the intelligent express delivery cabinet is received;
the configuration module is used for acquiring target account data information matched with the test account of the tester from an account information database of the server and configuring the state of the target account data information into a simulated test state, wherein in the simulated test state, the target account data information is marked into a hidden state or a deleted state so as to activate the test account of the tester into a new registered account;
the service testing module is used for executing a service testing process of the intelligent express delivery cabinet according to the testing account of the tester activated as the new registered account;
the service test module is specifically configured to:
acquiring a test operation instruction of a test account of the tester activated as a new registered account, wherein the test operation instruction comprises a test configuration flow table entry aiming at each test item;
for each test item, executing a service test process of the intelligent express cabinet for the test item according to preset test label information of the test item and a flow relation between a flow configuration parameter of each test configuration flow in a test configuration flow table item of the test item and different test configuration flows, and storing a service test result in a test information database under a test account of the tester;
after all the test items are tested, obtaining a business test result of each test item from a test information database under the test account of the tester, and pushing the business test result of each test item to a set test service terminal;
the service test module is specifically configured to:
identifying a process input parameter and a process output parameter in the process configuration parameters of each test configuration process in the test configuration process table items of the test items;
screening target process input parameters and target process output parameters from the process input parameters and the process output parameters according to preset test label information of the test item;
obtaining a target test control process map according to the target process input parameters, the target process output parameters and the process relation among different test configuration processes;
searching a unit flow segment from the target test control flow map every preset segment unit according to the flow segment of the target test control flow map to obtain a plurality of unit flow segments of the flow configuration parameters;
inputting the plurality of unit process segments into a test script program to obtain a service test result of each unit process segment output by the test script program, wherein the test script program is a script program obtained by configuring an original test script program by using a plurality of groups of sample unit process segment groups, each sample unit process segment group comprises a first sample unit process segment, a second sample unit process segment and a second sample unit process segment set, each first sample unit process segment is a sample unit process segment searched from a sample test result, each second sample unit process segment is a sample unit process segment obtained by stretching and transforming the corresponding first sample unit process segment, and each second sample unit process segment set comprises a first sub-sample unit process segment, a second sub-sample unit process segment and the corresponding second sample unit process segment, the first sub-sample unit process segment is a sample unit process segment obtained by performing positive test update on the second sample unit process segment, and the second sub-sample unit process segment is a sample unit process segment obtained by performing negative test update on the second sample unit process segment;
storing a plurality of service test results corresponding to the unit process fragments in a test information database under a test account of the tester;
the service test module is specifically configured to:
obtaining a unit process fragment group corresponding to each unit process fragment, wherein each unit process fragment group comprises a first unit process fragment, a first sub-unit process fragment and a second sub-unit process fragment, the first unit process fragment is a unit process fragment searched from the process configuration parameters, the first sub-unit process fragment is a unit process fragment obtained after positive test updating is performed on the first unit process fragment, and the second sub-unit process fragment is a unit process fragment obtained after negative test updating is performed on the first unit process fragment;
identifying each unit process segment group by using the test script program to obtain a service test result of each unit process segment group;
the service test module is specifically configured to:
inputting the process test parameters of the unit process segments in each unit process segment group and the simulation data matched with the process test parameters into the test script program, and calling the test script program to simulate and start the intelligent express cabinet for testing to obtain the service test result of each unit process segment group.
CN202010900676.1A 2020-09-01 2020-09-01 Service testing method and device based on intelligent express cabinet Active CN111767233B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010900676.1A CN111767233B (en) 2020-09-01 2020-09-01 Service testing method and device based on intelligent express cabinet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010900676.1A CN111767233B (en) 2020-09-01 2020-09-01 Service testing method and device based on intelligent express cabinet

Publications (2)

Publication Number Publication Date
CN111767233A CN111767233A (en) 2020-10-13
CN111767233B true CN111767233B (en) 2020-12-01

Family

ID=72729147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010900676.1A Active CN111767233B (en) 2020-09-01 2020-09-01 Service testing method and device based on intelligent express cabinet

Country Status (1)

Country Link
CN (1) CN111767233B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150269677A1 (en) * 2008-02-15 2015-09-24 New York Mercantile Exchange, Inc. Match Engine Testing System
CN106815143A (en) * 2016-12-02 2017-06-09 乐视控股(北京)有限公司 Test information processing method, device and electronic equipment
CN110599054A (en) * 2019-09-19 2019-12-20 深圳市丰巢科技有限公司 Express cabinet-based user test method and device, express cabinet and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150269677A1 (en) * 2008-02-15 2015-09-24 New York Mercantile Exchange, Inc. Match Engine Testing System
CN106815143A (en) * 2016-12-02 2017-06-09 乐视控股(北京)有限公司 Test information processing method, device and electronic equipment
CN110599054A (en) * 2019-09-19 2019-12-20 深圳市丰巢科技有限公司 Express cabinet-based user test method and device, express cabinet and medium

Also Published As

Publication number Publication date
CN111767233A (en) 2020-10-13

Similar Documents

Publication Publication Date Title
CN107453960B (en) Method, device and system for processing test data in service test
CN109033772B (en) Verification information input method and device
CN108959067B (en) Method and device for testing search engine and computer readable storage medium
CN109828906B (en) UI (user interface) automatic testing method and device, electronic equipment and storage medium
CN112905459B (en) Service interface testing method and device, electronic equipment and storage medium
CN109933534B (en) Method and device for determining financial test object
CN111651365B (en) Automatic interface testing method and device
WO2015039793A1 (en) Derivation of generalized test cases
CN112783756A (en) Automatic test method, terminal, system and storage medium
US11663113B2 (en) Real time fault localization using combinatorial test design techniques and test case priority selection
CN111181805A (en) Micro-service test baffle generation method and system based on test case
CN108334451B (en) Page compatibility testing method and device
CN110297749B (en) Method and terminal for testing new function
CN107071553B (en) Method, device and computer readable storage medium for modifying video and voice
CN111767233B (en) Service testing method and device based on intelligent express cabinet
CN116431522A (en) Automatic test method and system for low-code object storage gateway
CN111401465A (en) Training sample optimization method, device, equipment and storage medium
CN113628077A (en) Method for generating non-repeated examination questions, terminal and readable storage medium
CN113836032A (en) Android interface concurrent testing method, device, equipment and storage medium
CN113238901A (en) Multi-device automatic testing method and device, storage medium and computer device
CN112181802A (en) Test method and device
CN111008140A (en) Cross-platform UI (user interface) automatic testing method and device
CN108628750B (en) Test code processing method and device
CN109284097A (en) Realize method, equipment, system and the storage medium of complex data analysis
CN106201798A (en) Product ID processing means and method

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
TR01 Transfer of patent right

Effective date of registration: 20210519

Address after: 210000 Room 301, 3rd floor, 138 Fengtai South Road, Yuhuatai District, Nanjing City, Jiangsu Province

Patentee after: Nanjing cloud cabinet Network Technology Co.,Ltd.

Address before: Room 1501, building 1, Tianhe Plaza, 146 Fengtai South Road, Yuhuatai District, Nanjing, Jiangsu Province 210000

Patentee before: JIANGSU CLOUDBOX NETWORK TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right