[go: up one dir, main page]

CN107992418A - A kind of method and system for improving software test stability - Google Patents

A kind of method and system for improving software test stability Download PDF

Info

Publication number
CN107992418A
CN107992418A CN201711269989.6A CN201711269989A CN107992418A CN 107992418 A CN107992418 A CN 107992418A CN 201711269989 A CN201711269989 A CN 201711269989A CN 107992418 A CN107992418 A CN 107992418A
Authority
CN
China
Prior art keywords
test
software
performance
testing
stability
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.)
Pending
Application number
CN201711269989.6A
Other languages
Chinese (zh)
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.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201711269989.6A priority Critical patent/CN107992418A/en
Publication of CN107992418A publication Critical patent/CN107992418A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/3696Methods or tools to render software testable

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 invention discloses a kind of method and system for improving software test stability, comprise the following steps:First, tested software is loaded;2nd, automatic test chemical industry tool and pressure test instrument, including the frequency of the automatic test chemical industry tool operation of setting and number, the scene of setting pressure test instrument operation are configured on test controller;3rd, software test is started, controller calling function automated test tool, pressure test instrument, are monitored the operational process of tested software;4th, complete after the scene condition and the running frequency of setting of setting, number, terminate software test;5th, by running performance index, the hardware device index of the tested software obtained in monitoring process, the stability assessment of tested software is completed.By controller calling function automated test tool and pressure test instrument, easy to assess the stability of software, the efficiency of software test is improved.

Description

一种提高软件测试稳定性的方法及系统A method and system for improving software testing stability

技术领域technical field

本发明涉及软件稳定性测试领域,尤其涉及一种提高软件测试稳定性的方法及系统。The invention relates to the field of software stability testing, in particular to a method and system for improving the stability of software testing.

背景技术Background technique

软件设计及完成后需要对其性能进行检测,以确保满足设计的目的和功能要求。软件稳定性测试是检测软件所必须具备的长期稳定运行的能力,在测试系统运行过程中,通过对测试系统施压,观察测试系统的各种性能指标、运行的硬件指标。After the software is designed and completed, its performance needs to be tested to ensure that the purpose and functional requirements of the design are met. The software stability test is to detect the long-term stable operation ability that the software must have. During the operation of the test system, by putting pressure on the test system, observe various performance indicators and operating hardware indicators of the test system.

软件的稳定性测试是概率性测试,即使稳定性测试通过,也不能完全保证系统实际运行时不会出现故障,因此,需要尽最大可能的提高测试可靠性,以实现软件运行过程中的稳定性。通过增加测试次数、延长测试时间、增大测试压力等措施,可以进一步判断响应时间是否增长、可用内存是否减少、CPU利用率是否上升等数据来提高测试可靠的概率。The software stability test is a probabilistic test. Even if the stability test passes, it cannot completely guarantee that the system will not fail when it is actually running. Therefore, it is necessary to improve the test reliability as much as possible to achieve the stability of the software during operation. . By increasing the number of tests, prolonging the test time, increasing the test pressure and other measures, it is possible to further judge whether the response time has increased, whether the available memory has decreased, whether the CPU utilization has increased, and other data to improve the probability of reliable testing.

目前对于软件稳定性测试,一般采用的方法为人工长时间反复操作测试系统,并实时监控服务器指标:CPU利用率、内存利用率,记录响应时间,此方法需要耗费大量的人力、物力,严重影响测试效率。At present, for software stability testing, the general method is to manually operate the test system repeatedly for a long time, and monitor server indicators in real time: CPU utilization, memory utilization, and record response time. This method requires a lot of manpower and material resources, and seriously affects Test efficiency.

