Massey Documents by Type
Permanent URI for this communityhttps://mro.massey.ac.nz/handle/10179/294
Browse
2 results
Search Results
Item Generating mock skeletons for lightweight Web service testing : a thesis presented in partial fulfilment of the requirements for the degree of Doctor of Philosophy in Computer Science at Massey University, Manawatū New Zealand(Massey University, 2021) Randunu Pathirannehelage, Thilini BhagyaModern application development allows applications to be composed using lightweight HTTP services. Testing such an application requires the availability of services that the application makes requests to. However, continued access to dependent services during testing may be restrained, making adequate testing a significant and non-trivial engineering challenge. The concept of Service Virtualisation is gaining popularity for testing such applications in isolation. It is a practise to simulate the behaviour of dependent services by synthesising responses using semantic models inferred from recorded traffic. Replacing services with their respective mocks is, therefore, useful to address their absence and move on application testing. In reality, however, it is unlikely that fully automated service virtualisation solutions can produce highly accurate proxies. Therefore, we recommend using service virtualisation to infer some attributes of HTTP service responses. We further acknowledge that engineers often want to fine-tune this. This requires algorithms to produce readily interpretable and customisable results. We assume that if service virtualisation is based on simple logical rules, engineers would have the potential to understand and customise rules. In this regard, Symbolic Machine Learning approaches can be investigated because of the high provenance of their results. Accordingly, this thesis examines the appropriateness of symbolic machine learning algorithms to automatically synthesise HTTP services' mock skeletons from network traffic recordings. We consider four commonly used symbolic techniques: the C4.5 decision tree algorithm, the RIPPER and PART rule learners, and the OCEL description logic learning algorithm. The experiments are performed employing network traffic datasets extracted from a few different successful, large-scale HTTP services. The experimental design further focuses on the generation of reproducible results. The chosen algorithms demonstrate the suitability of training highly accurate and human-readable semantic models for predicting the key aspects of HTTP service responses, such as the status and response headers. Having human-readable logics would make interpretation of the response properties simpler. These mock skeletons can then be easily customised to create mocks that can generate service responses suitable for testing.Item Modular design and implementation of a low cost home automation system using web-services : a thesis presented in partial fulfilement [i.e. fulfilment] of the requirements for the degree of Master of Engineering in Computer Systems at Massey University, Albany, New Zealand(Massey University, 2011) Gomasa, Sunny PeterThe idea of home automation has existed and worked on by several researchers. The idea of controlling devices, around a home, in way to provide improved comfort and security has been in the way since early 19th century. Current advancements in computing and communication technology allow for designing smart home automation systems that can manage several devices from one central location. Several researchers have been working in designing one that can manage, maintain and process data with very little user interaction. Therefore, the aim of this thesis is to design and implement a low-cost home automation system that is independent of networking protocol, is scalable and easy to deploy & maintain. The system works as several modules operating independently while coordinating with a central gateway. Zigbee protocol was used provided wireless communication to devices that require low-power and not a whole lot of computing. Lastly a discussion was made to use Open-source software to keep cost to minimum.
