CN111104329B - Self-service system docking case guide test method - Google Patents

Self-service system docking case guide test method Download PDF

Info

Publication number
CN111104329B
CN111104329B CN201911330331.0A CN201911330331A CN111104329B CN 111104329 B CN111104329 B CN 111104329B CN 201911330331 A CN201911330331 A CN 201911330331A CN 111104329 B CN111104329 B CN 111104329B
Authority
CN
China
Prior art keywords
docking
test
case
butt joint
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911330331.0A
Other languages
Chinese (zh)
Other versions
CN111104329A (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.)
Everbright Xinglong Trust Co ltd
Original Assignee
Everbright Xinglong Trust 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 Everbright Xinglong Trust Co ltd filed Critical Everbright Xinglong Trust Co ltd
Priority to CN201911330331.0A priority Critical patent/CN111104329B/en
Publication of CN111104329A publication Critical patent/CN111104329A/en
Application granted granted Critical
Publication of CN111104329B publication Critical patent/CN111104329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A self-service system docking case guide test method comprises the following steps: the application access mechanism can select the confirmed and completed development and configuration butt joint flow template, initiate joint debugging test application and provide related network information; the self-service docking platform automatically matches the test case library according to the docking process template, provides a basic docking test case scheme and sends the basic docking test case scheme to the docking approval mechanism for approval; the automatically matched butt joint test case scheme of the butt joint approval mechanism approval system is adjusted and confirmed on the scheme, and a butt joint mechanism personnel is applied for adjustment and feedback; the docking approval mechanism configures a network environment according to platform guidance; the personnel of the docking application mechanism carries out docking test step by step according to the docking test case scheme confirmed by the two parties and the platform guide, and the platform provides each process and case for the docking application mechanism to use by reference through the test data case; and when each test case is in a finished state, the docking application mechanism can initiate an on-line application.

Description

