[go: up one dir, main page]

CN112181811A - A kind of application stability testing method - Google Patents

A kind of application stability testing method Download PDF

Info

Publication number
CN112181811A
CN112181811A CN202010960272.1A CN202010960272A CN112181811A CN 112181811 A CN112181811 A CN 112181811A CN 202010960272 A CN202010960272 A CN 202010960272A CN 112181811 A CN112181811 A CN 112181811A
Authority
CN
China
Prior art keywords
test
application
software
stability testing
action
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
CN202010960272.1A
Other languages
Chinese (zh)
Other versions
CN112181811B (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.)
Kirin Software Co Ltd
Original Assignee
Kirin Software 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 Kirin Software Co Ltd filed Critical Kirin Software Co Ltd
Priority to CN202010960272.1A priority Critical patent/CN112181811B/en
Publication of CN112181811A publication Critical patent/CN112181811A/en
Application granted granted Critical
Publication of CN112181811B publication Critical patent/CN112181811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3698Environments for analysis, debugging or testing of software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Prevention of errors by analysis, debugging or testing of software
    • G06F11/3668Testing of software
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

一种应用稳定性测试方法,所述方法包括步骤:在操作系统上配置应用稳定性测试软件;开启所述应用稳定性测试软件;在所述应用稳定性测试软件上配置测试信息;所述应用稳定性测试软件调度所述测试配置;所述应用稳定性测试软件执行所述测试配置;所述应用稳定性测试软件输出测试报告。本申请提供的一种应用稳定性测试方法具有如下有益效果:应用于国产银河麒麟操作系统,填补了Linux操作系统中应用级稳定性测试的空缺;关注应用级稳定性测试,即用户操作过程中真实体验方面,扩充了关注用户体验方面的操作系统测试技术;采用python语言编码,满足了跨架构平台上稳定性测试方法;可构建出多种场景应用稳定性测试,且符合用户实际体验稳定性测试方法。

Figure 202010960272

An application stability testing method, the method comprising the steps of: configuring application stability testing software on an operating system; starting the application stability testing software; configuring test information on the application stability testing software; The stability test software schedules the test configuration; the application stability test software executes the test configuration; the application stability test software outputs a test report. An application stability testing method provided by the present application has the following beneficial effects: it is applied to the domestic Galaxy Kylin operating system, filling the vacancy of application-level stability testing in the Linux operating system; focusing on application-level stability testing, that is, during user operation In terms of real experience, the operating system testing technology that focuses on user experience has been expanded; using python language coding, it meets the stability testing method on cross-architecture platforms; it can build a variety of scenarios for application stability testing, and it is consistent with the actual user experience stability testing method.

Figure 202010960272

Description

