CN103324574A - SOA software regression testing method - Google Patents

SOA software regression testing method Download PDF

Info

Publication number
CN103324574A
CN103324574A CN2013102915706A CN201310291570A CN103324574A CN 103324574 A CN103324574 A CN 103324574A CN 2013102915706 A CN2013102915706 A CN 2013102915706A CN 201310291570 A CN201310291570 A CN 201310291570A CN 103324574 A CN103324574 A CN 103324574A
Authority
CN
China
Prior art keywords
serviced component
soa
regression
soa software
regression test
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
CN2013102915706A
Other languages
Chinese (zh)
Other versions
CN103324574B (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.)
Hubei University of Arts and Science
Original Assignee
Hubei University of Arts and Science
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 Hubei University of Arts and Science filed Critical Hubei University of Arts and Science
Priority to CN201310291570.6A priority Critical patent/CN103324574B/en
Publication of CN103324574A publication Critical patent/CN103324574A/en
Application granted granted Critical
Publication of CN103324574B publication Critical patent/CN103324574B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the computer field, in particular to an SOA software regression testing method. The method comprises the steps that an SOA software development terminal searches for a service component which can meet requirements; the SOA development terminal sends a subscription regression testing notification to a service component provider corresponding to the service component which meets the requirements; after the service component provider receives the subscription regression testing notification, a subscription notification list is maintained; in the process of running SOA software, the SOA development terminal asynchronously receives a regression testing notification issued by the service component provider; after receiving the regression testing notification issued by the service component provider, the SOA software development terminal immediately executes a regression test or complies with an agreed time to execute the regression test. According to the SOA software regression testing method, an SOA software regression testing mechanism is established, workload of people is effectively reduced, and difference between time for executing the regression test and time for updating the service component is shortened. Quality of the whole SOA software is guaranteed to conform to user requirements, and development cost is saved.

Description

