Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Automated recommendation of corrective actions based on similarity search measures
Mälardalen University, School of Innovation, Design and Engineering.
2024 (English)Independent thesis Advanced level (degree of Master (Two Years)), 80 credits / 120 HE creditsStudent thesis
Abstract [en]

Test automation primarily aims to reduce manual testing effort, improve test coverage, and achieve an efficient testing process. For an automated test, typically, the outcome is a set of logs that will include all of the information from the test execution. When the automated test fails, these logs are useful to identify the root cause. However, manually analyzing logs for each failed test will significantly increase the feedback loop, which can practically nullify all the importance of automation. The focus of the thesis is on quick identification of the root cause in order to maintain an efficient flow of delivery of functionality.

This study presents a data-oriented, automated log analysis and root cause identification pipeline, integrated with text similarity search algorithms which we can refer to as a recommendation system. The pipeline utilizes a knowledge base created with historical data which helps in the recommendation of the root cause along with the corrective action. The main steps of the pipeline are: data pre-processing, failure message clustering, text similarity searching against the knowledge base and as a result visualizing the similarity percentage with the root cause and the corrective action.

Consequently, this study employs five different text similarity algorithms; Cosine, LCS, Jaccard, Jaro-Winkler and Matching Coefficient to execute the implemented pipeline. Combining the text similarity algorithm within the context of automated log analysis is a novel aspect. As a contribution, an experiment is performed to confirm the accuracy of these selected text similarity search algorithms in providing relevant recommendations. The conclusion of this thesis is that the proposed data-oriented pipeline provides the most accurate results with  LCS, Cosine and Jaro-Winkler text similarity algorithms. 

Place, publisher, year, edition, pages
2024. , p. 40
National Category
Engineering and Technology
Identifiers
URN: urn:nbn:se:mdh:diva-67860OAI: oai:DiVA.org:mdh-67860DiVA, id: diva2:1877474
Supervisors
Examiners
Available from: 2024-08-26 Created: 2024-06-25 Last updated: 2025-10-10Bibliographically approved

Open Access in DiVA

fulltext(1595 kB)284 downloads
File information
File name FULLTEXT01.pdfFile size 1595 kBChecksum SHA-512
b0483b2b30df967874e2c9d55fac5c5832108cdb5ddcfeca58d71b8911f4744408aaee9e5c33d06336f6d39ada2fbfe9267061565dd7d43905be307de910b3b9
Type fulltextMimetype application/pdf

Search in DiVA

By author/editor
Wickramasinghe, Heshani
By organisation
School of Innovation, Design and Engineering
Engineering and Technology

Search outside of DiVA

GoogleGoogle Scholar
Total: 286 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 225 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf