Potilastietojärjestelmän rajapintojen testiautomaatioprosessin luominen
Tuominen, Ville (2020)
Tuominen, Ville
2020
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-202001301814
https://urn.fi/URN:NBN:fi:amk-202001301814
Tiivistelmä
Tämän opinnäytetyön tarkoituksena oli toteuttaa CGI Suomi Oy:lle potilastietojärjestelmän rajapintojen testiautomaatioprosessi. Testiautomaation avulla pystytään nopeasti sekä toistuvasti testaamaan testattavia kohteita. Rajapintatestauksen automatisoinnin tarkoituksena on laajentaa nykyisiä testauksia sekä tukea nykyistä potilastietojärjestelmän testiautomaatiota.
Työssä hyödynnettiin SoapUI -rajapintatestaustyökalua, TortoiseSVN -versionhallintaa sekä Jenkins -automaatiotyökalua. Pääsääntöisesti työssä testattiin HL7 FHIR -rajapintoja, jotka perustuvat REST-arkkitehtuurityyliin. Versionhallintaan luotiin kansiorakenne ympäristöjen sekä testattavien rajapintojen perusteella. Lisäksi luotiin testiautomaatio ja tulosten raportointi Jenkinsiin.
Työn tuloksena saatiin luotua toimiva prosessi rajapintojen testiautomaatiolle, jota pystytään laajentamaan muihin potilastietojärjestelmän rajapintoihin. The purpose of this theses was to implement patient information system’s application programming interfaces test automation process for CGI Suomi Oy. With test automation test cases can be tested much faster and repeatedly. The purpose of automating API testings is to extend existing testings and support current patient information system’s test automation.
The used tools in this work were SoapUI API testing tool, TortoiseSVN version control tool and Jenkins automation server. HL7 FHIR are based on REST-arcitecture and they were mainly tested in this theseus. A folder structure was created for version control base on the enviroments and application programming interfaces. Test cases were automated and reporting was created at Jenkins.
As the result a workable process for automating application programming interface testings which can be extended to patient information system’s other APIs.
Työssä hyödynnettiin SoapUI -rajapintatestaustyökalua, TortoiseSVN -versionhallintaa sekä Jenkins -automaatiotyökalua. Pääsääntöisesti työssä testattiin HL7 FHIR -rajapintoja, jotka perustuvat REST-arkkitehtuurityyliin. Versionhallintaan luotiin kansiorakenne ympäristöjen sekä testattavien rajapintojen perusteella. Lisäksi luotiin testiautomaatio ja tulosten raportointi Jenkinsiin.
Työn tuloksena saatiin luotua toimiva prosessi rajapintojen testiautomaatiolle, jota pystytään laajentamaan muihin potilastietojärjestelmän rajapintoihin.
The used tools in this work were SoapUI API testing tool, TortoiseSVN version control tool and Jenkins automation server. HL7 FHIR are based on REST-arcitecture and they were mainly tested in this theseus. A folder structure was created for version control base on the enviroments and application programming interfaces. Test cases were automated and reporting was created at Jenkins.
As the result a workable process for automating application programming interface testings which can be extended to patient information system’s other APIs.