A kind of SOA software regression testing method
Technical field
The present invention relates to computer realm, in particular to a kind of SOA software regression testing method.
Background technology
At present, in SOA(Service Oriented Architecture, service-oriented architecture) in the software development process, when the serviced component that not controlled by SOA software development end upgrades and stops using, still use the advice methods such as traditional phone, mail.When serviced component upgrades and safeguards comparatively frequent, when perhaps using the SOA exploitation end of this serviced component many, serviced component (Service Component) exploitation end is notified SOA exploitation end, more time-consuming, effort by modes such as traditional phone, mails.
SOA software development end is dynamic process to the use of serviced component, may have new user and add to come in, and user originally also may stop using this serviced component, safeguards that a serviced component user's contact list is comparatively difficult.
Summary of the invention
The object of the present invention is to provide a kind of SOA software regression testing method, be intended to solve prior art and have the problems referred to above.
A kind of SOA software regression testing method is provided in an embodiment of the present invention, and described method comprises:
The serviced component that the search of SOA software development end can meet the demands;
SOA software development end provides end to send to serviced component corresponding to the serviced component that meets the demands and subscribes to the regression test notice;
After serviced component provided termination to receive described subscription regression test notice, tabulation was safeguarded to subscribing notification;
In the SOA software running process, the asynchronous reception serviced component of SOA software development end provides the regression test notice of end issue;
After the regression test that receiving serviced component provides end to issue was notified, SOA software development end was carried out immediately or is abideed by the designated time and carry out regression test.
Further, described method also comprises:
Serviced component provides end before serviced component is provided, and safeguards a regression test notice subscription list.
Further, described method also comprises:
Serviced component provides end issuing service assembly.
Further, described method also comprises:
Serviced component provides the end periodic test whether the subscription change request is arranged, if new regression test subscribe request is arranged, its information is added regression test notice subscription list, if the request of cancelling subscriptions is deleted it from subscription list.
Further, described method also comprises:
Whether check has the serviced component update notification to need issue.
Further, described method also comprises:
Serviced component provides end to notify to each the subscription end issue regression test in the tabulation of regression test notice.
Further, the step of the described SOA software development end search serviced component that can meet the demands also comprises:
Search services assembly, and the information of collecting serviced component;
According to the information of the serviced component of collecting, judge whether this serviced component can meet the demands
SOA software regression testing method in the present invention, by being provided at serviced component, end safeguards the tabulation of regression test notice, set up a kind of standard, open SOA software regression testing mechanism, effectively reduce the workload of artificial execution, shortened the mistiming between the renewal of regression test execution and serviced component.The quality of guaranteeing whole SOA software meets customer requirements, has saved cost of development.
Description of drawings
Fig. 1 is the regression test process flow diagram of the SOA software development end that provides of the embodiment of the invention;
Fig. 2 is the process flow diagram that serviced component that the embodiment of the invention provides provides end;
Fig. 3 is that SOA software development end and the serviced component that the embodiment of the invention provides provides end direct communication schematic diagram;
Fig. 4 is the agent advertisement pattern diagram that the SOA software development end that provides of the embodiment of the invention and serviced component provide end.
Embodiment
Also by reference to the accompanying drawings the present invention is described in further detail below by specific embodiment.
If SOA software development end determines the whole self-developings of all serviced components, or the serviced component that adopts enterprise or organization internal to develop fully, then do not enter following flow process.When determining to adopt third party's serviced component to carry out the SOA software development, SOA software development end need to adopt following methods:
Fig. 1 shows the regression test flow process of the SOA software development end that the embodiment of the invention provides, and details are as follows:
In step S101, search services assembly, and the information of collecting serviced component.
In the present embodiment, can pass through network or UDDI(Universal Description when searching serviced component, Discovery and Integration, universal description, discovery and Integration Services) or other modes (serviced component that upstream or downstream manufacturers provide and this SOA software system integration) find serviced component.
Collect the information of serviced component by WSDL (Web Services Description Language), such as service interface, the argument sequence that need to provide (type that comprises each parameter, the result's that the order of parameter and service are returned form).
In step S102, according to the information of the serviced component of collecting, judge whether this serviced component can meet the demands.
Can serviced component meet the demands mainly is to judge whether serviced component can provide required function and performance.If required function and performance can be provided, execution in step S103 then, otherwise, return step S101 and continue the search services assembly.
In step S103, the provide end corresponding to the serviced component that meets the demands sends subscription regression test notice.
Subscription regression test notice mails to serviced component from SOA software development end provides end, provides end that subscribing notification is tabulated by serviced component and safeguards.After subscribing notification sent, SOA exploitation end namely can normally use this serviced component.
In step S104, the normal serviced component that uses is rectified in the SOA software development.
In step S105, in the SOA software running process, SOA software development end needs asynchronous reception serviced component that the regression test notice of end issue is provided.
In step S106, after the regression test that receiving serviced component provides end to issue was notified, SOA software development end can be carried out immediately or abide by serviced component provided the time of holding reservation execution regression test.
After test is passed through, change step S104 over to, namely normally use serviced component.If test is not passed through, then notify managerial personnel by certain mode, determine how to take action by it according to company's workflow.
The serviced component that Fig. 2 shows the embodiment of the invention to be provided provides the flow process of end, and details are as follows:
In step S201, serviced component provides end before serviced component is provided, and safeguards a regression test notice subscription list.
Do not having before the serviced component use side subscribes to, regression test notice subscription list initially can be sky.
In step S202, serviced component provides end issuing service assembly.
In the present invention, can come the issuing service assembly by UDDI or other modes.
In step S203, whether periodic test has the subscription change request, if new regression test subscribe request is arranged, its information is added regression test notice subscription list.If the request of cancelling subscriptions, the request that then cancels subscriptions is deleted it from subscription list.
Whether in step S204, checking has the serviced component update notification to need issue.
This serviced component update notification is issued before serviced component upgrades or afterwards by the system manager.If there is notice to need issue, change S205 over to, otherwise, regularly repeat this step.
Step S205, serviced component provide end to notify to each the subscription end issue regression test in the tabulation of regression test notice.
Relating to serviced component among the present invention provides end, and serviced component user (being the SOA system), both sides carry out regression test by asynchronous system and subscribe to, cancel subscriptions, and the notice issue.The process that cancels subscriptions and Fig. 1 are similar, and no longer accompanying drawing is given unnecessary details.
Serviced component provides the asynchronous communication between end and the serviced component user can adopt two kinds of patterns as shown in Figure 3 and Figure 4 to carry out.
Consulting Fig. 3, is that SOA software development end and the serviced component that the embodiment of the invention provides provides end direct communication schematic diagram,
In the present embodiment, SOA software development end and serviced component provide between the end and directly communicate, and do not need the third party to carry out transfer.
Consulting Fig. 4, is the agent advertisement pattern diagram that the SOA software development end that provides of the embodiment of the invention and serviced component provide end.This agent advertisement pattern then needs to act on behalf of the release tasks of notify party being carried out the regression test notice, and the processing load of end is provided to alleviate assembly.This pattern is suitable for the scene that has a large amount of notice tasks to issue.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and be carried out by calculation element, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.The software class invention can have this section words, otherwise deletion.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. a SOA software regression testing method is characterized in that, described method comprises:
The serviced component that the search of SOA software development end can meet the demands;
SOA software development end provides end to send to serviced component corresponding to the serviced component that meets the demands and subscribes to the regression test notice;
After serviced component provided termination to receive described subscription regression test notice, tabulation was safeguarded to subscribing notification;
In the SOA software running process, the asynchronous reception serviced component of SOA software development end provides the regression test notice of end issue;
After the regression test that receiving serviced component provides end to issue was notified, SOA software development end was carried out immediately or is abideed by the designated time and carry out regression test.
2. SOA software regression testing method according to claim 1 is characterized in that, described method also comprises:
Serviced component provides end before serviced component is provided, and safeguards a regression test notice subscription list.
3. SOA software regression testing method according to claim 1 is characterized in that, described method also comprises:
Serviced component provides end issuing service assembly.
4. SOA software regression testing method according to claim 1 is characterized in that, described method also comprises:
Serviced component provides the end periodic test whether the subscription change request is arranged, if new regression test subscribe request is arranged, its information is added regression test notice subscription list, if the request of cancelling subscriptions is deleted it from subscription list.
5. SOA software regression testing method according to claim 1 is characterized in that, described method also comprises:
Whether check has the serviced component update notification to need issue.
6. SOA software regression testing method according to claim 1 is characterized in that, described method also comprises:
Serviced component provides end to notify to each the subscription end issue regression test in the tabulation of regression test notice.
7. SOA software regression testing method according to claim 1 is characterized in that, the step of the serviced component that the search of described SOA software development end can meet the demands also comprises:
Search services assembly, and the information of collecting serviced component;
According to the information of the serviced component of collecting, judge whether this serviced component can meet the demands.
CN201310291570.6A 2013-07-11 2013-07-11 A kind of SOA software regression testing method Expired - Fee Related CN103324574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310291570.6A CN103324574B (en) 2013-07-11 2013-07-11 A kind of SOA software regression testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310291570.6A CN103324574B (en) 2013-07-11 2013-07-11 A kind of SOA software regression testing method

Publications (2)

Publication Number Publication Date
CN103324574A true CN103324574A (en) 2013-09-25
CN103324574B CN103324574B (en) 2016-06-01

Family

ID=49193333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310291570.6A Expired - Fee Related CN103324574B (en) 2013-07-11 2013-07-11 A kind of SOA software regression testing method

Country Status (1)

Country Link
CN (1) CN103324574B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257290A (en) * 2017-05-15 2017-10-17 中国电力科学研究院 A kind of method of testing and system of open SOA Service-Oriented Architecture Baseds

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267645A (en) * 2008-02-29 2008-09-17 中兴通讯股份有限公司 Automatic test method and system for service flow software development of W base station
US20100125618A1 (en) * 2008-11-17 2010-05-20 Hewlett-Packard Development Company, L.P. Integrated soa deployment and management system and method for software services

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101267645A (en) * 2008-02-29 2008-09-17 中兴通讯股份有限公司 Automatic test method and system for service flow software development of W base station
US20100125618A1 (en) * 2008-11-17 2010-05-20 Hewlett-Packard Development Company, L.P. Integrated soa deployment and management system and method for software services

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吉向东: "面向服务架构开发中的回归测试模型", 《测控技术》, vol. 30, no. 6, 30 June 2011 (2011-06-30) *
张元等: "网络化测试系统中问件的研究与设计", 《计算机工程与设计》, 30 June 2009 (2009-06-30) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257290A (en) * 2017-05-15 2017-10-17 中国电力科学研究院 A kind of method of testing and system of open SOA Service-Oriented Architecture Baseds

Also Published As

Publication number Publication date
CN103324574B (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN107729139B (en) Method and device for concurrently acquiring resources
CN110795486A (en) Micro-service platform
CN109840144B (en) Information service scheduling method and system for cross-mechanism batch service request
CN106201672A (en) A kind of timed task arranges system and timed task operation method thereof
US8205202B1 (en) Management of processing threads
CN101277212B (en) Resource management platform and resource management method
US9317323B2 (en) Dynamic execution log in a distributed system
CN102404149B (en) Management system and method of service characteristics
CN113422842A (en) Distributed power utilization information data acquisition system considering network load
CN111208992A (en) System scheduling workflow generation method and system
CN108228274B (en) Method for realizing airborne distributed task dynamic allocation and dynamic construction technology
CN101276269B (en) Expandable resource management platform
CN111813503A (en) Micro-service application open system based on container cloud
CN107632885A (en) The readjustment management method and device of inter-module
KR20140063688A (en) Scale-out system to acquire event data
CN111309691A (en) Data sharing exchange system and exchange method based on bus architecture
CN105635231A (en) Calling method and apparatus of distributed system
Abreu et al. Specifying and composing interaction protocols for service-oriented system modelling
CN114697232B (en) System and method for acquiring index data of Skywalk probe and electronic equipment
CN114615096A (en) Telecommunication charging method, system and related equipment based on event-driven architecture
CN101551758B (en) System and method for implementing paralleling work of device management and tasks
CN102147887A (en) Enterprise electronic commerce information flow management system
CN103324574A (en) SOA software regression testing method
CN111190731A (en) Cluster task scheduling system based on weight
CN114564249B (en) Recommendation scheduling engine, recommendation scheduling method and computer readable storage medium

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160601

Termination date: 20170711