如中国专利(CN201510583803.9)公开了“一种测试应用软件性能的方法及装置”,该方法包括:构建基于持续集成引擎平台的服务器,将多台测试机连接到所述服务器;在进行应用软件测试时,向所述各测试机下发预先设置的环境部署策略对应的测试环境配置安装包,以使测试机依据接收的所述测试环境配置安装包进行测试环境部署;依据所述进行应用软件测试的测试任务,查询预先设置的包含测试任务与测试任务脚本文件以及公共操作函数库文件的映射关系,获取测试任务脚本文件以及公共操作函数库文件,向所述各测试机下发以进行所述应用软件测试。该方法虽然可以提高软件测试的效率,但测试过程中参数和项目调节不方便,测试步骤复杂,不利于软件稳定性的评估。For example, Chinese patent (CN201510583803.9) discloses "a method and device for testing application software performance", the method includes: building a server based on a continuous integration engine platform, connecting multiple test machines to the server; During software testing, send the test environment configuration installation package corresponding to the preset environment deployment strategy to each test machine, so that the test machine performs test environment deployment according to the received test environment configuration installation package; The test tasks of software testing, query the pre-set mapping relationship including test tasks and test task script files and public operation function library files, obtain the test task script files and public operation function library files, and issue them to each test machine to perform The application software is tested. Although this method can improve the efficiency of software testing, it is inconvenient to adjust parameters and items in the testing process, and the testing steps are complicated, which is not conducive to the evaluation of software stability.

发明内容Contents of the invention

本发明提出了一种提高软件测试稳定性的方法及系统,用于解决现有技术中的问题。The invention provides a method and system for improving the stability of software testing, which are used to solve the problems in the prior art.

本发明通过以下技术方案予以实现:The present invention is achieved through the following technical solutions:

一种提高软件测试稳定性的方法,包括以下步骤:A method for improving the stability of software testing, comprising the following steps:

一、装载被测软件;1. Load the software under test;

二、在测试控制器上配置自动测试化工具和压力测试工具,包括设定自动测试化工具运行的频率及次数、设定压力测试工具运行的场景;2. Configure automatic testing tools and stress testing tools on the test controller, including setting the frequency and times of running automatic testing tools, and setting scenarios for running stress testing tools;

三、启动软件测试,控制器调用功能自动化测试工具、压力测试工具,对被测软件的运行过程进行监测;3. Start the software test, and the controller calls the function automation test tool and stress test tool to monitor the running process of the software under test;

四、完成在设定的场景条件和设定的运行频率、次数后,结束软件测试;4. After completing the set scene conditions and the set operating frequency and times, end the software test;

五、通过监测过程中获得的被测软件的运行性能指标、硬件设备指标,完成被测软件的稳定性评估。5. Complete the stability evaluation of the tested software through the operating performance indicators and hardware equipment indicators of the tested software obtained during the monitoring process.

如上所述的一种提高软件测试稳定性的方法,所述测试控制器包括基本配置、运行约束、运行监测,所述基本配置包括但不限于功能自动化测试脚本运行次数及频率的设置、性能自动化脚本运行次数及频率的设置;所述运行约束包括但不限于对指定的模块进行稳定性测试;所述运行监测包括但不限于实时监控软件环境是否出现错误,出现时中断测试。A method for improving the stability of software testing as described above, the test controller includes basic configuration, operation constraints, and operation monitoring, and the basic configuration includes but is not limited to the setting of the number and frequency of functional automation test scripts, performance automation The setting of script running times and frequency; the running constraints include but not limited to the stability test of the specified module; the running monitoring includes but not limited to real-time monitoring of whether the software environment has errors, and interrupts the test when it occurs.

如上所述的一种提高软件测试稳定性的方法,所述自动化测试工具通过执行功能自动化测试脚本模拟被测软件被日常使用的情景,性能自动化测试脚本执行的频率及次数受测试控制器控制。In the method for improving the stability of software testing as described above, the automated testing tool simulates the daily use of the software under test by executing the functional automated test script, and the execution frequency and times of the performance automated test script are controlled by the test controller.

如上所述的一种提高软件测试稳定性的方法,所述自动化测试工具通过执行性能自动化测试脚本按照设定的场景对软件进行压力测试模拟被测软件被日常使用的情景,设定的场景内容包括并发用户数、测试脚本、迭代次数、服务器监测项,性能自动化测试脚本执行的频率及次数受测试控制器控制。According to a method for improving the stability of software testing as described above, the automated testing tool performs a stress test on the software according to the set scene by executing the performance automated test script to simulate the daily use of the tested software, and the set scene content Including the number of concurrent users, test scripts, number of iterations, and server monitoring items, the frequency and times of execution of performance automation test scripts are controlled by the test controller.

