CN103593288A - Test method for WS-BPEL workflow induction QoS analysis - Google Patents

Test method for WS-BPEL workflow induction QoS analysis Download PDF

Info

Publication number
CN103593288A
CN103593288A CN201310544053.5A CN201310544053A CN103593288A CN 103593288 A CN103593288 A CN 103593288A CN 201310544053 A CN201310544053 A CN 201310544053A CN 103593288 A CN103593288 A CN 103593288A
Authority
CN
China
Prior art keywords
test
testing
web services
centroid
test procedure
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
CN201310544053.5A
Other languages
Chinese (zh)
Other versions
CN103593288B (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.)
Northeast Normal University
Original Assignee
Northeast Normal University
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 Northeast Normal University filed Critical Northeast Normal University
Priority to CN201310544053.5A priority Critical patent/CN103593288B/en
Publication of CN103593288A publication Critical patent/CN103593288A/en
Application granted granted Critical
Publication of CN103593288B publication Critical patent/CN103593288B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a test method for WS-BPEL workflow induction QoS analysis. The test method includes the steps that a central node is set, test programs request serial numbers from the central node, and the central code allocates the corresponding serial number to each test program and carries out heartbeat detection on the corresponding test programs entering a test environment; a user launches a newly-set test to the central node and sends test instructions to the corresponding test programs through the central node to carry out testing on target web services, testing results are fed back to the central node after testing of the corresponding test programs is completed, the central node displays the testing results to the user, and a service calling quality diagram is formed. The testing programs can log in to the central node automatically, a certain group of Web services is tested in a parallel or serial mode through the test programs, induction QoS parameters can be obtained, and therefore performance bottlenecks in workflow can be found more accurately.

Description

