CN103064786A - Logic layer automatic test system based on multi-protocol support - Google Patents
Logic layer automatic test system based on multi-protocol support Download PDFInfo
- Publication number
- CN103064786A CN103064786A CN2012105445750A CN201210544575A CN103064786A CN 103064786 A CN103064786 A CN 103064786A CN 2012105445750 A CN2012105445750 A CN 2012105445750A CN 201210544575 A CN201210544575 A CN 201210544575A CN 103064786 A CN103064786 A CN 103064786A
- Authority
- CN
- China
- Prior art keywords
- module
- test
- service
- data
- integration module
- 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
Links
Images
Abstract
The invention relates to a logic layer automatic test system based on multi-protocol support. The test system comprises a test language and script application module, a multi-protocol integration module, a multi test script language integration module and a test service integration module. The test language and script application module is used for receiving call of an external test application system, feeding back corresponding test language data and script data to a test application system and transmitting a call indication to call test language data. The system achieves multi-protocol integration, achieves the effect that unified news form is provided for the external. Form package can be conducted on various script languages due to integration of the multi test script language to achieve form integration, and utilization of residual test script resources is well achieved. The problem of function call of the test system is well resolved due to integration of test service, and test efficiency is improved. Cloud model expansion of the test system is dynamically and effectively achieved.
Description
Technical field
The present invention relates to a kind of logical layer automatization test system that supports based on multi-protocols.
Background technology
Development along with China's Software Industry, software quality is subject to increasing attention, therefore, the importance of software test becomes increasingly conspicuous, the workload of software test is increasing, software test is the work that complicacy is higher, difficulty is larger, and this is the important difficult problem that the computerite faces at present.
The multiplexing of measuring technology and method shortened test period improving software testing quality, improves the coverage rate of software test, all plays a very important role.How avoiding the work of repetition in software development and test, improve the accuracy rate of Efficiency of Software Testing and software evaluation, then is to realize by the multiplexing of software engineering.
Summary of the invention
Technical matters to be solved by this invention is for for the deficiencies in the prior art, and a kind of logical layer automatization test system based on the multi-protocols support that can support the testing requirement of BOSS system is provided.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: a kind of logical layer automatization test system that supports based on multi-protocols comprises test language and script applications module, multi-protocols integration module, many test scripts language integration module and testing service integration module;
Described test language and script applications module, be used for to receive calling and feeding back corresponding test language data and script data to the Test Application system of external testing application system, and send call instruction and call protocol data in the multi-protocols integration module and the test language data in many test scripts language integration module;
Described multi-protocols integration module, be used for to preserve at least one protocol data and with protocol data resolve, change, encapsulation and unified call, and protocol data corresponding to the call instruction feedback that sends according to test language and script applications module be to test language and script applications module, and the agreement after the application testing service call instruction transmission that further is sent to according to the testing service integration module encapsulates is to the testing service integration module;
Described many test scripts language integration module is used for preserving script data, and script data is carried out the merit encapsulation, and the call instruction that is sent to according to described test language script applications module and testing service integration module feeds back corresponding data;
Described testing service integration module sends call instruction at the most protocol integration module and many test scripts language integration module, receive tunneling data and the encapsulation script data of feedback, and serve conversion, management and encapsulation, and the service data after will encapsulating according to the call instruction of system under test (SUT) is sent to system under test (SUT).
The invention has the beneficial effects as follows: system of the present invention has realized the integrated of multi-protocols, and having finished externally provides unified form of message; Many test scripts language integrated can carry out the form encapsulation to multiple script, and way of realization is integrated, has solved well the utilization of leaving over the test script resource; Testing service integrated solved well to test macro funcall problem, improved the efficient of test; The cloud mode expansion has realized the expansion of dynamic test macro cloud mode effectively.
On the basis of technique scheme, the present invention can also do following improvement.
Further, described many test scripts language integration module comprises function package and language encapsulation to the encapsulation of script data.
Further, also comprise the measurement system interface of being located between tested service integration module and the system under test (SUT), described testing service integration module receives the call instruction of system under test (SUT) by measurement system interface, and sends corresponding service data to system under test (SUT) by measurement system interface.
Further, described testing service integration module comprises service modular converter, service encapsulates module, service management module, soap Simple Object Access Protocol package module and service unified call module;
Described service modular converter is changed the script data that many test scripts language integration module is sent to, and the data after will changing are sent to the service encapsulates module;
The data that described service encapsulates module will be served after the conversion that modular converter is sent to are packaged into service data, and the service data after will encapsulating is sent to service management module;
Described service management module storage is also managed the data that are sent to from the service encapsulates module, and the call instruction that described data based service unified call module is sent to is sent corresponding data to serving the unified call module;
Described soap Simple Object Access Protocol package module further encapsulates the protocol data that the multi-protocols integration module is sent to, and the call instruction that is sent to according to service unified call module sends corresponding protocol data to serving the unified call module;
Described service unified call module sends call instruction to service management module and soap Simple Object Access Protocol package module, receive the corresponding data of service management module and soap Simple Object Access Protocol package module feedback, and according to the call instruction of system under test (SUT) the data of correspondence are sent to system under test (SUT).
Further, also comprise the testing service calling interface that is arranged between multi-protocols integration module and many test scripts language integration module and the testing service integration module, described testing service integration module sends call instruction at the most protocol integration module and many test scripts language integration module by the testing service calling interface, and the data transmission of multi-protocols integration module and many test scripts language integration module being fed back by the testing service calling interface is to the testing service integration module.
The business support type:
● the DCC protocol simulator
-SGW system, OCS system, ABM system, HSS system, RS system, mobile owing risk control system, Intelligent data exchange platform.
● the Tuxedo protocol simulator
-SGW system, financial management system, ABM system, CRM_BP layer, CRM_Service layer, fare payment system, service Integrated Management Platform, BASD_TUX resource interface.
● the EJB simulator
-resource management system.
● the WebService simulator
-resource management system, SGW system (soap protocol function), service Integrated Management Platform, palm Room system.
● SMPP, CMPP, SGIP simulator
-weak point Room system, OCS system (note)
● the multiple format ticket simulators such as ASN.1
-Billing pretreatment system, wholesale price system, accounting processing system
Test script language form:
● C Plus Plus
● C# language
● the TCL language
● the JAVA language
● the Ruby language
● Python
The interface protocol supporting type:
● the DCC agreement
● the SMPP agreement
● the SGIP agreement
● the SMPP agreement
● the EJB agreement
● the TUXEDO agreement
● soap protocol
● the ticket quasi-protocols such as ASN.1
● a card fills agreement
● the SCSP agreement
The test pattern supporting type:
● based on the integration testing of EJB construction system
● the module testing of UML-based
● the system interface test that XML-based is described
● based on the component testing of scene
● the component-based software test
● based on the test of Service-Oriented Architecture Based application
● automatic regression test
● the NGOSS uniformity test
Description of drawings
Fig. 1 is the structured flowchart of the described a kind of logical layer automatization test system that supports based on multi-protocols of the specific embodiment of the invention 1;
Fig. 2 is that the specific embodiment of the invention 2 is described a kind of based on the testing service integration module structured flowchart in the logical layer automatization test system of multi-protocols support.
In the accompanying drawing, the list of parts of each label representative is as follows:
1, test language and script applications module, 2, multi-protocols integration module, 3, many test scripts language integration module, 4 testing service integration modules, 5, measurement system interface, 6, testing service calling interface, 41, service modular converter, 42, the service encapsulates module, 43, service management module, 44, soap Simple Object Access Protocol package module, 45, service unified call module.
Embodiment
Below in conjunction with accompanying drawing principle of the present invention and feature are described, institute gives an actual example and only is used for explaining the present invention, is not be used to limiting scope of the present invention.
As shown in Figure 1, the specific embodiment of the invention 1 described a kind of logical layer automatization test system that supports based on multi-protocols comprises test language and script applications module 1, multi-protocols integration module 2, many test scripts language integration module 3 and testing service integration module 4;
Described test language and script applications module 1, receive calling and feeding back corresponding test language data and script data to the external testing application system of external testing application system, and send call instruction and call protocol data in the multi-protocols integration module 2 and the test language data in many test scripts language integration module 3;
Described multi-protocols integration module 2 be used for preserving at least one protocol data and with protocol data resolve, change, encapsulation and unified call, and protocol data corresponding to the call instruction feedback that sends according to test language and script applications module 1 be to test language and script applications module 1, and the agreement after the application testing service call instruction transmission that further is sent to according to testing service integration module 4 encapsulates is to testing service integration module 4;
Described many test scripts language integration module 3 is used for preserving script data, and script data is carried out the merit encapsulation, and the call instruction that is sent to according to described test language script applications module and testing service integration module 1 feeds back corresponding data;
Described testing service integration module 4 sends call instruction at the most protocol integration module 2 and many test scripts language integration module 3, receive tunneling data and the encapsulation script data of feedback, and serve conversion, management and encapsulation, and the service data after will encapsulating according to the call instruction of system under test (SUT) is sent to system under test (SUT).
The encapsulation of 4 pairs of script datas of described many test scripts language integration module comprises function package and language encapsulation.
Also comprise the measurement system interface 5 of being located between tested service integration module 4 and the system under test (SUT), described testing service integration module 4 receives the call instruction of system under test (SUT) by measurement system interface 5, and passes through service data corresponding to measurement system interface 5 transmissions to system under test (SUT).
Also comprise the testing service calling interface 6 that is arranged between multi-protocols integration module 2 and many test scripts language integration module 3 and the testing service integration module 4, described testing service integration module 4 sends call instructions at the most protocol integration module 2 and many test scripts language integration module 3 by testing service calling interface 6, and the data transmission of multi-protocols integration module 2 and many test scripts language integration module 3 being fed back by testing service calling interface 6 is to testing service integration module 4.
As shown in Figure 2, the specific embodiment of the invention 2 is described a kind of based on the testing service integration module structural drawing in the logical layer automatization test system of multi-protocols support, and described testing service integration module comprises service modular converter 41, service encapsulates module 42, service management module 43, soap Simple Object Access Protocol package module 44 and service unified call module 45;
Described service modular converter 41 is changed the script data that many test scripts language integration module 3 is sent to, and the data after will changing are sent to service encapsulates module 42;
The data that described service encapsulates module 42 will be served after the conversion that modular converter 41 is sent to are packaged into service data, and the service data after will encapsulating is sent to service management module 43;
Described service management module 43 storages are also managed the data that are sent to from service encapsulates module 42, and the call instruction that described data based service unified call module is sent to is sent corresponding data to serving unified call module 45;
Described soap Simple Object Access Protocol package module 44 further encapsulates the protocol data that multi-protocols integration module 2 is sent to, and the call instruction that is sent to according to service unified call module sends corresponding protocol data to serving unified call module 45;
Described service unified call module 45 sends call instruction to service management module 43 and soap Simple Object Access Protocol package module 44, receive the corresponding data of service management module 43 and soap Simple Object Access Protocol package module 44 feedbacks, and according to the call instruction of system under test (SUT) the data of correspondence are sent to system under test (SUT).
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. a logical layer automatization test system that supports based on multi-protocols is characterized in that, comprises test language and script applications module, multi-protocols integration module, many test scripts language integration module and testing service integration module;
Described test language and script applications module, be used for to receive calling and feeding back corresponding test language data and script data to the Test Application system of external testing application system, and send call instruction and call protocol data in the multi-protocols integration module and the test language data in many test scripts language integration module;
Described multi-protocols integration module, be used for to preserve at least one protocol data and with protocol data resolve, change, encapsulation and unified call, and protocol data corresponding to the call instruction feedback that sends according to test language and script applications module be to test language and script applications module, and the agreement after the application testing service call instruction transmission that further is sent to according to the testing service integration module encapsulates is to the testing service integration module;
Described many test scripts language integration module is used for preserving script data, and script data is carried out the merit encapsulation, and the call instruction that is sent to according to described test language script applications module and testing service integration module feeds back corresponding data;
Described testing service integration module, send call instruction at the most protocol integration module and many test scripts language integration module, receive tunneling data and the encapsulation script data of feedback, and serve conversion, management and encapsulation, and the service data after will encapsulating according to the call instruction of system under test (SUT) is sent to system under test (SUT).
2. described a kind of logical layer automatization test system that supports based on multi-protocols according to claim 1 is characterized in that described many test scripts language integration module comprises function package and language encapsulation to the encapsulation of script data.
3. described a kind of logical layer automatization test system that supports based on multi-protocols according to claim 2, it is characterized in that, also comprise the measurement system interface of being located between tested service integration module and the system under test (SUT), described testing service integration module receives the call instruction of system under test (SUT) by measurement system interface, and sends corresponding service data to system under test (SUT) by measurement system interface.
4. each described a kind of logical layer automatization test system that supports based on multi-protocols according to claim 1-3, it is characterized in that described testing service integration module comprises service modular converter, service encapsulates module, service management module, soap Simple Object Access Protocol package module and service unified call module;
Described service modular converter is changed the script data that many test scripts language integration module is sent to, and the data after will changing are sent to the service encapsulates module;
The data that described service encapsulates module will be served after the conversion that modular converter is sent to are packaged into service data, and the service data after will encapsulating is sent to service management module;
Described service management module is used for the data that storage and management service package module are sent to, and the call instruction transmission corresponding data that will described data based service unified call module be sent to is to serving the unified call module;
Described soap Simple Object Access Protocol package module further encapsulates the protocol data that the multi-protocols integration module is sent to, and the call instruction that is sent to according to service unified call module sends corresponding protocol data to serving the unified call module;
Described service unified call module sends call instruction to service management module and soap Simple Object Access Protocol package module, receive the corresponding data of service management module and soap Simple Object Access Protocol package module feedback, and according to the call instruction of system under test (SUT) the data of correspondence are sent to system under test (SUT).
5. described a kind of logical layer automatization test system that supports based on multi-protocols according to claim 4, it is characterized in that, also comprise the testing service calling interface that is arranged between multi-protocols integration module and many test scripts language integration module and the testing service integration module, described testing service integration module sends call instruction at the most protocol integration module and many test scripts language integration module by the testing service calling interface, and the data transmission of multi-protocols integration module and many test scripts language integration module being fed back by the testing service calling interface is to the testing service integration module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210544575.0A CN103064786B (en) | 2012-12-14 | 2012-12-14 | A kind of logical layer automatization test system supported based on multi-protocols |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210544575.0A CN103064786B (en) | 2012-12-14 | 2012-12-14 | A kind of logical layer automatization test system supported based on multi-protocols |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103064786A true CN103064786A (en) | 2013-04-24 |
CN103064786B CN103064786B (en) | 2016-08-03 |
Family
ID=48107419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210544575.0A Active CN103064786B (en) | 2012-12-14 | 2012-12-14 | A kind of logical layer automatization test system supported based on multi-protocols |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103064786B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309778A (en) * | 2013-06-05 | 2013-09-18 | 苏州惠瑞自动化集成有限公司 | Automatic test system with different test scripts |
CN106302025A (en) * | 2016-08-22 | 2017-01-04 | 腾讯科技(深圳)有限公司 | The automated testing method of communication protocol and device |
CN108768715A (en) * | 2018-05-22 | 2018-11-06 | 烽火通信科技股份有限公司 | Access the business configuration adaptation method and system of webmaster |
CN110769005A (en) * | 2019-11-11 | 2020-02-07 | 交控科技股份有限公司 | Multi-professional multi-system multi-protocol data acquisition method for rail transit |
CN112769592A (en) * | 2020-12-09 | 2021-05-07 | 北京思特奇信息技术股份有限公司 | Communication monitoring method between distributed OCS system and network element |
CN112835792A (en) * | 2021-01-27 | 2021-05-25 | 湖南快乐阳光互动娱乐传媒有限公司 | Pressure testing system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5771276A (en) * | 1995-10-10 | 1998-06-23 | Ast Research, Inc. | Voice templates for interactive voice mail and voice response system |
CN1937461A (en) * | 2006-09-22 | 2007-03-28 | 中国移动通信集团公司 | Terminal test device based on terminal management business |
CN101123616A (en) * | 2007-09-28 | 2008-02-13 | 北京金山软件有限公司 | A server management method and a server management system |
CN101216804A (en) * | 2008-01-14 | 2008-07-09 | 中兴通讯股份有限公司 | Testing device and method |
CN101834845A (en) * | 2010-03-26 | 2010-09-15 | 南京联创科技集团股份有限公司 | SOAP client protocol encapsulating method based on TCP short connection |
-
2012
- 2012-12-14 CN CN201210544575.0A patent/CN103064786B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5771276A (en) * | 1995-10-10 | 1998-06-23 | Ast Research, Inc. | Voice templates for interactive voice mail and voice response system |
CN1937461A (en) * | 2006-09-22 | 2007-03-28 | 中国移动通信集团公司 | Terminal test device based on terminal management business |
CN101123616A (en) * | 2007-09-28 | 2008-02-13 | 北京金山软件有限公司 | A server management method and a server management system |
CN101216804A (en) * | 2008-01-14 | 2008-07-09 | 中兴通讯股份有限公司 | Testing device and method |
CN101834845A (en) * | 2010-03-26 | 2010-09-15 | 南京联创科技集团股份有限公司 | SOAP client protocol encapsulating method based on TCP short connection |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103309778A (en) * | 2013-06-05 | 2013-09-18 | 苏州惠瑞自动化集成有限公司 | Automatic test system with different test scripts |
CN106302025A (en) * | 2016-08-22 | 2017-01-04 | 腾讯科技(深圳)有限公司 | The automated testing method of communication protocol and device |
CN106302025B (en) * | 2016-08-22 | 2021-06-08 | 腾讯科技(深圳)有限公司 | Automatic testing method and device for communication protocol |
CN108768715A (en) * | 2018-05-22 | 2018-11-06 | 烽火通信科技股份有限公司 | Access the business configuration adaptation method and system of webmaster |
CN110769005A (en) * | 2019-11-11 | 2020-02-07 | 交控科技股份有限公司 | Multi-professional multi-system multi-protocol data acquisition method for rail transit |
CN112769592A (en) * | 2020-12-09 | 2021-05-07 | 北京思特奇信息技术股份有限公司 | Communication monitoring method between distributed OCS system and network element |
CN112835792A (en) * | 2021-01-27 | 2021-05-25 | 湖南快乐阳光互动娱乐传媒有限公司 | Pressure testing system and method |
Also Published As
Publication number | Publication date |
---|---|
CN103064786B (en) | 2016-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103064786B (en) | A kind of logical layer automatization test system supported based on multi-protocols | |
CN109460223B (en) | API gateway management system and method thereof | |
CN102158482B (en) | JSON (JavaScript Object Notation) data protocol based passenger transport information communication method and system | |
CN102945287B (en) | JSP data automatic paging JSTL stamp methods | |
CN109359031B (en) | Multi-device application program testing method and device, server and storage medium | |
CN103297453B (en) | Realize method, browser end and the system of instant messaging | |
CN105183299A (en) | Human-computer interface service processing system and method | |
CN102916854A (en) | Traffic statistical method and device and proxy server | |
CN106686021B (en) | Service calling method and gateway | |
CN111221729B (en) | Automatic testing method and system for separating platform service from testing service | |
CN107318098A (en) | A kind of terminal control method, SIM cards, communication module and terminal | |
CN105450731A (en) | Method and apparatus for realizing communication between web layer and native layer | |
CN103544060B (en) | A kind of service dispatch system and method based on WEBSERVICE | |
CN114205230A (en) | Method, system, medium and electronic device for configuring cloud native network element | |
CN102520927A (en) | Method, device and terminal for generation logic business of embedded terminal | |
CN102711070B (en) | On-line charging simulation testing system and method | |
CN102324076A (en) | Unification all-purpose card payment system based on cloud calculation and method thereof | |
CN102932484B (en) | IOT (Internet of Things) operation billing middleware system aiming at accounting system of telecom operator | |
CN101321178A (en) | Portal workflow engine system and its implementing method | |
CN105704253A (en) | Method for acquiring host resources and device and system thereof | |
CN105260179A (en) | Method for achieving flex and servlet interaction | |
CN102594587B (en) | Embedded WEB debugging and testing maintenance method and debugging and testing maintenance system | |
CN109190969A (en) | Weighing-appliance management-control method, system, weighing-appliance management middleware and medium | |
CN104142942A (en) | Mass heterogeneous data accessing and standardization method | |
CN115269216A (en) | Performance analysis system and method for distributed system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |