12.07.2015 Views

Migration of a Chosen Architectural Pattern to Service Oriented ...

Migration of a Chosen Architectural Pattern to Service Oriented ...

Migration of a Chosen Architectural Pattern to Service Oriented ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 2. Related Work 20/ response messages and corresponding screens are gathered and followingoutputs are generated [23]:(a) Finite State Au<strong>to</strong>mation – contains all identified states, transitionsbetween the states and transition triggers. The au<strong>to</strong>mation is not deterministicbecause given the same input; user may have a few availablepaths <strong>to</strong> follow.(b) Screen Templates – contain sets <strong>of</strong> screens that correspond <strong>to</strong> eachstate from FSA. Each screen contains features like labels and theirlocalisation. This information is necessary for au<strong>to</strong>matic identification.(c) Interface –more precisely service contract with all the input and outputvariables (see 4.2.4).3. Wrapper Design – the last process makes use <strong>of</strong> previously created InteractionModel. Designing is meant <strong>to</strong> make a model interpretable by Au<strong>to</strong>mationEngine. In order <strong>to</strong> achieve interpretability, the model has <strong>to</strong>be enhanced by an additional information regarding activities executed byEngine on Au<strong>to</strong>mation Variables or screen fields. The additional data maycontain localization <strong>of</strong> a field, commands, input /output fields etc.Deploying and validating the wrapped use case The last process is nothingmore than establishing infrastructure for services and testing whether theyfulfill requirements [23].1. Deployment –includes all the information required <strong>to</strong> export and publishservices. The process is dependent on selected technology, for instance:selection <strong>of</strong> Web <strong>Service</strong> requires creation <strong>of</strong> WSDL document [23]2. Validation –since a significant part <strong>of</strong> the second process uses au<strong>to</strong>mation forcreation <strong>of</strong> Finite State Au<strong>to</strong>mation, validation gains in value and becomesa manda<strong>to</strong>ry activity. The Validation aims at identification <strong>of</strong> failures. Thefailures may manifest as a lack <strong>of</strong> screen or an a received message is differentthan expected. Validation process can be performed in following manner[23]:(a) Regressive testing – tests take as an input data used during Reverse Engineeringand check whether expected output is delivered by a legacysystem. The tests require coverage on scenario level, what means thatevery scenario <strong>of</strong> each use case have <strong>to</strong> be executed at least once [23].(b) Path testing – the second approach requires analysis <strong>of</strong> FSA in order<strong>to</strong> design tests covering each independent path. This means that allnodes and edges <strong>of</strong> the FSA need <strong>to</strong> be visited at least once. PathCoverage is a high level testing that requires a lot <strong>of</strong> effort <strong>to</strong> identifyall possible paths.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!