The method of testing of a kind of WS-BPEL workflow analysis perception QoS
Technical field
The present invention relates to inter-network data passage analysis field, relate in particular to the method for testing of a kind of WS-BPEL workflow analysis perception QoS.
Background technology
Service quality (quality of service, be called for short QoS) be network with user between and between the user that communicate by letter mutually on network about the agreement of communication and shared quality, for example, transmission delay permission time, throughput, stability etc.On the computer networks such as Internet, for providing high-quality QoS, user must solve following problem: QoS is classified and defined, object is that network can be managed according to dissimilar QoS and Resources allocation, such as distributing larger bandwidth and more CPU processing time etc. to real time service.On the other hand, QoS being carried out to class definition also facilitates user to propose QoS demand according to different application.And for satisfied QoS is provided to user, must peer-to-peer system, the corresponding resource such as router and transmission bandwidth preengages, to guarantee that these resources are not used by force by other application.At present, in the relevant project development of Web service, extensively adopt WS-BPEL (full name is that Business Process Execution Language is business processing effective language) to set up robotization operation flow, but prior art can not accurate description flow process in data constraint or time-constrain between web services assembly, cause the bottleneck of workflow analysis.
Therefore, prior art needs further improve and develop.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide the method for testing of a kind of WS-BPEL workflow analysis perception QoS, to describe more accurately immediate data constraint or the time-constrain between assembly, the performance bottleneck that can find a job more accurately in stream.
Technical scheme of the present invention is as follows:
A method of testing of WS-BPEL workflow analysis perception QoS, it comprises the following steps:
A, set up Centroid, test procedure is to described Centroid request serial number, and described Centroid distributes corresponding sequence number to each test procedure, and carries out heartbeat detection to entering the corresponding test procedure of test environment;
B, user initiate newly-built test setting to described Centroid, and to corresponding test procedure, send test instruction by described Centroid, to objective network, service is tested, corresponding test procedure is completed backward described Centroid and returns to test result, described Centroid shows test results to user, forms service call quality chart.
Described method of testing, wherein, what described steps A was concrete comprises: described Centroid judges that according to heart time whether corresponding test procedure is online.
Described method of testing, wherein, what described steps A was concrete also comprises: corresponding test procedure sends a heartbeat packet to described Centroid in every 15 seconds, and described Centroid was not received the heartbeat packet of corresponding test procedure in 30 seconds, and described Centroid judges that corresponding test procedure rolls off the production line.
Described method of testing, wherein, what the test of described step B was concrete comprises: described Centroid records the initial data of each input service stream, and the web services that test procedure is provided, and each web services is classified as to one group; Record between the variable of each initial data process in workflow script and transmit between assignment and service, the web services of process and provider's web services of these data be designated as one group; Determine between the web services of same group and there is data constraint relation and time-constrain relation, submit to described Centroid to test whole perceiving service quality the web services of each grouping.
Described method of testing, wherein, what described step B was concrete also comprises: by traceroute, determine that IP packet accesses the path that web services to be measured is taked.
Described method of testing, wherein, what described step B was concrete also comprises: when testing data bag access time summation is less than or equal to 1 second, skip traceroute; When testing data bag access time summation is greater than 1 second, carry out traceroute.
The invention provides the method for testing of a kind of WS-BPEL workflow analysis perception QoS, defined a kind of new data structuring model that is used for describing Web service constraints relation in workflow, be service call figure, adopt this model to analyze to produce between which assembly in same workflow (be Web service) and directly call or exchanges data indirectly, data constraint and time-constrain between assembly are described more accurately, for the analysis of perception QoS, the performance bottleneck that can find a job more accurately in stream; And carry out perception QoS test based on cluster test procedure, it provides a Centroid based on Web method of service, user is mutual so that the workflow of predefine WS-BPEL is tested with it, its test can be deployed in the different network segments and region, from trend Centroid, register, a plurality of tests walk abreast or a certain group of Web Service tested in serial, obtain perception qos parameter, the performance bottleneck that can find a job more accurately in stream.
Accompanying drawing explanation
Fig. 1 is the principle schematic of method of testing in the present invention;
Fig. 2 is the idiographic flow schematic diagram of method of testing in the present invention.
Embodiment
The invention provides the method for testing of a kind of WS-BPEL workflow analysis perception QoS, for making object of the present invention, technical scheme and effect clearer, clear and definite, below the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
For following, describe conveniently, each English abbreviation is simply introduced.
Web service be a platform independently, loose coupling, self-contained, the application program based on programmable web, can describe, issue, find, coordinate and configure these application programs by open XML standard, for developing the application program of distributed interoperability.
WS-BPEL: full name is that Business Process Execution Language is business processing effective language, is the programming language that a kind of XML of use writes.For robotization operation flow, be also once known as WSBPEL and BPEL4WS.Be widely used in the project development that Web service is relevant, advantage is for having portability and effectively having protected investment.
Perception QoS:QoS(Quality of Service), be a kind of security mechanism of network, in order to weigh the quality of a certain network service, as response time, throughput, stability etc.Perception QoS directly reflects quality impression when user accesses certain Web service, conventionally by one group of index (as concurrent in network delay, services request, IT infrastructure etc.), reflect the service effectiveness that user awareness arrives, can pass through the active monitoring to these indexs, Services Composition is chosen, improved.
Service call figure: be used for a kind of model that BPEL workflow is analyzed, be used for analyzing between which assembly in same workflow (Web Service) producing and directly call or exchanges data indirectly, and then describe and between which assembly, there is direct data constraint or time-constrain.Can be used for carrying out data access authorization analysis and perception QoS analyzes
The invention provides a kind of method of testing based on WS-BPEL workflow analysis perception QoS, as shown in Figures 1 and 2, it comprises the following steps:
First, set up with Centroid, test procedure is to described Centroid request serial number, and described Centroid distributes corresponding sequence number to each test procedure, and carries out heartbeat detection to entering the corresponding test packet of test;
Then, user initiates newly-built test setting to described Centroid, and by described Centroid to corresponding test procedure send test instruction to objective network service test, corresponding test procedure is completed backward described Centroid and returns to test result, described Centroid shows test results to user, forms service call quality chart.
What further, above-mentioned steps was concrete comprises: described Centroid judges that according to heart time whether corresponding test procedure is online.
In another preferred embodiment of the present invention, above-mentionedly state concrete also the comprising of step: corresponding test procedure sends a heartbeat packet to described Centroid in every 15 seconds, described Centroid was not received the heartbeat packet of corresponding test procedure in 30 seconds, and described Centroid judges that corresponding test procedure rolls off the production line.
And the test of above-mentioned steps specifically comprises: described Centroid records the initial data of each input service stream, and the web services that these data are provided, and each web services is classified as to one group; Record between the variable of each initial data process in workflow script and transmit between assignment and service, the web services of process and provider's web services of these data be designated as one group; Determine the restriction relation that comprises these data between the web services of same group, submit to described Centroid to test whole perceiving service quality the web services of each grouping.
In another preferred embodiment of the present invention, what above-mentioned steps was concrete comprises: by traceroute, determine that IP packet accesses the path that web services to be measured is taked.When testing data bag access time summation is less than or equal to 1 second, skip traceroute; When testing data bag access time summation is greater than 1 second, carry out traceroute.
In order further to describe the present invention, below carry out more detailed explanation.
Resolve WebService
private?bool?InitWebService(){}
Obtain WebService class name
private?string?GetWsClassName(string?wsUrl){}
Obtain random WebService parameter
private?object?GetParameter(ParameterInfo?pi,?Assembly?assembly){}
Obtain Tracert character string
private?string?GetTracertString(){}
Obtain the corresponding time of test target
public?int?GetTotalMilliseconds(int?WebSerTestId){}
Call WebService function
public?static?object?InvokeWebService(string?url){}。
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.