Application stability testing method
Technical Field
The invention belongs to the technical field of automatic testing, and particularly relates to an application stability testing method.
Background
The application stability test technology is substantially different from the traditional stability test technology, and most of the traditional stability test technology executes tests based on the bottom layer module, so that the system stability test related to actual user experience cannot be directly concerned. In addition, the conventional stability testing technology does not focus on some specific functions in some operating systems, and cannot test the stability of some operating systems sufficiently comprehensively.
The invention discloses a method and a device for testing android application stability (application number CN201410211591.7) in Chinese invention patent, which relates to the field of terminal application testing and is used for solving the problems of incomplete test coverage of a monkey tool, high maintenance cost and low reusability of the monkey tool, and the method comprises the following steps: determining a test type and data to be tested according to a preset configuration item, wherein the test type comprises a monkey test and/or a monkey yrner test; if the test type is monkey test, carrying out monkey test on the data to be tested according to each test parameter in the monkey test statement; and if the test type is the monkeyyrner test, performing the monkeyyrner test on the data to be tested according to each script statement in each monkeyyrner test statement. The method is only suitable for the android mobile terminal, and desktop systems such as a Linux operating system and the like are not considered.
The Chinese invention patent 'a server stability test method' (application number CN201911090823.7) provides a server stability test method, which carries out continuous and stable pressure test, gradual pressure test, test data collection and analysis and output analysis results by creating a topological environment simulating the actual application scene of a client, can evaluate the support conditions of various configurations to fault-tolerant and high-availability scenes by simulating the actual scene of the client, and can check the stability of service in the client application scene. The application solves the problem of server stability testing, but does not consider application-level based stability testing.
The Chinese patent of invention 'method and server for testing stability of server' (application number CN201710316288.7) provides a method and server for testing stability of server, the method includes: the server stability test method comprises the steps that a server hardware stability test instruction set and an operating system software stability test set are arranged on a server, the server tests the stability of the server by automatically running the test set, the server stability test problem is solved, and the fields of a universal desktop and a server operating system are not considered.
The Chinese invention patent 'GUI automated testing method and system' (application number CN201710618522.1) discloses a GUI automated testing method and system, which can rapidly complete the deployment and implementation of GUI automated testing only by editing/modifying test cases, bring great convenience to the implementation of GUI automated testing and save a large amount of cost. However, the invention is only suitable for functional tests and does not consider application stability tests.
In summary, there is currently a lack of methods for application stability testing.
Disclosure of Invention
In order to solve the above problems, the present invention provides an application stability testing method, including the steps of:
configuring application stability testing software on an operating system;
starting the application stability testing software;
configuring test information on the application stability test software;
the application stability testing software schedules the test configuration;
the application stability testing software executes the test configuration;
and the application stability testing software outputs a testing report.
Preferably, the configuring test information on the application stability test software includes the steps of:
configuring a total test time on the application stability test software;
configuring an action interval time on the application stability test software;
configuring an application program list on the application stability test software;
configuring the corresponding test action number of each application on the application stability test software;
configuring the corresponding maximum opening number of each application on the application stability test software;
and configuring the maximum opening number of all applications on the application stability test software.
Preferably, the scheduling the test configuration by the application stability test software comprises the steps of:
acquiring configuration information;
selecting an application to be tested;
grouping applications to be tested based on the configuration information;
selecting a respective test action for each application within a packet based on the configuration information;
acquiring an application ID of each application and a corresponding test action ID;
acquiring application IDs of all applications in each group and corresponding test action IDs;
a test run code for each packet is generated.
Preferably, the grouping of the applications to be tested based on the configuration information comprises the steps of:
acquiring an application program list and the maximum opening number M of all applications in the configuration information;
presetting A empty groups;
randomly distributing all the application programs in the application program list into A empty groups to obtain A groups; wherein the number N of applications in each group satisfies: n is more than or equal to 1 and less than or equal to M, and A, M and N are positive integers;
acquiring the corresponding maximum opening number K of each application in the configuration information;
configuring an application program of each group in the A groups; wherein, the number B of each application program in each group and the total number C of all application programs satisfy: b is more than or equal to 1 and less than or equal to K, C is more than or equal to 1 and less than or equal to M, and B, C and K are positive integers.
Preferably, said selecting a respective test action for each application within a packet based on said configuration information comprises the steps of:
obtaining a grouping result;
acquiring the test action number P corresponding to each application in the group;
acquiring a test action library;
randomly selecting Q test actions from the test action library; wherein Q is more than or equal to 1 and less than or equal to P, and Q is a positive integer;
and mapping each application and the Q corresponding test actions to form a test action dictionary.
Preferably, the executing of the test configuration by the application stability test software comprises the steps of:
acquiring a group and a corresponding test operation code;
acquiring a test action dictionary corresponding to each application in the group;
acquiring total test time, action interval time and the corresponding maximum opening number of each application in the configuration information;
starting all application programs in each group according to the groups and the test operation codes;
and executing a test action on each application in each group according to the total test time, the action interval time and the corresponding maximum opening number.
Preferably, the executing of the test configuration by the application stability test software comprises the steps of:
performing the test motion encoding on all applications within the packet;
judging whether the total test time is reached;
if yes, collecting test information;
if not, judging whether the current test operation code has unexecuted test action;
if yes, switching to an application program corresponding to the test action, and executing the test action;
if not, judging whether all the test action codes are executed;
if yes, returning to the step of obtaining the grouping and the corresponding test operation coding;
and if not, executing the next test code adjacent to the current test code.
Preferably, the outputting the test report by the application stability test software comprises the following steps:
acquiring all test information;
and printing and outputting the test information.
The application stability testing method provided by the application has the following beneficial effects:
(1) the method is applied to a domestic Galaxy kylin operating system, and fills up the vacancy of application-level stability test in a Linux operating system;
(2) paying attention to the application-level stability test, namely the real experience aspect in the user operation process, and expanding the operating system test technology paying attention to the user experience aspect;
(3) the method for testing the stability of the cross-architecture platform is satisfied by adopting python language coding;
(4) the stability test method for the application of various scenes can be constructed and accords with the actual experience stability test method of the user;
(5) and the running test is performed in a running coding mode, so that various scene tests can be conveniently reproduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart of an application stability testing method provided by the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
As shown in fig. 1, in the embodiment of the present application, the present invention provides an application stability testing method, including the steps of:
s1: configuring application stability testing software on an operating system;
s2: starting the application stability testing software;
s3: configuring test information on the application stability test software;
s4: the application stability testing software schedules the test configuration;
s5: the application stability testing software executes the test configuration;
s6: and the application stability testing software outputs a testing report.
When the stability test method is used for testing the stability of the application, firstly, application stability test software is configured on an operating system, wherein the operating system can be a Windows system, a Linux system, an operating system developed by foreign companies, a domestic operating system, such as a domestic Galaxy kylin operating system; the application stability test software can be the existing test software or the software developed by a tester according to the test requirement. When testing, starting application stability testing software on an operating system, then configuring testing information on the application stability testing software, scheduling the testing configuration by the application stability testing software, executing the testing configuration to test the application, and finally outputting a testing report by the application stability testing software for a tester to analyze the stability of the application by reference. The method provided by the application adopts python language coding, and meets the stability test requirement on the cross-architecture platform.
In this embodiment of the present application, the configuring test information on the application stability test software includes:
configuring a total test time on the application stability test software;
configuring an action interval time on the application stability test software;
configuring an application program list on the application stability test software;
configuring the corresponding test action number of each application on the application stability test software;
configuring the corresponding maximum opening number of each application on the application stability test software;
and configuring the maximum opening number of all applications on the application stability test software.
Specifically, in the embodiment of the present application, the test information includes: the test system comprises a total test time, an action interval time, an application program list, the corresponding test action number of each application, the corresponding maximum opening number of each application and the maximum opening number of all applications. The total test time represents the total duration of the test in the test; the action interval time represents the time length between two adjacent test actions; the application list represents a list of applications under test; the corresponding test action number of each application indicates that the corresponding test action number is configured for each application, and the test action numbers corresponding to each application can be the same or different; the corresponding maximum opening number of each application indicates that a corresponding maximum opening number is configured for each application, the maximum opening number of all applications indicates that a maximum opening number is configured for all applications, and the two configurations are grouped and configured according to each other when the applications are grouped. When the maximum opening number is reached, the application is not opened any more in the subsequent testing process; when this maximum number of opens is reached, no application is opened again in the subsequent testing process.
In this embodiment of the present application, the scheduling the test configuration by the application stability test software includes:
acquiring configuration information;
selecting an application to be tested;
grouping applications to be tested based on the configuration information;
selecting a respective test action for each application within a packet based on the configuration information;
acquiring an application ID of each application and a corresponding test action ID;
acquiring application IDs of all applications in each group and corresponding test action IDs;
a test run code for each packet is generated.
In the embodiment of the application, first, configuration information, that is, total test time, action interval time, an application program list, a corresponding test action number of each application, a corresponding maximum opening number of each application, and a maximum opening number of all applications, is obtained, and then, an application to be tested is selected from the application program list, where the selection rule may be random selection or selection according to a certain rule, for example, selection according to a sorting order in the application program list; grouping the applications to be tested based on one or more items (namely, total test time, action interval time, an application program list, the number of corresponding test actions of each application, the corresponding maximum opening number of each application and the maximum opening number of all applications) in the configuration information, wherein the grouping rule can be random grouping, then selecting corresponding test actions for each application in the grouping based on one or more items in the configuration information, acquiring an application ID of each application and a corresponding test action ID thereof, and acquiring application IDs of all applications in each grouping and corresponding test action IDs thereof; and then, correspondingly arranging the application IDs of all the applications in each group and the corresponding test action IDs in a test action dictionary form one by one, and generating a test operation code of each group, wherein the test operation code can be stored in test software to facilitate subsequent direct calling.
In this embodiment of the present application, the grouping the applications to be tested based on the configuration information includes:
acquiring an application program list and the maximum opening number M of all applications in the configuration information;
presetting A empty groups;
randomly distributing all the application programs in the application program list into A empty groups to obtain A groups; wherein the number N of applications in each group satisfies: n is more than or equal to 1 and less than or equal to M, and A, M and N are positive integers;
acquiring the corresponding maximum opening number K of each application in the configuration information;
configuring an application program of each group in the A groups; wherein, the number B of each application program in each group and the total number C of all application programs satisfy: b is more than or equal to 1 and less than or equal to K, C is more than or equal to 1 and less than or equal to M, and B, C and K are positive integers.
In the embodiment of the present application, the grouping may be configured according to the corresponding maximum open number of each application and the maximum open numbers of all applications. Specifically, an application program list and a maximum opening number M of all applications in the configuration information are obtained, all application programs to be tested are stored in the application program list, A empty groups are preset at the moment, no application program exists in the empty groups, and then all the application programs in the application program list are randomly divided into the A empty groups to obtain A groups; wherein the number N of applications in each group satisfies: n is more than or equal to 1 and less than or equal to M, A, M and N are positive integers, and the number of application programs in each group can be the same or different; then, acquiring the corresponding maximum opening number K of each application in the configuration information, and configuring the application program of each group in the A groups according to the corresponding maximum opening number K of each application; wherein, the number B of each application program in each group and the total number C of all application programs satisfy: b is more than or equal to 1 and less than or equal to K, C is more than or equal to 1 and less than or equal to M, and B, C and K are positive integers.
In an embodiment of the present application, the selecting a corresponding test action for each application in the packet based on the configuration information includes:
obtaining a grouping result;
acquiring the test action number P corresponding to each application in the group;
acquiring a test action library;
randomly selecting Q test actions from the test action library; wherein Q is more than or equal to 1 and less than or equal to P, and Q is a positive integer;
and mapping each application and the Q corresponding test actions to form a test action dictionary.
In the embodiment of the present application, selecting the corresponding test action may be obtained by grouping the result and the test action number P corresponding to each application in the group, specifically, first obtaining the grouping result and the test action number P corresponding to each application in the group, where the grouping result stores application programs in the same group, and then obtaining the test action number P corresponding to each application in the same group; and then acquiring a test action library, randomly selecting Q test actions smaller than the corresponding P from the test action library, and distributing the Q test actions to corresponding applications to wait for a stability test to be carried out subsequently. The test action library can be preset, for example, "click" or "press", or can be customized as required, for example, "continuously click for 30 s", and the like.
In an embodiment of the present application, the executing of the test configuration by the application stability test software includes:
acquiring a group and a corresponding test operation code;
acquiring a test action dictionary corresponding to each application in the group;
acquiring total test time, action interval time and the corresponding maximum opening number of each application in the configuration information;
starting all application programs in each group according to the groups and the test operation codes;
and executing a test action on each application in each group according to the total test time, the action interval time and the corresponding maximum opening number.
In the embodiment of the application, when test configuration is executed, firstly, groups and test operation codes corresponding to each group are obtained, then, a test action dictionary corresponding to each application in each group is obtained, all application programs in each group are started according to the groups and the test operation codes, and when a plurality of same application programs exist in each group, the same application programs are all started; and then executing a test action for each application in each group according to the total test time, the action interval time and the corresponding maximum opening number. Specifically, when a test action is performed on an application in each packet, the total test duration needs to be equal to or less than the total test time, the interval time between two adjacent test action times needs to be equal to or greater than the action interval time, and the maximum number of opens of each application at each test needs to be equal to or less than the corresponding maximum number of opens of each application.
In an embodiment of the present application, the executing of the test configuration by the application stability test software includes:
performing the test motion encoding on all applications within the packet;
judging whether the total test time is reached;
if yes, collecting test information;
if not, judging whether the current test operation code has unexecuted test action;
if yes, switching to an application program corresponding to the test action, and executing the test action;
if not, judging whether all the test action codes are executed;
if yes, returning to the step of obtaining the grouping and the corresponding test operation coding;
and if not, executing the next test code adjacent to the current test code.
In the embodiment of the present application, when performing test motion coding on all applications in a group, it is necessary to periodically determine whether the total test time is reached; when the total testing time is up, the testing needs to be finished at the moment, and all testing information is collected, so that a testing report can be conveniently formed subsequently; when the total test time is not reached, judging whether the current test operation code has unexecuted test action; if the test action is not executed, switching to an application program corresponding to the test action, and executing the test action on the application program; if the unexecuted test action does not exist, judging whether all test action codes are executed; if all the action codes are executed completely, returning to the step of acquiring the grouping and the corresponding test operation codes so as to test the new grouping and the test operation codes in the grouping; and when the action codes are not executed completely, executing the next test code adjacent to the current test code until all the action codes are executed completely.
In an embodiment of the present application, the outputting a test report by the application stability test software includes:
acquiring all test information;
and printing and outputting the test information.
In the embodiment of the application, all test information is included in the test report, and when the test is completed, all test information is printed and the test report is formed for a tester to analyze the stability of the application.
The application stability testing method provided by the application has the following beneficial effects:
(1) the method is applied to a domestic Galaxy kylin operating system, and fills up the vacancy of application-level stability test in a Linux operating system;
(2) paying attention to the application-level stability test, namely the real experience aspect in the user operation process, and expanding the operating system test technology paying attention to the user experience aspect;
(3) the method for testing the stability of the cross-architecture platform is satisfied by adopting python language coding;
(4) the stability test method for the application of various scenes can be constructed and accords with the actual experience stability test method of the user;
(5) and the running test is performed in a running coding mode, so that various scene tests can be conveniently reproduced.
It is to be understood that the above-described embodiments of the present invention are merely illustrative of or explaining the principles of the invention and are not to be construed as limiting the invention. Therefore, any modification, equivalent replacement, improvement and the like made without departing from the spirit and scope of the present invention should be included in the protection scope of the present invention. Further, it is intended that the appended claims cover all such variations and modifications as fall within the scope and boundaries of the appended claims or the equivalents of such scope and boundaries.

