CN103324574B - A kind of SOA software regression testing method - Google Patents

A kind of SOA software regression testing method Download PDF

Info

Publication number
CN103324574B
CN103324574B CN201310291570.6A CN201310291570A CN103324574B CN 103324574 B CN103324574 B CN 103324574B CN 201310291570 A CN201310291570 A CN 201310291570A CN 103324574 B CN103324574 B CN 103324574B
Authority
CN
China
Prior art keywords
service assembly
soa software
regression
regression test
soa
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.)
Expired - Fee Related
Application number
CN201310291570.6A
Other languages
Chinese (zh)
Other versions
CN103324574A (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

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention relates to computer realm, it relates to a kind of SOA software regression testing method, comprising: SOA Software development end search can meet the service assembly of requirement; SOA Software development end sends to the service assembly providing end that the service assembly of satisfied requirement is corresponding and subscribes to regression test notice; Service assembly providing end receives after subscribing to regression test notice, subscribing notification list is safeguarded; In SOA software running process, the regression test notice that SOA Software development end Asynchronous Reception service assembly providing end is issued; After receiving the regression test notice issued service assembly providing end, SOA Software development end performs immediately or performs regression test in accordance with the designated time. It is machine-processed that the present invention establishes a kind of SOA software regression testing, effectively reduces the workload of artificial execution, shortens regression test and performs the time difference between service assembly renewal. Guarantee that the quality of whole SOA software meets user's requirement, save cost of development.

Description

A kind of SOA software regression testing method
Technical field
The present invention relates to computer realm, specifically, it relates to a kind of SOA software regression testing method.
Background technology
At present, at SOA(ServiceOrientedArchitecture, Services Oriented Achitecture) in Software development process, when the service assembly do not controlled by SOA Software development end upgrades and stops using, still use the advice methods such as traditional phone, mail. Upgrade when service assembly and safeguard comparatively frequent, or time the SOA exploitation end using this service assembly is many, service assembly (ServiceComponent) is developed end and is notified that SOA develops end by modes such as traditional phone, mails, relatively time-consuming, effort.
The use of service assembly is dynamic process by SOA Software development end, it is possible to having new user and add to come in, user originally also may stop using this service assembly, safeguards that the contact list of a service assembly user is comparatively difficult.
Summary of the invention
It is an object of the invention to provide a kind of SOA software regression testing method, it is intended to solve prior art and there are the problems referred to above.
Providing a kind of SOA software regression testing method in an embodiment of the present invention, described method comprises:
SOA Software development end search can meet the service assembly of requirement;
SOA Software development end sends to the service assembly providing end that the service assembly of satisfied requirement is corresponding and subscribes to regression test notice;
Subscribing notification list is safeguarded after receiving described subscription regression test notice by service assembly providing end;
In SOA software running process, the regression test notice that SOA Software development end Asynchronous Reception service assembly providing end is issued;
After receiving the regression test notice issued service assembly providing end, SOA Software development end performs immediately or performs regression test in accordance with the designated time.
Further, described method also comprises:
A regression test notice subscription list, before providing service assembly, is safeguarded in service assembly providing end.
Further, described method also comprises:
Service assembly providing end issuing service assembly.
Further, described method also comprises:
Whether service assembly providing end periodic test has subscription change request, if there being new regression test subscribe request, its information adding regression test notice subscription list, if the request of cancelling subscriptions, it is deleted from subscription list.
Further, described method also comprises:
Check whether that service assembly update notification needs to issue.
Further, described method also comprises:
To regression test, service assembly providing end notifies that each subscription end in list issues regression test notice.
Further, the step of the service assembly that described SOA Software development end search can meet requirement also comprises:
Search services assembly, and collect the information of service assembly;
Information according to the service assembly collected, judges whether this service assembly can meet requirement
SOA software regression testing method in the present invention, by safeguarding regression test notice list in service assembly providing end, establish a kind of standard, open SOA software regression testing mechanism, effectively reduce the workload of artificial execution, shorten regression test and perform the time difference between service assembly renewal. Guarantee that the quality of whole SOA software meets user's requirement, save cost of development.
Accompanying drawing explanation
Fig. 1 is the regression test schema of the SOA Software development end that the embodiment of the present invention provides;
Fig. 2 is the schema of the service assembly providing end that the embodiment of the present invention provides;
Fig. 3 is the direct communication scheme of SOA Software development end and service assembly providing end that the embodiment of the present invention provides;
Fig. 4 is the embodiment of the present invention SOA Software development end provided and the agent advertisement pattern diagram serving assembly providing end.
Embodiment
Below by specific embodiment son and by reference to the accompanying drawings the present invention is described in further detail.
If SOA Software development end determines all whole self-developings of service assembly, or the service assembly that employing enterprise or organization internal have been developed completely, then do not enter flow process below. When SOA Software development end determines that adopting third party to serve needs to adopt following method when assembly carries out SOA Software development:
Fig. 1 shows the regression test flow process of the SOA Software development end that the embodiment of the present invention provides, and describes in detail as follows:
In step S101, search services assembly, and collect the information of service assembly.
In the present embodiment, can by network or UDDI(UniversalDescription when searching service assembly, DiscoveryandIntegration, universal description, find with integrated service) or other modes (upstream or downstream manufacturers offer service assembly and this SOA software system integration) find service assembly.
The information of service assembly is collected by WSDL (WebServicesDescriptionLanguage), such as service interface, the argument sequence (comprising the type of each parameter, the form of the result that the order of parameter and service return) provided is provided.
In step s 102, according to the information of the service assembly collected, judge whether this service assembly can meet requirement.
Can service assembly meet requirement and mainly judge whether service assembly can provide required function and performance. If required function and performance can be provided, then perform step S103, otherwise, return step S101 and continue search services assembly.
In step s 103, subscription regression test notice is sent to the providing end that the service assembly of satisfied requirement is corresponding.
Subscribe to regression test notice and mail to service assembly providing end from SOA Software development end, by service assembly providing end, subscribing notification list is safeguarded. After subscribing notification sends, SOA develops end and namely can normally be used by this service assembly.
In step S104, SOA Software development is rectified normal use and is served assembly.
In step S105, in SOA software running process, the regression test that SOA Software development end needs Asynchronous Reception service assembly providing end to issue notifies.
In step s 106, after receiving the regression test notice issued service assembly providing end, SOA Software development end can perform immediately or perform regression test in accordance with the time of service assembly providing end reservation.
Test, by rear, proceeds to step S104, and namely normal use serves assembly. If test is not passed through, then notify managerial personnel by certain mode, by it determines how to take action according to company's workflow.
Fig. 2 shows the flow process of the service assembly providing end that the embodiment of the present invention provides, and describes in detail as follows:
In step s 201, a regression test notice subscription list, before providing service assembly, is safeguarded in service assembly providing end.
Before not serving the subscription of assembly use side, what regression test notified subscription list can be initially empty.
In step S202, service assembly providing end issuing service assembly.
In the present invention, it is possible to carry out issuing service assembly by UDDI or other modes.
In step S203, whether periodic test has subscription change request, if there being new regression test subscribe request, its information adds regression test notice subscription list. If the request of cancelling subscriptions, then cancel subscriptions request, it is deleted from subscription list.
In step S204, check whether that service assembly update notification needs to issue.
This service assembly update notification or was issued afterwards by system manager before service assembly upgrades. If there being notice to need to issue, proceed to S205, otherwise, regularly repeat this step.
Step S205, to regression test, service assembly providing end notifies that each subscription end in list issues regression test notice.
Relating to service assembly providing end in the present invention, service assembly user (i.e. SOA system), both sides carry out regression test subscription by asynchronous mode, cancel subscriptions, and notice is issued. The process that cancels subscriptions and Fig. 1 are similar, and no longer accompanying drawing repeats.
Asynchronous communication between service assembly providing end and service assembly user can adopt two as shown in Figure 3 and Figure 4 kind pattern to carry out.
Consult Fig. 3, it be the direct communication scheme of SOA Software development end and service assembly providing end that the embodiment of the present invention provides,
In the present embodiment, directly communicate between SOA Software development end with service assembly providing end, it is not necessary to third party carries out transfer.
Consult Fig. 4, it is the embodiment of the present invention SOA Software development end provided and the agent advertisement pattern diagram serving assembly providing end. This agent advertisement pattern, then need to act on behalf of the release tasks that notice side performs regression test notice, to alleviate the processing load of assembly providing end. This pattern relatively is suitable for having a large amount of notice task to need the scene issued.
Obviously, the technician of this area should be understood that, each module of above-mentioned the present invention or each step can realize with general calculating device, they can concentrate on single calculating device, or it is distributed on network that multiple calculating device forms, can selection of land, they can realize with the program code that calculating device can perform, thus, they can be stored and perform by calculating device in the storage device, or they are made into respectively each integrated circuit modules, or the multiple module in them or step are made into single integrated circuit module realize. like this, the present invention does not limit and combines in any specific hardware and software. software class invention can have this section of words, otherwise deletes.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, 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 amendment of doing, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. a SOA software regression testing method, it is characterised in that, described method comprises:
SOA Software development end search can meet the service assembly of requirement;
SOA Software development end sends to the service assembly providing end that the service assembly of satisfied requirement is corresponding and subscribes to regression test notice;
Subscribing notification list is safeguarded after receiving described subscription regression test notice by service assembly providing end;
In SOA software running process, the regression test notice that SOA Software development end Asynchronous Reception service assembly providing end is issued;
After receiving the regression test notice issued service assembly providing end, SOA Software development end performs immediately or performs regression test in accordance with the designated time;
Wherein, directly communicate between SOA Software development end and service assembly providing end.
2. SOA software regression testing method according to claim 1, it is characterised in that, described method also comprises:
A regression test notice subscription list, before providing service assembly, is safeguarded in service assembly providing end.
3. SOA software regression testing method according to claim 1, it is characterised in that, described method also comprises:
Service assembly providing end issuing service assembly.
4. SOA software regression testing method according to claim 1, it is characterised in that, described method also comprises:
Whether service assembly providing end periodic test has subscription change request, if there being new regression test subscribe request, its information adding regression test notice subscription list, if the request of cancelling subscriptions, it is deleted from subscription list.
5. SOA software regression testing method according to claim 1, it is characterised in that, described method also comprises:
Check whether that service assembly update notification needs to issue.
6. SOA software regression testing method according to claim 1, it is characterised in that, described method also comprises:
To regression test, service assembly providing end notifies that each subscription end in list issues regression test notice.
7. SOA software regression testing method according to claim 1, it is characterised in that, the step of the service assembly that described SOA Software development end search can meet requirement also comprises:
Search services assembly, and collect the information of service assembly;
Information according to the service assembly collected, judges whether this service assembly can meet requirement.
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 CN103324574A (en) 2013-09-25
CN103324574B true 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)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257290B (en) * 2017-05-15 2023-01-24 中国电力科学研究院 Test method and system for open SOA service-oriented architecture