Self-service system docking case guide test method
Technical Field
The invention relates to the field of system automatic testing, in particular to a method for completing automatic testing by using a butt-joint template and a test case.
Background
In the prior art, before a business system is online, a test before the online is usually required, and as the business process is complicated and tedious, sometimes the test is performed through manual operation, the procedure is complicated and mistakes are easily made; some services are too complex and require more test cases. And the testing speed is slow, and the operation is not easy.
Disclosure of Invention
In order to solve the problems, the invention provides a self-service system docking case guide test method which is used for providing a test function for an automatic docking process, configuring different docking process templates for different services, matching corresponding test cases, inputting test case data according to the docking process templates for testing, automatically completing the test work before online, realizing automatic test and improving the efficiency.
The invention relates to a self-service system docking case guide test method, which comprises the following steps:
step 1: the application access mechanism can select the confirmed and completed development and configuration butt joint flow template, initiate joint debugging test application and provide related network information;
step 2: the self-service docking platform automatically matches the test case library according to the docking process template, provides a basic docking test case scheme and sends the basic docking test case scheme to the docking approval mechanism for approval;
and step 3: the automatically matched butt joint test case scheme of the butt joint approval mechanism approval system is adjusted and confirmed on the scheme, a confirmed butt joint template is automatically sent to a butt joint application mechanism personnel, and the butt joint application mechanism personnel adjust according to actual conditions and feed back the butt joint approval mechanism to confirm; meanwhile, the docking approval mechanism configures a network environment according to platform guidance;
and 4, step 4: the personnel of the docking application mechanism carries out docking test step by step according to the docking test case scheme confirmed by the two parties and the platform guide, and the platform provides each process and case for the docking application mechanism to use by reference through the test data case; each time a docking case is completed, the case will become complete;
and 5: and when each test case is in a finished state, the docking application mechanism can initiate an on-line application.
Furthermore, the application access mechanism develops and configures different types of docking process templates according to the service process; the butt joint flow template comprises: interface information; a sequence of process steps; and test result data; status information;
the interface information comprises a network address of an application access mechanism; a port number; testing the time range;
the flow step sequence stores a business flow name, the name of each key node in the business flow, the last node of each node and the next node of each node; and the required jump condition at the current node; storing in a memory in a linked list form;
the test result data is used for storing the operation data of each node; the data comprises corresponding node names, operation result data and operation state data;
the state information refers to the current operation state of the docking process template, and includes success or failure of operation to a certain position, suspension, error reporting and the like.
Further, the self-service docking platform receives a docking process template selected by a user, and searches related test cases in the platform case library according to the name of the docking process template; matching to obtain a plurality of available cases;
the test cases comprise characteristic sequences, and the characteristic sequences are used for indicating key points of the cases;
for a plurality of available cases obtained by matching, the platform compares the flow step sequence of the butt joint flow template with the characteristic sequences of the plurality of available cases to find out the nodes in the flow step sequence, which are the same as the key points of the cases; the matching is realized by calculating the number of the same points of each node of the flow step sequence and the key points of the cases, and selecting the most similar case as a test case through automatic matching according to the sequence matching.
Further, for the most similar test case obtained by automatic matching selection, an examination and approval mechanism examines and approves part of projects, wherein the examination and approval mechanism modifies and adjusts part of projects, and the modification and approval include test time, test times and test client names; the method also comprises the steps of modifying the flow in the test case, specifically comprising the steps of adding and deleting the flow; exchanging the sequence of the steps; changing the branch trend of the step; and modifying the step execution action, condition and parameter; the confirmed docking template is automatically sent to a docking application organization personnel;
after receiving the modified test case, the personnel of the docking application mechanism modifies and adjusts the test case according to the actual situation, modifies the test parameters and index requirements in the case and feeds back the modified test case to the docking approval mechanism for confirmation; after the completion, the docking approval mechanism configures the network according to the platform guide; the network environment comprises an IP address, route configuration and port information of a test server of the docking mechanism, so that the route information can be matched with interface information of the application mechanism and is connected to test equipment of the application mechanism.
Further, the personnel of the docking application organization gradually performs docking tests according to platform guidance according to the docking test case schemes confirmed by the two parties; specifically, the platform reads test case data to obtain data of key points in a feature sequence in a test case, and executes each test step of a flow in a butt-joint test template in sequence according to a time sequence; the current state of the testing step is displayed on a testing equipment display of the docking application mechanism, and the testing is carried out by inputting case key point data;
according to the case test condition, test failure, test success and test error information occur, the case with test success is recorded, and the case is changed into a completion state.
Furthermore, according to the complexity of the business process, a docking test template is corresponded, and when each test case to be tested corresponding to the docking test template is in a completion state, the docking application mechanism can initiate an on-line application.
Has the advantages that:
the invention provides self-help guide for the butt joint test by providing the test function and testing cases and test data corresponding to various prefabricated process templates, replaces the function of a tester by a script, realizes the butt joint test of an automatic machine and the process guide monitoring, and realizes the automation of butt joint.
Drawings
Fig. 1 is a guiding test method for a docking case of a self-service system according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments, and all other embodiments obtained by a person skilled in the art based on the embodiments of the present invention belong to the protection scope of the present invention without creative efforts.
A self-service system docking case guide test method comprises the following steps:
step 1: the application access mechanism can select the confirmed and completed development and configuration butt joint flow template, initiate joint debugging test application and provide related network information;
step 2: the self-service docking platform automatically matches the test case library according to the docking process template, provides a basic docking test case scheme and sends the basic docking test case scheme to the docking approval mechanism for approval;
and step 3: the automatically matched butt joint test case scheme of the butt joint approval mechanism approval system is adjusted and confirmed on the scheme, a confirmed butt joint template is automatically sent to a butt joint application mechanism personnel, and the butt joint application mechanism personnel adjust according to actual conditions and feed back the butt joint approval mechanism to confirm; meanwhile, the docking approval mechanism configures a network environment according to platform guidance;
and 4, step 4: the personnel of the docking application mechanism carries out docking test step by step according to the docking test case scheme confirmed by the two parties and the platform guide, and the platform provides each process and case for the docking application mechanism to use by reference through the test data case; each time a docking case is completed, the case will become complete;
and 5: and when each test case is in a finished state, the docking application mechanism can initiate an on-line application.
Furthermore, the application access mechanism develops and configures different types of docking process templates according to the service process; the butt joint flow template comprises: interface information; a sequence of process steps; and test result data; status information;
the interface information comprises a network address of an application access mechanism; a port number; testing the time range;
the flow step sequence stores a business flow name, the name of each key node in the business flow, the last node of each node and the next node of each node; and the required jump condition at the current node; storing in a memory in a linked list form;
the test result data is used for storing the operation data of each node; the data comprises corresponding node names, operation result data and operation state data;
the state information refers to the current operation state of the docking process template, and includes success or failure of operation to a certain position, suspension, error reporting and the like.
Further, the self-service docking platform receives a docking process template selected by a user, and searches related test cases in the platform case library according to the name of the docking process template; matching to obtain a plurality of available cases;
the test cases comprise characteristic sequences, and the characteristic sequences are used for indicating key points of the cases;
for a plurality of available cases obtained by matching, the platform calculates the flow step sequence of the docking flow template and the characteristic sequence of the plurality of available cases; the matching is realized by calculating the number of the same points of each node of the flow step sequence and the key points of the cases, and selecting the most similar case as a test case through automatic matching according to the sequence matching.
Further, for the most similar test case obtained by automatic matching selection, an examination and approval mechanism examines and approves part of projects, wherein the examination and approval mechanism modifies and adjusts part of projects, and the modification and approval include test time, test times and test client names; the method also comprises the steps of modifying the flow in the test case, specifically comprising the steps of adding and deleting the flow; exchanging the sequence of the steps; changing the branch trend of the step; and modifying the step execution action, condition and parameter; the confirmed docking template is automatically sent to a docking application organization personnel;
after receiving the modified test case, the personnel of the docking application mechanism modifies and adjusts the test case according to the actual situation, modifies the test parameters and index requirements in the case, and feeds back the modified test case to the docking approval mechanism for confirmation; after the completion, the docking approval mechanism configures the network according to the platform guide; the network environment comprises an IP address, route configuration and port information of a test server of the docking mechanism, so that the route information can be matched with interface information of the application mechanism and is connected to test equipment of the application mechanism.
Further, the personnel of the docking application organization gradually performs docking tests according to platform guidance according to the docking test case schemes confirmed by the two parties; specifically, the platform reads test case data to obtain data of key points in a feature sequence in a test case, and executes each test step of a flow in a butt-joint test template in sequence according to a time sequence; the current state of the testing step is displayed on a testing equipment display of the docking application mechanism, and the testing is carried out by inputting case key point data;
according to the case test condition, test failure, test success and test error information occur, the case with test success is recorded, and the case is changed into a completion state.
Furthermore, according to the complexity of the business process, a docking test template is corresponded, and when each test case to be tested corresponding to the docking test template is in a completion state, the docking application mechanism can initiate an on-line application.
Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that changes, modifications, substitutions and alterations can be made in these embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (5)