Claims (8)

1.一种应用稳定性测试方法,其特征在于,所述方法包括步骤:1. an application stability testing method, is characterized in that, described method comprises the steps: 在操作系统上配置应用稳定性测试软件;Configure application stability testing software on the operating system; 开启所述应用稳定性测试软件;Open the application stability test software; 在所述应用稳定性测试软件上配置测试信息;configure test information on the application stability test software; 所述应用稳定性测试软件调度所述测试配置;The application stability test software schedules the test configuration; 所述应用稳定性测试软件执行所述测试配置;The application stability test software executes the test configuration; 所述应用稳定性测试软件输出测试报告。The application stability testing software outputs a test report. 2.根据权利要求1所述的应用稳定性测试方法,其特征在于,所述在所述应用稳定性测试软件上配置测试信息包括步骤:2. application stability testing method according to claim 1, is characterized in that, described in described application stability testing software, configure test information comprises steps: 在所述应用稳定性测试软件上配置测试总时间;Configure the total test time on the application stability test software; 在所述应用稳定性测试软件上配置动作间隔时间;Configure the action interval time on the application stability test software; 在所述应用稳定性测试软件上配置应用程序列表;configure a list of applications on the application stability testing software; 在所述应用稳定性测试软件上配置每个应用的对应测试动作数;Configure the number of corresponding test actions for each application on the application stability test software; 在所述应用稳定性测试软件上配置每个应用的对应最大开启数;Configure the corresponding maximum number of openings of each application on the application stability test software; 在所述应用稳定性测试软件上配置所有应用最大开启数。Configure the maximum open number of all applications on the application stability test software. 3.根据权利要求1所述的应用稳定性测试方法,其特征在于,所述应用稳定性测试软件调度所述测试配置包括步骤:3. The application stability testing method according to claim 1, wherein the application stability testing software scheduling the test configuration comprises the steps: 获取配置信息;get configuration information; 选定待测试应用;Select the application to be tested; 基于所述配置信息对待测试应用进行分组;grouping applications to be tested based on the configuration information; 基于所述配置信息对分组内的每个应用选择相应的测试动作;Selecting a corresponding test action for each application in the group based on the configuration information; 获取每个应用的应用ID及其对应的测试动作ID;Get the application ID of each application and its corresponding test action ID; 获取每个分组内所有应用的应用ID及其对应的测试动作ID;Obtain the application IDs of all applications in each group and their corresponding test action IDs; 生成每个分组的测试运行编码。Generate a test run code for each grouping. 4.根据权利要求3所述的应用稳定性测试方法,其特征在于,所述基于所述配置信息对待测试应用进行分组包括步骤:4. The application stability testing method according to claim 3, wherein the grouping of the application to be tested based on the configuration information comprises the steps: 获取所述配置信息中的应用程序列表和所有应用最大开启数M;Obtain the list of applications in the configuration information and the maximum number M of open applications of all applications; 预设A个空组;Default A empty group; 将所述应用程序列表中所有的应用程序随机分入A个空组中,并得到A个分组;其中,每个分组中的应用程序个数N满足:1≤N≤M,A、M和N均为正整数;All applications in the application list are randomly divided into A empty groups, and A groups are obtained; wherein, the number N of applications in each group satisfies: 1≤N≤M, A, M and N is a positive integer; 获取所述配置信息中的每个应用的对应最大开启数K;obtaining the corresponding maximum number K of each application in the configuration information; 对A个分组中每个分组的应用程序进行配置;其中,每个分组内每个应用程序的个数B和所有应用程序的总个数C满足:1≤B≤K,1≤C≤M,B、C和K均为正整数。Configure the applications of each group in the A groups; wherein, the number B of each application in each group and the total number C of all applications satisfy: 1≤B≤K, 1≤C≤M , B, C and K are all positive integers. 5.根据权利要求3所述的应用稳定性测试方法,其特征在于,所述基于所述配置信息对分组内的每个应用选择相应的测试动作包括步骤:5. application stability testing method according to claim 3, is characterized in that, described based on described configuration information to each application in grouping and selecting corresponding test action comprises steps: 获取分组结果;Get the grouping result; 获取分组内每个应用对应的测试动作数P;Obtain the number of test actions P corresponding to each application in the group; 获取测试动作库;Get the test action library; 从所述测试动作库中随机选择Q个测试动作;其中,1≤Q≤P,Q为正整数;Randomly select Q test actions from the test action library; wherein, 1≤Q≤P, and Q is a positive integer; 将每个应用及其对应的Q个测试动作映射形成测试动作字典。Each application and its corresponding Q test actions are mapped to form a test action dictionary. 6.根据权利要求1所述的应用稳定性测试方法,其特征在于,所述应用稳定性测试软件执行所述测试配置包括步骤:6. The application stability testing method according to claim 1, wherein the application stability testing software executes the test configuration and comprises the steps: 获取分组及对应的测试运行编码;Get the group and the corresponding test run code; 获取分组内每个应用对应的测试动作字典;Get the test action dictionary corresponding to each application in the group; 获取配置信息中的测试总时间、动作间隔时间和每个应用的对应最大开启数;Obtain the total test time, action interval time and the corresponding maximum number of openings of each application in the configuration information; 根据所述分组和所述测试运行编码,开启每一所述分组内的所有应用程序;According to the group and the test run code, open all applications in each of the group; 根据所述测试总时间、所述动作间隔时间和所述对应最大开启数对每一所述分组内的每个应用执行测试动作。A test action is performed for each application within each of the groupings according to the total test time, the action interval time, and the corresponding maximum number of openings. 7.根据权利要求6所述的应用稳定性测试方法,其特征在于,所述应用稳定性测试软件执行所述测试配置包括步骤:7. The application stability testing method according to claim 6, wherein the application stability testing software executes the test configuration and comprises the steps: 对所述分组内的所有应用执行所述测试运动编码;performing the test motion encoding on all applications within the group; 判断是否到达所述测试总时间;Determine whether the total test time has been reached; 若是,收集测试信息;If so, collect test information; 若否,判断当前所述测试运行编码中是否存在未执行测试动作;If not, determine whether there is an unexecuted test action in the currently described test running code; 若是,切换到所述测试动作对应的应用程序,并执行所述测试动作;If so, switch to the application program corresponding to the test action, and execute the test action; 若否,判断所有所述测试动作编码是否完成执行;If not, determine whether all the test action codes have been executed; 若是,返回所述获取分组及对应的测试运行编码步骤;If so, return to the acquisition grouping and the corresponding test run coding steps; 若否,执行当前所述测试编码相邻的下一个测试编码。If not, execute the next test code adjacent to the current test code. 8.根据权利要求1所述的应用稳定性测试方法,其特征在于,所述应用稳定性测试软件输出测试报告包括步骤:8. application stability testing method according to claim 1, is characterized in that, described application stability testing software output test report comprises the steps: 获取所有测试信息;Get all test information; 打印并输出所述测试信息。The test information is printed and output.
CN202010960272.1A 2020-09-14 2020-09-14 Application stability testing method Active CN112181811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010960272.1A CN112181811B (en) 2020-09-14 2020-09-14 Application stability testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010960272.1A CN112181811B (en) 2020-09-14 2020-09-14 Application stability testing method