Citations (1)

* 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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8843877B2 (en) * 2008-11-17 2014-09-23 Hewlett-Packard Development Company, L.P. Integrated SOA deployment and management system and method for software services

Patent Citations (1)

* 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

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
网络化测试系统中问件的研究与设计;张元等;《计算机工程与设计》;20090630;第5279-5283页 *
面向服务架构开发中的回归测试模型;吉向东;《测控技术》;20110630;第30卷(第6期);第92-95页 *

Also Published As

Publication number Publication date
CN103324574A (en) 2013-09-25

Similar Documents

Publication Publication Date Title
CN107729139B (en) Method and device for concurrently acquiring resources
CN112788074B (en) Data transmitting method, processing method, receiving method, apparatus thereof, and storage medium
US20090037430A1 (en) Unwired enterprise platform
US7996352B2 (en) Distributed rule processing for ubiquitous computing environments
CN110019312B (en) Read-write data separation scheduling method, device, equipment and medium
US20130226878A1 (en) Seamless context transfers for mobile applications
US8572047B2 (en) Method and system for data update synchronization by two-phase commit
US11449482B2 (en) Dynamic log level with automatic reset
CN102375894A (en) Method for managing different types of file systems
CN107632885A (en) The readjustment management method and device of inter-module
CN104410511A (en) Server management method and system
CN103324574B (en) A kind of SOA software regression testing method
EP1872256A1 (en) System and method of waste management
CN102103633B (en) The method and system of infosystem performance is improved based on using forestland
CN114020368A (en) Information processing method and device based on state machine and storage medium
Kim et al. COSMOS: a middleware platform for sensor networks and a u-healthcare service
Keidl et al. Flexible and reliable web service execution
Ho et al. Mobile intercloud system and objects transfer mechanism
CN112698914B (en) Workflow task container generation system and method
Feuerlicht et al. Service Consumer Framework-Managing Service Evolution from a Consumer Perspective
CN102929605A (en) Cloud-computing-based open interface of data mining system
CN108228192A (en) A kind of implementation method of the dynamic management of service-oriented Airborne Software
CN101968743A (en) Seamless upgrading method and system for cloud service
CN111199386A (en) Workflow engine and implementation method thereof
CN106327038A (en) Electronic worksheet processing method and apparatus

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