CN115543806A - Method for supporting automatic calling and automatic matching automatic execution case test - Google Patents

Method for supporting automatic calling and automatic matching automatic execution case test Download PDF

Info

Publication number
CN115543806A
CN115543806A CN202211237151.XA CN202211237151A CN115543806A CN 115543806 A CN115543806 A CN 115543806A CN 202211237151 A CN202211237151 A CN 202211237151A CN 115543806 A CN115543806 A CN 115543806A
Authority
CN
China
Prior art keywords
automatic
test
case
matching
supporting
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
CN202211237151.XA
Other languages
Chinese (zh)
Other versions
CN115543806B (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.)
Wuhan Heer Mosi Intelligent Technology Co ltd
Original Assignee
Wuhan Heer Mosi Intelligent 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 Wuhan Heer Mosi Intelligent Technology Co ltd filed Critical Wuhan Heer Mosi Intelligent Technology Co ltd
Priority to CN202211237151.XA priority Critical patent/CN115543806B/en
Priority claimed from CN202211237151.XA external-priority patent/CN115543806B/en
Publication of CN115543806A publication Critical patent/CN115543806A/en
Application granted granted Critical
Publication of CN115543806B publication Critical patent/CN115543806B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

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 provides a method for supporting automatic calling of an automatic matching automatic execution case test, which comprises a test task scheduling server and an execution machine, wherein the test task scheduling server which is configured and deployed in advance is used for automatically matching and calling a corresponding target case from a prefabricated test case warehouse through a test case automatic calling script, and then the called target case is sent to a predefined target execution machine for testing and feeding back and outputting a test result. The method for supporting automatic calling, automatic matching and automatic execution of case testing is not limited to manual item-by-item input mode, and can also support batch input and import modes in various modes, such as import according to a preset template. When the test cases are automatically called and matched, the interference of human adverse factors on the test is reduced, the test resource investment is reduced, the test cases are automatically tested by an automatic executive machine according to requirements, the test process is not limited to be manually completed, and the repeated operation intensity of the test is reduced.

Description