Publications (2)

Publication Number Publication Date
CN112181811A true CN112181811A (en) 2021-01-05
CN112181811B CN112181811B (en) 2024-05-10

Family

ID=73920893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010960272.1A Active CN112181811B (en) 2020-09-14 2020-09-14 Application stability testing method

Country Status (1)

Country Link
CN (1) CN112181811B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114201392A (en) * 2021-12-06 2022-03-18 麒麟软件有限公司 An Android environment and Android application stability testing method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070214391A1 (en) * 2006-03-10 2007-09-13 International Business Machines Corporation Method and apparatus for testing software
CN104133773A (en) * 2014-08-18 2014-11-05 浪潮电子信息产业股份有限公司 Server stability testing method based on windows
CN104978276A (en) * 2015-07-21 2015-10-14 安一恒通(北京)科技有限公司 Method, device and system used for detecting software
CN105095078A (en) * 2015-07-22 2015-11-25 厦门美图移动科技有限公司 Systematic automation testing device and method and calculating device
CN108959078A (en) * 2018-06-26 2018-12-07 郑州云海信息技术有限公司 A kind of end Windows automatic software test method and system
CN109933516A (en) * 2017-12-19 2019-06-25 镇江飞协软件开发有限公司 A kind of software stability test method
CN111427803A (en) * 2020-06-11 2020-07-17 平安国际智慧城市科技股份有限公司 Automated random test method, apparatus, computer device and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070214391A1 (en) * 2006-03-10 2007-09-13 International Business Machines Corporation Method and apparatus for testing software
CN104133773A (en) * 2014-08-18 2014-11-05 浪潮电子信息产业股份有限公司 Server stability testing method based on windows
CN104978276A (en) * 2015-07-21 2015-10-14 安一恒通(北京)科技有限公司 Method, device and system used for detecting software
CN105095078A (en) * 2015-07-22 2015-11-25 厦门美图移动科技有限公司 Systematic automation testing device and method and calculating device
CN109933516A (en) * 2017-12-19 2019-06-25 镇江飞协软件开发有限公司 A kind of software stability test method
CN108959078A (en) * 2018-06-26 2018-12-07 郑州云海信息技术有限公司 A kind of end Windows automatic software test method and system
CN111427803A (en) * 2020-06-11 2020-07-17 平安国际智慧城市科技股份有限公司 Automated random test method, apparatus, computer device and medium

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
AMBRA MOLESINI ET AL.: "Stability assessment of aspect-oriented software architectures: A quantitative study", 《JOURNAL OF SYSTEMS AND SOFTWARE》, vol. 83, no. 5, pages 711 - 722, XP026932526, DOI: 10.1016/j.jss.2009.05.022 *
代红震: "基于STAF和Python混合编程的自动化测试系统的研究和实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 5, pages 138 - 654 *
刘冰等: "CMOS图像传感器参数自动化测试软件设计与实现", 《计算机测量与控制》, vol. 26, no. 03, pages 98 - 102 *
王晖: "国产操作系统自动化测试平台技术研究", 《无线互联科技》, no. 10, pages 48 - 51 *
陈文捷: "基于IaaS的云测试服务平台设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 1, pages 138 - 734 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114201392A (en) * 2021-12-06 2022-03-18 麒麟软件有限公司 An Android environment and Android application stability testing method