Claims (6)

1. a method of testing of WS-BPEL workflow analysis perception QoS, it comprises the following steps:
A, set up Centroid, test procedure is to described Centroid request serial number, and described Centroid distributes corresponding sequence number to each test procedure, and carries out heartbeat detection to entering the corresponding test procedure of test environment;
B, user initiate newly-built test setting to described Centroid, and to corresponding test procedure, send test instruction by described Centroid, to objective network, service is tested, corresponding test procedure is completed backward described Centroid and returns to test result, described Centroid shows test results to user, forms service call quality chart.
2. according to the method for testing described in right 1, it is characterized in that, what described steps A was concrete comprises: described Centroid judges that according to heart time whether corresponding test procedure is online.
3. according to the method for testing described in right 2, it is characterized in that, what described steps A was concrete also comprises: corresponding test procedure sends a heartbeat packet to described Centroid in every 15 seconds, described Centroid was not received the heartbeat packet of corresponding test procedure in 30 seconds, and described Centroid judges that corresponding test procedure rolls off the production line.
4. method of testing according to claim 1, is characterized in that, the test of described step B specifically comprises: described Centroid records the initial data of each input service stream, and the web services that these data are provided, and each web services is classified as to one group; Record between the variable of each initial data process in workflow script and transmit between assignment and service, the web services of process and provider's web services of these data be designated as one group; Determine the restriction relation that comprises these data between the web services of same group, submit to described Centroid to test whole perceiving service quality the web services of each grouping.
5. method of testing according to claim 4, is characterized in that, what described step B was concrete comprises: by traceroute, determine that IP packet accesses the path that web services to be measured is taked.
6. method of testing according to claim 5, is characterized in that, what described step B was concrete also comprises: when the web services to be measured access time, summation was less than or equal to 1 second, skip traceroute; When testing data bag access time summation is greater than 1 second, carry out traceroute.
CN201310544053.5A 2013-11-06 2013-11-06 A kind of WS BPEL workflow analysis perceives the method for testing of QoS Expired - Fee Related CN103593288B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310544053.5A CN103593288B (en) 2013-11-06 2013-11-06 A kind of WS BPEL workflow analysis perceives the method for testing of QoS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310544053.5A CN103593288B (en) 2013-11-06 2013-11-06 A kind of WS BPEL workflow analysis perceives the method for testing of QoS