如上所述的一种提高软件测试稳定性的方法,其特征在于,通过性能测试工具对被测软件运行进行监测,性能测试工具记录每次性能测试时事务响应时间、事务成功率、服务器CPU利用率、内存使用率,对比每次输出的性能测试报告,可以获知软件稳定性指标。A method for improving the stability of software testing as described above is characterized in that the running of the software under test is monitored by a performance testing tool, and the performance testing tool records transaction response time, transaction success rate, and server CPU utilization during each performance test. Rate, memory usage, and compare the performance test report output each time, you can get the software stability index.

本发明还提供了一种提高软件测试稳定性的系统,包括测试控制器、自动测试化工具模块和压力测试工具模块;所述测试控制器包括基本配置模块、运行约束模块、运行监测模块,所述基本配置模块包括功能自动化测试脚本运行次数及频率的控制单元、性能自动化脚本运行次数及频率的控制单元;所述运行约束模块包括但不限于对指定的模块进行稳定性测试;所述运行监测模块包括但不限于实时监控软件环境是否出现错误,出现时中断测试;所述自动化测试工具模块通过执行功能自动化测试脚本模拟被测软件被日常使用的情景,性能自动化测试脚本执行的频率及次数受测试控制器控制;所述自动化测试工具模块通过执行性能自动化测试脚本按照设定的场景对软件进行压力测试模拟被测软件被日常使用的情景,设定的场景内容包括并发用户数、测试脚本、迭代次数、服务器监测项,性能自动化测试脚本执行的频率及次数受测试控制器控制。The present invention also provides a system for improving the stability of software testing, including a testing controller, an automatic testing tool module, and a pressure testing tool module; the testing controller includes a basic configuration module, an operation constraint module, and an operation monitoring module. The basic configuration module includes a control unit for the running times and frequency of the function automation test script, and a control unit for the running times and frequency of the performance automation script; the operation constraint module includes but is not limited to performing a stability test on a specified module; the operation monitoring The modules include but are not limited to real-time monitoring of whether there is an error in the software environment, and interrupt the test when it occurs; the automated test tool module simulates the daily use of the tested software by executing the functional automated test script, and the execution frequency and times of the performance automated test script are subject to Test controller control; the automated test tool module performs a stress test on the software according to the set scene by executing the performance automated test script to simulate the scene in which the software under test is used daily. The set scene includes the number of concurrent users, the test script, The number of iterations, server monitoring items, and the frequency and times of performance automation test script execution are controlled by the test controller.

与现有技术相比,本发明的优点是:Compared with prior art, the advantage of the present invention is:

1、本发明使用控制器调用功能自动化测试工具及压力测试工具,设定功能自动化运行的频率及次数,设定压力测试工具运行的场景,并对软件进行运行监测,以获取系统的相同操作在系统运行的不同时间及不同压力下的响应时间及服务器指标,便于对软件的稳定性进行评估,提高软件测试的效率。1. The present invention uses the controller to call the function automation test tool and the pressure test tool, sets the frequency and times of the function automation operation, sets the operation scene of the pressure test tool, and monitors the operation of the software to obtain the same operation of the system. The response time and server indicators of the system running at different times and under different pressures are convenient for evaluating the stability of the software and improving the efficiency of software testing.

2、本发明在测试过程中方便调节设定的参数和项目,便于操作和使用,从而更好的保障软件的稳定性和使用的质量。2. The present invention facilitates the adjustment of set parameters and items during the testing process, and facilitates operation and use, thus better ensuring the stability of the software and the quality of use.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the description of the embodiments or the prior art.

图1是本发明的流程图。Fig. 1 is a flow chart of the present invention.

具体实施方式Detailed ways

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments.

如图1所示,本实施例公开的一种提高软件测试稳定性的方法,包括以下步骤:As shown in Figure 1, a method for improving the stability of software testing disclosed in this embodiment comprises the following steps:

一、装载被测软件;1. Load the software under test;

二、在测试控制器上配置自动测试化工具和压力测试工具,包括设定自动测试化工具运行的频率及次数、设定压力测试工具运行的场景;2. Configure automatic testing tools and stress testing tools on the test controller, including setting the frequency and times of running automatic testing tools, and setting scenarios for running stress testing tools;

三、启动软件测试,控制器调用功能自动化测试工具、压力测试工具,对被测软件的运行过程进行监测;3. Start the software test, and the controller calls the function automation test tool and stress test tool to monitor the running process of the software under test;

四、完成在设定的场景条件和设定的运行频率、次数后,结束软件测试;4. After completing the set scene conditions and the set operating frequency and times, end the software test;

五、通过监测过程中获得的被测软件的运行性能指标、硬件设备指标,完成被测软件的稳定性评估。5. Complete the stability evaluation of the tested software through the operating performance indicators and hardware equipment indicators of the tested software obtained during the monitoring process.

具体而言,本实施例中的测试控制器,包括基本配置、运行约束、运行监测。其中基本配置包括但不限于功能自动化脚本运行次数及频率的设置、性能自动化脚本运行次数及频率的设置;运行约束包括但不限于指定对于哪些模块进行稳定性测试;运行监测包括但不限于实时监控软件环境是否出现错误,出现时中断测试。功能自动化测试即使用自动化测试工具,自动执行自动化测试脚本,以达到模拟软件被日常使用的情景。其执行的频率及次数受控制器控制。性能自动化测试即使用性能自动化测试工具,按照既定的场景对软件进行压力测试,运行场景条件包括并发用户数、测试脚本、迭代次数、服务器监测项。性能测试工具记录每次性能测试时事务响应时间、事务成功率、服务器CPU利用率、内存使用率,对比每次输出的性能测试报告,可以获知软件稳定性指标。Specifically, the test controller in this embodiment includes basic configuration, operation constraints, and operation monitoring. The basic configuration includes, but is not limited to, the setting of the running times and frequency of functional automation scripts, and the setting of the running times and frequency of performance automation scripts; running constraints include but not limited to specifying which modules are to be tested for stability; running monitoring includes but not limited to real-time monitoring Whether there is an error in the software environment, and the test is interrupted when it occurs. Functional automated testing uses automated testing tools to automatically execute automated test scripts to simulate the daily use of software. The frequency and times of its execution are controlled by the controller. Automated performance testing means using automated performance testing tools to conduct stress tests on software according to established scenarios. The running scenario conditions include the number of concurrent users, test scripts, iterations, and server monitoring items. The performance test tool records the transaction response time, transaction success rate, server CPU utilization rate, and memory utilization rate during each performance test, and compares the performance test report output each time to obtain software stability indicators.

如图1所示,本实施例中采用Selenium作为自动测试工具,LoadRunner作为性能测试工具,Selenium是web自动化测试工具集,包括IDE、Grid、RC、WebDriver等。LoadRunner是一款性能测试软件,通过模拟真实的用户行为,通过负载、并发和性能实时监控以及完成后的测试报告,分析系统可能存在的瓶颈,LoadRunner最为有效的手段之一应该就是并发控制,通过在控制台的设置,以达到同一个业务同时模拟成千上万的用户进行操作。As shown in FIG. 1 , in this embodiment, Selenium is used as an automatic testing tool, LoadRunner is used as a performance testing tool, and Selenium is a set of web automated testing tools, including IDE, Grid, RC, WebDriver, and the like. LoadRunner is a performance testing software that analyzes possible bottlenecks in the system by simulating real user behavior, real-time monitoring of load, concurrency and performance, and completed test reports. One of the most effective means of LoadRunner should be concurrency control. The setting in the console is to simulate the operation of thousands of users at the same time to achieve the same business.

本实施例中以控制器与服务器通过Web进行通讯,基于前端Ui可以进行Selenium自动化测试脚本的运行,基于底层服务器LoadRunner固定脚本按照设定的运行脚本测试,可以进行进行软件测试时过程如下:In the present embodiment, communicate with the controller and the server through the Web, based on the front-end Ui, the operation of the Selenium automated test script can be carried out, based on the underlying server LoadRunner fixed script according to the set running script test, the process can be as follows during software testing:

1、测试之前,编写好功能自动化测试脚本;1. Before testing, write functional automation test scripts;

2、设定性能测试的场景:并发用户数、执行脚本、服务器监控指标、迭代次数2. Set the performance test scenario: the number of concurrent users, script execution, server monitoring indicators, number of iterations

3、设置功能自动化运行的次数及频率,如运行200次,每次间隔5分钟;设置性能自动化运行的次数及频率,如运行50次,每次间隔30分钟3. Set the number and frequency of automatic function running, such as running 200 times, with an interval of 5 minutes; set the number and frequency of automatic performance running, such as running 50 times, with an interval of 30 minutes

4、稳定性测试开始,控制器调用功能自动化测试工具,如selenium,对系统进行自动操作,模拟软件日常使用4. The stability test starts, and the controller invokes a functional automation test tool, such as selenium, to automatically operate the system and simulate the daily use of the software

5、调用性能自动化测试工具,如LoadRunner,依据设定的性能测试场景,对软件进行性能测试,输出测试报告5. Invoke performance automation testing tools, such as LoadRunner, perform performance testing on the software according to the set performance testing scenarios, and output test reports

6、在运行过程中,控制器实时监测被测软件,是否有报错信息、是否宕机等,如发现此类情况,则中断测试6. During the running process, the controller monitors the tested software in real time, whether there is an error message, whether there is a downtime, etc. If such a situation is found, the test will be interrupted

依据多次性能测试输出的测试报告可以评估系统的稳定性。例如当多次报告中相同事务的响应时间相差不大,且服务器指标正常,则可以判断软件通过稳定性测试The stability of the system can be evaluated based on the test reports output by multiple performance tests. For example, when the response time of the same transaction in multiple reports is not much different, and the server indicators are normal, it can be judged that the software has passed the stability test

本发明还提供了一种提高软件测试稳定性的系统,包括测试控制器、自动测试化工具模块和压力测试工具模块;测试控制器包括基本配置模块、运行约束模块、运行监测模块,基本配置模块包括功能自动化测试脚本运行次数及频率的控制单元、性能自动化脚本运行次数及频率的控制单元;运行约束模块包括但不限于对指定的模块进行稳定性测试;运行监测模块包括但不限于实时监控软件环境是否出现错误,出现时中断测试;自动化测试工具模块通过执行功能自动化测试脚本模拟被测软件被日常使用的情景,性能自动化测试脚本执行的频率及次数受测试控制器控制;自动化测试工具模块通过执行性能自动化测试脚本按照设定的场景对软件进行压力测试模拟被测软件被日常使用的情景,设定的场景内容包括并发用户数、测试脚本、迭代次数、服务器监测项,性能自动化测试脚本执行的频率及次数受测试控制器控制。The present invention also provides a system for improving the stability of software testing, including a test controller, an automatic testing tool module and a pressure testing tool module; the test controller includes a basic configuration module, an operation constraint module, an operation monitoring module, and a basic configuration module Including the control unit for the running times and frequency of functional automation test scripts, and the control unit for the running times and frequency of performance automation scripts; the running constraint module includes but is not limited to performing stability tests on specified modules; the running monitoring module includes but not limited to real-time monitoring software Whether there is an error in the environment, the test is interrupted when it occurs; the automated test tool module simulates the daily use of the software under test by executing the functional automated test script, and the frequency and times of performance automated test script execution are controlled by the test controller; the automated test tool module passes Execute performance automation test scripts to perform stress tests on the software according to the set scenarios to simulate the daily use of the software under test. The set scenarios include the number of concurrent users, test scripts, iterations, server monitoring items, and execution of performance automation test scripts The frequency and times are controlled by the test controller.