Also Published As

Publication number Publication date
CN112181811B (en) 2024-05-10

Similar Documents

Publication Publication Date Title
US20210311858A1 (en) System and method for providing a test manager for use with a mainframe rehosting platform
US8381184B2 (en) Dynamic test coverage
US20190340512A1 (en) Analytics for an automated application testing platform
US11995438B2 (en) System and method for software architecture redesign
CN104484273A (en) Test method for application program, device and system
CN109743286A (en) A kind of IP type mark method and apparatus based on figure convolutional neural networks
CN103246606A (en) Method and system for testing performances of ESB (enterprises service bus) platform
CN105653946A (en) Android malicious behavior detection system based on combined event behavior triggering and detection method of Android malicious behavior detection system
CN112799782A (en) Model generation system, method, electronic device, and storage medium
CN117370203B (en) Automatic test method, system, electronic equipment and storage medium
CN110032597A (en) The visible processing method and device of application program operation behavior
CN111708712A (en) User behavior test case generation method, flow playback method and electronic equipment
CN110380936A (en) Test method and device
CN106354629A (en) Construction method of iOS system mobile application automatic test system based on multiple stages of servers
CN106682910A (en) Information processing method, system and related equipment
CN109189692A (en) A kind of webservice interface test method and device
CN112905451B (en) Automatic testing method and device for application program
CN112181811A (en) A kind of application stability testing method
CN107122307B (en) An IoT Execution System
Spillner et al. Co-transformation to cloud-native applications: development experiences and experimental evaluation
CN119149422A (en) Micro-service chaos test method and device based on Istio and link tracking
CN107608884A (en) A kind of test device and equipment of distributed memory system core client
CN113110997A (en) Test method, device and equipment
WO2021253239A1 (en) Method and apparatus for determining resource configuration of cloud service system
CN113656268B (en) Performance test method and device for business service, electronic equipment and storage medium

Legal Events

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