1. A self-service system docking case guide test method is characterized by comprising the following steps:
step 1: the application access mechanism can select the confirmed and completed development and configuration butt joint flow template, initiate joint debugging test application and provide related network information;
step 2: the self-service docking platform automatically matches the test case library according to the docking process template, provides a basic docking test case scheme and sends the basic docking test case scheme to the docking approval mechanism for approval; the test cases comprise characteristic sequences, and the characteristic sequences are used for indicating key points of the cases;
for a plurality of available cases obtained by matching, the platform compares the flow step sequence of the butt joint flow template with the characteristic sequences of the plurality of available cases to find out the nodes in the flow step sequence, which are the same as the key points of the cases; the matching is realized by calculating the number of the same points of each node of the flow step sequence and the key points of the cases, and selecting the most similar case as a test case through automatic matching according to the sequence matching;
and step 3: the automatically matched butt joint test case scheme of the butt joint approval mechanism approval system is adjusted and confirmed on the scheme, a confirmed butt joint template is automatically sent to a butt joint application mechanism personnel, and the butt joint application mechanism personnel adjust according to actual conditions and feed back the butt joint approval mechanism to confirm; meanwhile, the docking approval mechanism configures a network environment according to platform guidance;
and 4, step 4: the personnel of the docking application mechanism carries out docking test step by step according to the docking test case scheme confirmed by the two parties and the platform guide, and the platform provides each process and case for the docking application mechanism to use by reference through the test data case; the platform reads the test case data to obtain the data of key points in the characteristic sequence in the test case, and each test step of the flow in the butt joint test template is executed in sequence according to the time sequence; the current state of the testing step is displayed on a testing equipment display of the docking application mechanism, and the testing is carried out by inputting case key point data; each time a docking case is completed, the case will become complete;
and 5: when each test case is in a completion state, the docking application mechanism can initiate an online application;
the step 1 specifically comprises:
the application access mechanism develops and configures different types of butt joint process templates according to the service process; the butt joint flow template comprises: interface information; a sequence of process steps; and test result data; status information;
the interface information comprises a network address of an application access mechanism; a port number; testing the time range;
the flow step sequence stores a business flow name, the name of each key node in the business flow, the last node of each node and the next node of each node; and the required jump condition at the current node; storing in a memory in a linked list form;
the test result data is used for storing the operation data of each node; the data comprises corresponding node names, operation result data and operation state data;
the state information refers to the current running state of the docking process template, and comprises success or failure of running to a certain position, suspension and error reporting.
2. The self-service system docking case guidance test method according to claim 1, wherein the step 2 specifically comprises:
the self-service docking platform receives a docking process template selected by a user, and searches related test cases in a platform case library according to the name of the docking process template; matching results in a plurality of available cases.
3. The self-service system docking case guidance test method according to claim 1, wherein the step 3 specifically comprises:
for the most similar test case obtained by automatic matching selection, the examining and approving mechanism examines and approves and modifies and adjusts part of projects, including test time, test times and test client names; the method also comprises the steps of modifying the flow in the test case, specifically comprising the steps of adding and deleting the flow; exchanging the sequence of the steps; changing the branch trend of the step; and modifying the step execution action, condition and parameter; the confirmed docking template is automatically sent to a docking application organization personnel;
after receiving the modified test case, the personnel of the docking application mechanism modifies and adjusts the test case according to the actual situation, modifies the test parameters and index requirements in the case and feeds back the modified test case to the docking approval mechanism for confirmation; after the completion, the docking approval mechanism configures the network according to the platform guide; the network environment comprises an IP address, route configuration and port information of a test server of the docking mechanism, so that the route information can be matched with interface information of the application mechanism and is connected to test equipment of the application mechanism.
4. The self-service system docking case guidance test method according to claim 1, wherein the step 4 specifically comprises:
the personnel of the docking application mechanism gradually performs docking tests according to the docking test case schemes confirmed by the two parties and platform guidance; in particular, the method comprises the following steps of,
according to the case test condition, test failure, test success and test error information occur, the case with test success is recorded, and the case is changed into a completion state.
5. The self-service system docking case guidance test method according to claim 1, wherein the step 5 specifically comprises:
and according to the complexity of the business process, corresponding to one butt joint test template, and when each test case to be tested corresponding to the butt joint test template is in a finished state, initiating an on-line application by a butt joint application mechanism.
CN201911330331.0A 2019-12-20 2019-12-20 Self-service system docking case guide test method Active CN111104329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911330331.0A CN111104329B (en) 2019-12-20 2019-12-20 Self-service system docking case guide test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911330331.0A CN111104329B (en) 2019-12-20 2019-12-20 Self-service system docking case guide test method

