Skip to main content

LUP Student Papers

LUND UNIVERSITY LIBRARIES

Model-based Generation of a Sensor Reading Web Test Tool

Andersson, Jonas LU and Lindell Bolin, Christoffer LU (2022) In LU-CS/HBG-EX EDAL05 20221
Department of Computer Science
Abstract
This Bachelor’s thesis is in collaboration with Saab Kockums AB. Saab Kockums develops and constructs marine technology, ships and submarines for civil and military use. In different development stages for systems to be implemented and built on ships, submarines or the like, different components such as sensors or information display systems need to be tested and functionality verified.
For the system to work, the interfaces between components need to be able to send consistent and compatible data adhering to a standard. The communication requirements between interfaces are specified in an Interface Requirement Specification (IRS). To effectively test new hardware built by a third party requires a test tool to be built. Today, such a test... (More)
This Bachelor’s thesis is in collaboration with Saab Kockums AB. Saab Kockums develops and constructs marine technology, ships and submarines for civil and military use. In different development stages for systems to be implemented and built on ships, submarines or the like, different components such as sensors or information display systems need to be tested and functionality verified.
For the system to work, the interfaces between components need to be able to send consistent and compatible data adhering to a standard. The communication requirements between interfaces are specified in an Interface Requirement Specification (IRS). To effectively test new hardware built by a third party requires a test tool to be built. Today, such a test tool is constructed from scratch for each project, a time-consuming process. A small change to the IRS can also add significant manual synchronization effort across different stakeholders and developers. This thesis investigates how to construct a generic test tool using a minimal machine-readable specification. We built a test tool that introduces dynamic specification of any field-based protocol with the use of an XML specification format. This test tool is designed to send, receive, and validate the user-specified protocols with the help of a React based web user interface and
Saab’s WISE framework for a modular network architecture. The implemented parts are the CJEX library, a React application, and the WISE components ParseSE, TLDriver and APIDriver, along with an XML standard for the solution. To validate the tool, we used a specification for an Inertial Navigation System (INS) that communicates using the NMEA 0183 protocol, and can send updates with a frequency up to 100 Hz. In addition, we also demonstrate the test tool’s flexibility to support multiple protocols by implementing a JSON protocol. (Less)
Please use this url to cite or link to this publication:
author
Andersson, Jonas LU and Lindell Bolin, Christoffer LU
supervisor
organization
course
EDAL05 20221
year
type
M2 - Bachelor Degree
subject
keywords
WISE, GUI, REST, Testing, Integration
publication/series
LU-CS/HBG-EX
report number
Hbg-2022-13
ISSN
1651-2197
language
English
id
9099321
date added to LUP
2022-09-23 15:44:19
date last changed
2022-09-23 15:44:19
@misc{9099321,
  abstract     = {{This Bachelor’s thesis is in collaboration with Saab Kockums AB. Saab Kockums develops and constructs marine technology, ships and submarines for civil and military use. In different development stages for systems to be implemented and built on ships, submarines or the like, different components such as sensors or information display systems need to be tested and functionality verified.
For the system to work, the interfaces between components need to be able to send consistent and compatible data adhering to a standard. The communication requirements between interfaces are specified in an Interface Requirement Specification (IRS). To effectively test new hardware built by a third party requires a test tool to be built. Today, such a test tool is constructed from scratch for each project, a time-consuming process. A small change to the IRS can also add significant manual synchronization effort across different stakeholders and developers. This thesis investigates how to construct a generic test tool using a minimal machine-readable specification. We built a test tool that introduces dynamic specification of any field-based protocol with the use of an XML specification format. This test tool is designed to send, receive, and validate the user-specified protocols with the help of a React based web user interface and
Saab’s WISE framework for a modular network architecture. The implemented parts are the CJEX library, a React application, and the WISE components ParseSE, TLDriver and APIDriver, along with an XML standard for the solution. To validate the tool, we used a specification for an Inertial Navigation System (INS) that communicates using the NMEA 0183 protocol, and can send updates with a frequency up to 100 Hz. In addition, we also demonstrate the test tool’s flexibility to support multiple protocols by implementing a JSON protocol.}},
  author       = {{Andersson, Jonas and Lindell Bolin, Christoffer}},
  issn         = {{1651-2197}},
  language     = {{eng}},
  note         = {{Student Paper}},
  series       = {{LU-CS/HBG-EX}},
  title        = {{Model-based Generation of a Sensor Reading Web Test Tool}},
  year         = {{2022}},
}