Publications (2)

Publication Number Publication Date
CN103593288A true CN103593288A (en) 2014-02-19
CN103593288B CN103593288B (en) 2017-04-05

Family

ID=50083439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310544053.5A Expired - Fee Related CN103593288B (en) 2013-11-06 2013-11-06 A kind of WS BPEL workflow analysis perceives the method for testing of QoS

Country Status (1)

Country Link
CN (1) CN103593288B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291533A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 Determine method, the device of upstream node bottleneck degree and system bottleneck degree

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645935A (en) * 2009-08-31 2010-02-10 东软集团股份有限公司 Web service combined method based on QoS indexes and Web service output parameters and device thereof
WO2011078793A1 (en) * 2009-12-24 2011-06-30 Empire Technology Development Llc Dynamic mobile application quality-of-service monitoring and reporting
CN103024789A (en) * 2011-09-21 2013-04-03 上海无线通信研究中心 System and method for testing network performance of distributed broadband mobile communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645935A (en) * 2009-08-31 2010-02-10 东软集团股份有限公司 Web service combined method based on QoS indexes and Web service output parameters and device thereof
WO2011078793A1 (en) * 2009-12-24 2011-06-30 Empire Technology Development Llc Dynamic mobile application quality-of-service monitoring and reporting
CN103024789A (en) * 2011-09-21 2013-04-03 上海无线通信研究中心 System and method for testing network performance of distributed broadband mobile communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107291533A (en) * 2016-03-31 2017-10-24 阿里巴巴集团控股有限公司 Determine method, the device of upstream node bottleneck degree and system bottleneck degree
CN107291533B (en) * 2016-03-31 2020-10-30 阿里巴巴集团控股有限公司 Method and device for determining upstream node bottleneck degree and system bottleneck degree

Also Published As

Publication number Publication date
CN103593288B (en) 2017-04-05

Similar Documents

Publication Publication Date Title
Fatema et al. A survey of cloud monitoring tools: Taxonomy, capabilities and objectives
US20190052551A1 (en) Cloud verification and test automation
US9076013B1 (en) Managing requests for security services
US11403370B2 (en) Automatically detecting misuse of licensed software
WO2016150153A1 (en) Software release method and device
CN107168844B (en) Performance monitoring method and device
Peuster et al. The softwarised network data zoo
Montecchi et al. Model-based evaluation of scalability and security tradeoffs: A case study on a multi-service platform
Fernandes Performance evaluation for network services, systems and protocols
US20170024305A1 (en) Client application profiling
Venâncio et al. Beyond VNFM: Filling the gaps of the ETSI VNF manager to fully support VNF life cycle operations
Gheorghe-Pop et al. A performance benchmarking methodology for MQTT broker implementations
Marques et al. Proactive resource management for cloud of services environments
Straesser et al. A systematic approach for benchmarking of container orchestration frameworks
CN103593288A (en) Test method for WS-BPEL workflow induction QoS analysis
Coppolino et al. Effective QoS monitoring in large scale social networks
Caiazza et al. Measurement-driven design and runtime optimization in edge computing: Methodology and tools
US20230169500A1 (en) Microservice-based multifactor authentication
Demchenko et al. Gembus based services composition platform for cloud paas
Yang et al. Design and implementation of web-based speed test analysis tool kit
Aguiar et al. Lessons learned and challenges on benchmarking publish-subscribe IoT platforms
Tiloca et al. SEA++: A framework for evaluating the impact of security attacks in OMNeT++/INET
Calzarossa et al. Performance Monitoring Guidelines
Soubra Towards Universal IoT Metrics Automation.
Karnouskos et al. Assessment of an enterprise energy service platform in a smart grid city pilot

Legal Events

Date Code Title Description
C06 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
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: 20170405

Termination date: 20201106