通过控制器调用功能自动化测试工具模块、压力测试工具模块,设定功能自动化运行的频率及次数,设定压力测试工具的场景,并对软件进行运行监测,以获取系统的相同操作在系统运行的不同时间及不同压力下的响应时间及服务器指标,便于对软件的稳定性进行评估,提高软件测试的效率。Call the function automation test tool module and stress test tool module through the controller, set the frequency and times of function automation operation, set the scene of the pressure test tool, and monitor the operation of the software to obtain the same operation of the system when the system is running Response time and server indicators at different times and under different pressures facilitate the evaluation of software stability and improve the efficiency of software testing.

本发明未详尽描述的技术内容均为公知技术。The technical contents not described in detail in the present invention are all known technologies.

Claims (6)

1.一种提高软件测试稳定性的方法,其特征在于,包括以下步骤:1. A method for improving the stability of software testing, characterized in that, comprising the following steps: 一、装载被测软件;1. Load the software under test; 二、在测试控制器上配置自动测试化工具和压力测试工具,包括设定自动测试化工具运行的频率及次数、设定压力测试工具运行的场景;2. Configure automatic testing tools and stress testing tools on the test controller, including setting the frequency and times of running automatic testing tools, and setting scenarios for running stress testing tools; 三、启动软件测试,控制器调用功能自动化测试工具、压力测试工具,对被测软件的运行过程进行监测;3. Start the software test, and the controller calls the function automation test tool and stress test tool to monitor the running process of the software under test; 四、完成在设定的场景条件和设定的运行频率、次数后,结束软件测试;4. After completing the set scene conditions and the set operating frequency and times, end the software test; 五、通过监测过程中获得的被测软件的运行性能指标、硬件设备指标,完成被测软件的稳定性评估。5. Complete the stability evaluation of the tested software through the operating performance indicators and hardware equipment indicators of the tested software obtained during the monitoring process. 2.根据权利要求1所述的一种提高软件测试稳定性的方法,其特征在于,所述测试控制器包括基本配置、运行约束、运行监测,所述基本配置包括但不限于功能自动化测试脚本运行次数及频率的设置、性能自动化脚本运行次数及频率的设置;所述运行约束包括但不限于对指定的模块进行稳定性测试;所述运行监测包括但不限于实时监控软件环境是否出现错误,出现时中断测试。2. A method for improving the stability of software testing according to claim 1, wherein said test controller includes basic configuration, operation constraints, and operation monitoring, and said basic configuration includes but is not limited to functional automation test scripts The setting of running times and frequency, the setting of running times and frequency of performance automation scripts; the running constraints include but are not limited to performing stability tests on specified modules; the running monitoring includes but not limited to real-time monitoring of software environments for errors, Abort the test when it occurs. 3.根据权利要求2所述的一种提高软件测试稳定性的方法,其特征在于,所述自动化测试工具通过执行功能自动化测试脚本模拟被测软件被日常使用的情景,性能自动化测试脚本执行的频率及次数受测试控制器控制。3. a kind of method that improves software test stability according to claim 2, it is characterized in that, described automated test tool simulates the situation that software under test is used by daily use by execution function automated test script, performance automated test script executes The frequency and times are controlled by the test controller. 4.根据权利要求2所述的一种提高软件测试稳定性的方法,其特征在于,所述自动化测试工具通过执行性能自动化测试脚本按照设定的场景对软件进行压力测试模拟被测软件被日常使用的情景,设定的场景内容包括并发用户数、测试脚本、迭代次数、服务器监测项,性能自动化测试脚本执行的频率及次数受测试控制器控制。4. A method for improving the stability of software testing according to claim 2, characterized in that, the automated testing tool performs a stress test on the software according to a set scene by executing a performance automated testing script to simulate that the software under test is routinely The scenario used, the content of the set scenario includes the number of concurrent users, test scripts, number of iterations, server monitoring items, and the frequency and times of execution of performance automation test scripts are controlled by the test controller. 5.根据权利要求2所述的一种提高软件测试稳定性的方法,其特征在于,通过性能测试工具对被测软件运行进行监测,性能测试工具记录每次性能测试时事务响应时间、事务成功率、服务器CPU利用率、内存使用率,对比每次输出的性能测试报告,可以获知软件稳定性指标。5. a kind of method for improving software testing stability according to claim 2 is characterized in that, by performance testing tool, the operation of tested software is monitored, and the performance testing tool records transaction response time, transaction success during each performance test Rate, server CPU utilization rate, memory usage rate, compared with the performance test report output each time, you can know the software stability indicators. 6.一种提高软件测试稳定性的系统,其特征在于,包括测试控制器、自动测试化工具模块和压力测试工具模块;所述测试控制器包括基本配置模块、运行约束模块、运行监测模块,所述基本配置模块包括功能自动化测试脚本运行次数及频率的控制单元、性能自动化脚本运行次数及频率的控制单元;所述运行约束模块包括但不限于对指定的模块进行稳定性测试;所述运行监测模块包括但不限于实时监控软件环境是否出现错误,出现时中断测试;所述自动化测试工具模块通过执行功能自动化测试脚本模拟被测软件被日常使用的情景,性能自动化测试脚本执行的频率及次数受测试控制器控制;所述自动化测试工具模块通过执行性能自动化测试脚本按照设定的场景对软件进行压力测试模拟被测软件被日常使用的情景,设定的场景内容包括并发用户数、测试脚本、迭代次数、服务器监测项,性能自动化测试脚本执行的频率及次数受测试控制器控制。6. A system for improving the stability of software testing, characterized in that it includes a test controller, an automatic testing tool module and a stress testing tool module; the test controller includes a basic configuration module, an operation constraint module, and an operation monitoring module, The basic configuration module includes a control unit for the number of times and frequency of functional automation test script operations, and a control unit for the number of times and frequency of performance automation script operations; the operation constraint module includes but is not limited to performing a stability test on a specified module; the operation The monitoring module includes but is not limited to real-time monitoring of whether there is an error in the software environment, and interrupts the test when it occurs; the automated test tool module simulates the daily use of the software under test by executing the functional automated test script, and the frequency and number of times the performance automated test script is executed Controlled by the test controller; the automated test tool module performs a stress test on the software according to the set scene by executing the performance automated test script to simulate the daily use of the tested software. The set scene includes the number of concurrent users, the test script , number of iterations, server monitoring items, and the frequency and times of performance automation test script execution are controlled by the test controller.
CN201711269989.6A 2017-12-05 2017-12-05 A kind of method and system for improving software test stability Pending CN107992418A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711269989.6A CN107992418A (en) 2017-12-05 2017-12-05 A kind of method and system for improving software test stability

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711269989.6A CN107992418A (en) 2017-12-05 2017-12-05 A kind of method and system for improving software test stability