Method for supporting automatic calling and automatic matching automatic execution case test
Technical Field
The invention relates to the field of test automation in the software research and development industry, in particular to a method for supporting automatic calling and automatic matching to automatically execute case test.
Background
In the current software research and development industry, in a plurality of projects based on agile development modes, a large number of software versions need to complete efficient and rapid product iterative updating, software testing is a very critical quality control link in project development, in the prior art, software testing consumes more than half of time resources of the whole software development project, and often has the problems of high test resource investment, long test period, high test repeated operation strength and the like, and also has the defect that the low-efficiency test consistency of manually calling cases for test execution and feeding back test results is difficult to control, so the software testing process is a project management dilemma generally faced by current software development managers.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method for supporting automatic calling and automatic matching to automatically execute case testing, so as to solve the problems in the background technology.
In order to achieve the purpose, the invention is realized by the following technical scheme: a method for supporting automatic calling and automatic matching for automatically executing case test comprises a test task scheduling server and an executing machine, wherein a test task scheduling server which is configured and deployed in advance is used for automatically matching and calling a corresponding target case from a prefabricated test case warehouse through a test case automatic calling script, then the called target case is sent to a predefined target executing machine for testing and feeding back an output test result, after a test task is completed, relevant data of relevant test case executing machines and case scripts are automatically cleared, relevant service interfaces are closed and reset, and automatic calling, automatic matching and automatic executing operation of test cases are finished.
Furthermore, before the corresponding target case is called for testing, a set of complete automatic test case management system is accessed and integrated into the existing software test system.
Furthermore, in the process of feeding back and outputting the test result, the target case completes the automatic test operation of the test case in the execution machine.
Further, the task scheduling server is internally input into a use case script list, and the use case script list comprises a testcaseID and LogicTopoID mapping relation.
Furthermore, after the physical Topo is established, the strategy file and the logic Topo list are issued in the application and test networking resource, and an application processing result is returned.
Further, the application result is returned for multiple times, and each application result includes multiple conditions: the application is successful, in which case one or more physical Topo profiles are returned; if the resource does not apply for the resource, the returned application result is LACK _ RES; and returning an application result RES _ CONFICT under the condition that the resource conflict application fails.
Furthermore, the creation of the logic networking diagram is completed in advance in an application scene environment supporting the development of the automatic test project.
Further, because of resource conflict, the failed logical Topo is built, and it is necessary to try to build physical Topo again at this time.
The invention has the beneficial effects that:
1. the method supporting automatic calling, automatic matching and automatic execution of case testing is not limited to a manual item-by-item input mode when a test case is tested, and can also support a batch input and import mode in various modes, such as import according to a preset template.
2. According to the method for supporting automatic calling, automatic matching and automatic execution case testing, when the test cases are automatically called and matched, tasks of issuing the test cases do not need to be manually distributed, interference of human adverse factors on testing is reduced, and testing resource investment is reduced.
3. In the method for supporting the automatic calling and automatic matching automatic execution case test, the test case is automatically tested by the automatic execution machine, the test process is not limited to be manually completed, the test period is shortened, and the repeated operation intensity of test tasks is reduced.
Drawings
FIG. 1 is a schematic diagram of a method for supporting automatic invocation of an auto-match auto-execute case test according to the present invention.
Detailed Description
In order to make the technical means, the creation characteristics, the achievement purposes and the effects of the invention easy to understand, the invention is further explained by combining the specific embodiments.
Referring to fig. 1, the present invention provides a technical solution: a method for supporting automatic calling automatic matching automatic execution case test comprises a test task scheduling server and an execution machine, before test, a set of complete automatic test case management system is connected and integrated into an existing software test system, a test task scheduling server which is configured and deployed in advance is used for automatically matching and calling a corresponding target case from a prefabricated test case warehouse through a test case automatic calling script, then the called target case is sent to a predefined target execution machine, the target case completes the automatic test operation of the test case in the execution machine and feeds back an output test result, after the test task is completed, relevant test case execution machines and case scripts automatically clear relevant data and close and reset relevant service interfaces, and therefore automatic calling, automatic matching and automatic execution operation of the test case are achieved.
In this embodiment, in the test task scheduling server, a test policy and a case script list are input, a test networking resource is applied, a logical networking map is created in an intelligent laboratory, a physical Topo is created, after the physical Topo is created, a policy file and a logical Topo list are issued in the application test networking resource, and an application processing result is returned. The application processing result is returned for a plurality of times, and each application result comprises a plurality of conditions: the application is successful, in which case one or more physical Topo profiles are returned; if the resource does not apply for the resource, the returned application result is LACK _ RES; and returning an application result RES _ CONFICT under the condition that the resource conflict application fails. Building a logical Topo that fails due to a resource conflict requires a second attempt to build a physical Topo at this point.
In this embodiment, in the execution machine, a one-touch test configuration file is created, a script execution Topo description file is updated, a physical Topo description file is issued into the test task scheduling server, the test task scheduling server schedules a case script according to an application result, and issues a case script number into the execution machine, so that the execution machine executes the case script, after the test of the script is completed, an execution result is returned to the test task scheduling server, and execution information, summary and backfill of the execution result are stored in the test task scheduling server. And applying for releasing the logic Topo in the test task scheduling server, applying for releasing Topo ID in a physical Topo releasing program, and finishing all test tasks after receiving a returned logic Topo releasing result.
Having thus described the basic principles of the present invention, its essential features and advantages, it will be apparent to those skilled in the art that the present invention is not limited to the details of the foregoing exemplary embodiments, but is capable of other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present description refers to embodiments, not every embodiment may contain only a single embodiment, and such description is for clarity only, and those skilled in the art should integrate the description, and the embodiments may be combined as appropriate to form other embodiments understood by those skilled in the art.

Claims (8)