Publications (2)

Publication Number Publication Date
CN111104329A CN111104329A (en) 2020-05-05
CN111104329B true CN111104329B (en) 2021-03-16

Family

ID=70422831

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911330331.0A Active CN111104329B (en) 2019-12-20 2019-12-20 Self-service system docking case guide test method

Country Status (1)

Country Link
CN (1) CN111104329B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473175A (en) * 2013-09-11 2013-12-25 江苏中科梦兰电子科技有限公司 Extraction method for software testing case set
CN104407977A (en) * 2014-12-08 2015-03-11 北京航空航天大学 Model detection based automatic joint debugging test method for staged task system
CN106021479A (en) * 2016-05-18 2016-10-12 广东源恒软件科技有限公司 Project key index automatic association method and system
CN107844411A (en) * 2016-09-18 2018-03-27 阿里巴巴集团控股有限公司 A kind of method of testing and relevant apparatus
CN108446221A (en) * 2018-03-05 2018-08-24 平安普惠企业管理有限公司 System detection method, device, computer equipment and storage medium
CN109684205A (en) * 2018-12-12 2019-04-26 恒生电子股份有限公司 System detection method, device, electronic equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8117591B1 (en) * 2005-01-07 2012-02-14 Interactive TKO, Inc. Graphical model for test case viewing, editing, and reporting
US10127143B2 (en) * 2014-10-24 2018-11-13 International Business Machines Corporation Generating an evolving set of test cases
CN104679658B (en) * 2015-03-17 2018-11-13 百度在线网络技术(北京)有限公司 The test method and system of WEB page
CN109617755B (en) * 2018-11-22 2022-08-19 银清科技有限公司 Acceptance method and device of access system
CN110321291A (en) * 2019-07-12 2019-10-11 中国工商银行股份有限公司 Test cases intelligent extraction system and method
CN111026394B (en) * 2019-12-06 2020-12-15 光大兴陇信托有限责任公司 Method for carrying out flow docking by utilizing self-service docking platform

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473175A (en) * 2013-09-11 2013-12-25 江苏中科梦兰电子科技有限公司 Extraction method for software testing case set
CN104407977A (en) * 2014-12-08 2015-03-11 北京航空航天大学 Model detection based automatic joint debugging test method for staged task system
CN106021479A (en) * 2016-05-18 2016-10-12 广东源恒软件科技有限公司 Project key index automatic association method and system
CN107844411A (en) * 2016-09-18 2018-03-27 阿里巴巴集团控股有限公司 A kind of method of testing and relevant apparatus
CN108446221A (en) * 2018-03-05 2018-08-24 平安普惠企业管理有限公司 System detection method, device, computer equipment and storage medium
CN109684205A (en) * 2018-12-12 2019-04-26 恒生电子股份有限公司 System detection method, device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Systematically Testing and Diagnosing Responsiveness for Android Apps;Wenhua Zhao;《 2019 IEEE International Conference on Software Maintenance and Evolution (ICSME)》;20191004;449-453 *
移动联调测试引入自动化构思;吕振山;《电子技术及信息科学 计算机软件及计算机应用》;20151231;3-4 *