Publications (1)

Publication Number Publication Date
CN107992418A true CN107992418A (en) 2018-05-04

Family

ID=62035796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711269989.6A Pending CN107992418A (en) 2017-12-05 2017-12-05 A kind of method and system for improving software test stability

Country Status (1)

Country Link
CN (1) CN107992418A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804324A (en) * 2018-06-07 2018-11-13 广州金山安全管理系统技术有限公司 The detection method and device of application program, storage medium, electronic device
CN109344059A (en) * 2018-09-20 2019-02-15 天津龙拳风暴科技有限公司 A kind of server stress test method and device
CN109460359A (en) * 2018-10-26 2019-03-12 深圳市鼎阳科技有限公司 A kind of software version test method and system for embedded device
CN109669851A (en) * 2018-12-25 2019-04-23 上海新炬网络技术有限公司 Performance test script method for recording based on Selenium automation
CN110851309A (en) * 2019-10-31 2020-02-28 广东安可云科技有限公司 Integrated verification system and method
CN111694725A (en) * 2019-03-15 2020-09-22 北京奇虎科技有限公司 Method and device for testing stability of web page
CN116257220A (en) * 2023-05-16 2023-06-13 长春慧程科技有限公司 Cloud edge collaboration-based software development data management method and system
CN116471209A (en) * 2023-04-21 2023-07-21 广州通则康威智能科技有限公司 Registered network pressure testing method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567186A (en) * 2010-12-08 2012-07-11 上海杉达学院 Automated software testing method
CN102937932A (en) * 2011-08-16 2013-02-20 中国银联股份有限公司 Automated testing device and method of integrated heterogeneous testing tool
CN106502887A (en) * 2016-10-13 2017-03-15 郑州云海信息技术有限公司 A kind of stability test method, test controller and system
CN106776289A (en) * 2016-11-24 2017-05-31 山东交通学院 Multitask self adaptation cloud method of testing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567186A (en) * 2010-12-08 2012-07-11 上海杉达学院 Automated software testing method
CN102937932A (en) * 2011-08-16 2013-02-20 中国银联股份有限公司 Automated testing device and method of integrated heterogeneous testing tool
CN106502887A (en) * 2016-10-13 2017-03-15 郑州云海信息技术有限公司 A kind of stability test method, test controller and system
CN106776289A (en) * 2016-11-24 2017-05-31 山东交通学院 Multitask self adaptation cloud method of testing

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804324A (en) * 2018-06-07 2018-11-13 广州金山安全管理系统技术有限公司 The detection method and device of application program, storage medium, electronic device
CN109344059A (en) * 2018-09-20 2019-02-15 天津龙拳风暴科技有限公司 A kind of server stress test method and device
CN109460359A (en) * 2018-10-26 2019-03-12 深圳市鼎阳科技有限公司 A kind of software version test method and system for embedded device
CN109669851A (en) * 2018-12-25 2019-04-23 上海新炬网络技术有限公司 Performance test script method for recording based on Selenium automation
CN111694725A (en) * 2019-03-15 2020-09-22 北京奇虎科技有限公司 Method and device for testing stability of web page
CN110851309A (en) * 2019-10-31 2020-02-28 广东安可云科技有限公司 Integrated verification system and method
CN110851309B (en) * 2019-10-31 2024-03-19 广东安可云科技有限公司 Integrated verification system and method
CN116471209A (en) * 2023-04-21 2023-07-21 广州通则康威智能科技有限公司 Registered network pressure testing method and system
CN116471209B (en) * 2023-04-21 2024-05-31 广州通则康威科技股份有限公司 Registered network pressure testing method and system
CN116257220A (en) * 2023-05-16 2023-06-13 长春慧程科技有限公司 Cloud edge collaboration-based software development data management method and system
CN116257220B (en) * 2023-05-16 2023-08-08 长春慧程科技有限公司 Cloud edge collaboration-based software development data management method and system