1. A method for supporting automatic calling, automatic matching and automatic execution of case test is characterized in that: the method comprises a test task scheduling server and an executive machine, wherein the test task scheduling server which is configured and deployed in advance is used for automatically matching and calling a corresponding target case from a prefabricated test case warehouse through a test case automatic calling script, then the called target case is sent to a predefined target executive machine for testing and feeding back an output test result, after a test task is completed, relevant data are automatically cleared by relevant test case executive machines and case scripts, relevant service interfaces are closed and reset, and the automatic calling, automatic matching and automatic execution operation of the test cases is finished.
2. The method for supporting automatic invocation and automatic matching of automatic execution case testing according to claim 1, wherein: before the corresponding target case is called for testing, a set of complete automatic test case management system is accessed and integrated into the existing software test system.
3. The method for supporting automatic invocation and automatic matching of automatic execution case testing according to claim 2, wherein: and in the process of feeding back and outputting the test result, the target case completes the automatic test operation of the test case in the execution machine.
4. The method for supporting automatic invocation and automatic matching of automatic execution case testing according to claim 1, wherein: the task scheduling server is internally input into a use case script list, and the use case script list comprises a mapping relation between TestCaseID and LogicTopoID.
5. The method for supporting automatic invocation and automatic matching of automatic execution case testing according to claim 4, wherein: after the physical Topo is established, a strategy file and a logic Topo list are issued in the application test networking resource, and an application processing result is returned.
6. The method for supporting automatic invocation and automatic matching of automatic execution case testing according to claim 5, wherein: the application result is returned for a plurality of times, and each application result comprises a plurality of conditions: if the application succeeds, one or more physical Topo description files are returned; if the resource does not apply for the resource, the returned application result is LACK _ RES; and returning an application result RES _ CONFICT under the condition that the resource conflict application fails.
7. The method for supporting automatic invocation and automatic matching of automatic execution case testing according to claim 1, wherein: the creation of the logic networking diagram is completed in advance in an application scene environment supporting the development of an automatic test project.
8. The method for supporting automatic invocation and automatic matching of automatic execution case test according to claim 6, characterized in that: building a logical Topo that fails due to a resource conflict requires a second attempt to build a physical Topo at this point.
CN202211237151.XA 2022-10-08 Method for supporting automatic calling, automatic matching and automatic executing case test Active CN115543806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211237151.XA CN115543806B (en) 2022-10-08 Method for supporting automatic calling, automatic matching and automatic executing case test

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211237151.XA CN115543806B (en) 2022-10-08 Method for supporting automatic calling, automatic matching and automatic executing case test

Publications (2)

Publication Number Publication Date
CN115543806A true CN115543806A (en) 2022-12-30
CN115543806B CN115543806B (en) 2024-06-07

Family