Also Published As

Publication number Publication date
CN111104329A (en) 2020-05-05

Similar Documents

Publication Publication Date Title
EP2778929B1 (en) Test script generation system
US7673179B2 (en) Online testing unification system with remote test automation technology
US9141519B2 (en) Accurate identification of software tests based on changes to computer software code
CN110083340A (en) Code generating method, device, computer equipment and storage medium
CN108345532A (en) A kind of automatic test cases generation method and device
CN111026394B (en) Method for carrying out flow docking by utilizing self-service docking platform
JP2001142738A (en) Scripter and interpreter
CN109933521A (en) Automated testing method, device, computer equipment and storage medium based on BDD
JPH08190587A (en) Simulation system for application process
EP3518441B1 (en) Test troubleshooting system and method
CN109726071A (en) System failure processing method, device, equipment and storage medium
CN109977012B (en) Joint debugging test method, device, equipment and computer readable storage medium of system
CN109472496A (en) Workflow construction method and device based on visualization guidance and automatic Verification
CN113312260A (en) Interface testing method, device, equipment and storage medium
CN111176974B (en) Disaster tolerance testing method and device, computer readable medium and electronic equipment
CN111104329B (en) Self-service system docking case guide test method
US20050203717A1 (en) Automated testing system, method and program product using testing map
CN111966665A (en) Data migration test method and device
CN112463585A (en) Solid state disk code testing method and system, storage medium and electronic equipment
CN115794639A (en) Visual test and visual simulation test system and method based on process
CN113126864A (en) Visual configuration method and device for approval process
CN109669868A (en) The method and system of software test
Carey Introduction to Automated Test Systems—Back to Basics
CN111078543B (en) System dynamic test method and test device
CN118295925A (en) Test case automatic generation method and system based on graphical interface tool

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