Similar Documents

Publication Publication Date Title
CN107992418A (en) A kind of method and system for improving software test stability
CN108733569B (en) Interface automatic testing method and device, storage medium and equipment
CN103838663A (en) Application testing method and device
CN112269697B (en) Equipment storage performance testing method, system and related device
US11422920B2 (en) Debugging multiple instances of code using thread patterns
CN106095682A (en) Android application stability test method for simulating complex network
Ehlers et al. A self-adaptive monitoring framework for component-based software systems
US20090204851A1 (en) Method and System for Software Testing
CN107562623A (en) A kind of REST API automated testing methods and system
CN116405412B (en) Method and system for verifying cluster effectiveness of simulation server based on chaotic engineering faults
Hendayun et al. Analysis of application performance testing using load testing and stress testing methods in API service
CN110471853A (en) APP test method, device, computer equipment and storage medium
CN103077114A (en) Automatic testing method based on communication protocol of temperature measuring device
CN114003442B (en) Pressure test method, device, equipment and medium of ARM server
CN105893251A (en) Test method and system of time required for starting intelligent terminal APP
CN102521132A (en) Automated testing method and automated testing system for real-time output logs
CN107908538A (en) A kind of automated testing method and system of server system performance
Zhao et al. Systematically testing and diagnosing responsiveness for android apps
CN114816956A (en) Interface performance test method and device
CN107704376B (en) Game automation testing method and system
CN113722240B (en) Stability testing method and system for linux operating system management platform
CN103218277A (en) Automatic detection method and device for server environment
CN114564387A (en) Scene type automatic testing method and system for OpenStack cloud platform
CN103577290B (en) Test script playback rhythm control method and system
CN107247616A (en) A kind of method and system of virtual platform virtualization applications performance test

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180504

RJ01 Rejection of invention patent application after publication