ID=

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060253588A1 (en) * 2005-05-09 2006-11-09 International Business Machines Corporation Method and apparatus for managing test results in a data center
CN101246439A (en) * 2008-03-18 2008-08-20 中兴通讯股份有限公司 Automatized test method and system based on task scheduling
WO2009138495A1 (en) * 2008-05-15 2009-11-19 Simeon Falk Sheye Automatic testing of a computer software system
CN102012845A (en) * 2010-12-16 2011-04-13 迈普通信技术股份有限公司 Method for improving utilization rate of automatic testing resources
WO2013003244A2 (en) * 2011-06-28 2013-01-03 Microsoft Corporation Deploying environments for testing by providing instantaneous availability of prebuilt environments
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
CN105335293A (en) * 2015-11-30 2016-02-17 努比亚技术有限公司 Automatic testing system and method based on parallel ports
CN105512038A (en) * 2015-12-12 2016-04-20 天津南大通用数据技术股份有限公司 Database based automation parallel test platform execution method
CN109766280A (en) * 2019-01-16 2019-05-17 广东飞企互联科技股份有限公司 Method for testing software and software test platform
US20190163616A1 (en) * 2017-11-30 2019-05-30 Vmware, Inc. Automated-application-release-management subsystem that provides efficient code-change check-in
CN110795341A (en) * 2019-10-08 2020-02-14 苏州浪潮智能科技有限公司 Automatic testing method, system and device for server
CN112115044A (en) * 2020-08-12 2020-12-22 中国电力科学研究院有限公司 Automatic testing method and system for electric power information communication equipment
CN112286806A (en) * 2020-10-28 2021-01-29 成都佰维存储科技有限公司 Automatic testing method and device, storage medium and electronic equipment
CN113704095A (en) * 2021-08-08 2021-11-26 中国航空工业集团公司沈阳飞机设计研究所 Automatic generation method and device for automatic interface test case
CN114297067A (en) * 2021-12-28 2022-04-08 山石网科通信技术股份有限公司 Script testing method and device
CN114741283A (en) * 2022-03-30 2022-07-12 徐工汉云技术股份有限公司 Automatic interface testing method and device based on python design

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060253588A1 (en) * 2005-05-09 2006-11-09 International Business Machines Corporation Method and apparatus for managing test results in a data center
CN101246439A (en) * 2008-03-18 2008-08-20 中兴通讯股份有限公司 Automatized test method and system based on task scheduling
WO2009138495A1 (en) * 2008-05-15 2009-11-19 Simeon Falk Sheye Automatic testing of a computer software system
CN102012845A (en) * 2010-12-16 2011-04-13 迈普通信技术股份有限公司 Method for improving utilization rate of automatic testing resources
WO2013003244A2 (en) * 2011-06-28 2013-01-03 Microsoft Corporation Deploying environments for testing by providing instantaneous availability of prebuilt environments
CN103441900A (en) * 2013-08-27 2013-12-11 上海新炬网络技术有限公司 Centralization cross-platform automated testing system and control method thereof
CN105335293A (en) * 2015-11-30 2016-02-17 努比亚技术有限公司 Automatic testing system and method based on parallel ports
CN105512038A (en) * 2015-12-12 2016-04-20 天津南大通用数据技术股份有限公司 Database based automation parallel test platform execution method
US20190163616A1 (en) * 2017-11-30 2019-05-30 Vmware, Inc. Automated-application-release-management subsystem that provides efficient code-change check-in
CN109766280A (en) * 2019-01-16 2019-05-17 广东飞企互联科技股份有限公司 Method for testing software and software test platform
CN110795341A (en) * 2019-10-08 2020-02-14 苏州浪潮智能科技有限公司 Automatic testing method, system and device for server
CN112115044A (en) * 2020-08-12 2020-12-22 中国电力科学研究院有限公司 Automatic testing method and system for electric power information communication equipment
CN112286806A (en) * 2020-10-28 2021-01-29 成都佰维存储科技有限公司 Automatic testing method and device, storage medium and electronic equipment
CN113704095A (en) * 2021-08-08 2021-11-26 中国航空工业集团公司沈阳飞机设计研究所 Automatic generation method and device for automatic interface test case
CN114297067A (en) * 2021-12-28 2022-04-08 山石网科通信技术股份有限公司 Script testing method and device
CN114741283A (en) * 2022-03-30 2022-07-12 徐工汉云技术股份有限公司 Automatic interface testing method and device based on python design

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ZHENGUO HU 等: "Automated Penetration Testing Using Deep Reinforcement Learning", 《2020 IEEE EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY WORKSHOPS》, 22 October 2020 (2020-10-22), pages 2 - 10 *
代云华: "基于拓扑调度的软件自动化测试技术的研究与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, no. 4, 15 April 2012 (2012-04-15), pages 138 - 1191 *
李雪莹: "FPGA软件自动化测试平台的设计与实现", 《中国优秀硕士学位论文全文数据库》, no. 1, 15 January 2019 (2019-01-15), pages 135 - 1067 *

Similar Documents

Publication Publication Date Title
JP6469187B2 (en) Simulation with multiple simulators
CN110221962B (en) Centralized software test management system and method
CN106970880B (en) Distributed automatic software testing method and system
US9823991B2 (en) Concurrent workload simulation for application performance testing
DE102016214786A1 (en) Application profiling job management system, program and method
US8701079B2 (en) Procedure and development environment for generation of an executable overall control program
CN111651365B (en) Automatic interface testing method and device
CN112631919A (en) Comparison test method and device, computer equipment and storage medium
CN111813420B (en) Method for carrying out automatic performance test on OpenStack cluster
CN105487952A (en) PCIE-SSD automatic test method based on FIO
CN107122182B (en) Method and system for constructing and releasing code
DE102017215556A1 (en) METHOD FOR PROGRAMMING ELECTRONIC VEHICLE CONTROL MODULES
CN115543806A (en) Method for supporting automatic calling and automatic matching automatic execution case test
CN115543806B (en) Method for supporting automatic calling, automatic matching and automatic executing case test
CN108536429B (en) Method and device for developing software, storage medium and electronic equipment
CN110597728A (en) Method, device and system for constructing test data
CN114647588A (en) Interface test method and device
CN112130962B (en) Continuous delivery platform and method for deploying application system by using same
CN105389236A (en) FIO based method for automated test of HBA card
CN115185825A (en) Interface test scheduling method and device
CN112667463A (en) Application system baseline state monitoring method and device
CN111240920B (en) Performance test method, device, server and storage medium
CN111124904A (en) Regression testing method and device for application software
Zhu et al. Automating regression testing for real-time software in a distributed environment
Leloudas Challenges and Solutions in Software Testing

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