I’m currently working on automating API tests for DHIS2 and have started writing test scripts using Postman. However, I haven’t found a clear, established framework to build upon and would appreciate any guidance from the community.
Has anyone worked with or come across a structured API automation testing framework for DHIS2? I’m looking for recommendations, best practices, or insights on how to efficiently implement test automation for DHIS2 APIs.
I’d greatly appreciate any advice or direction. Thank you in advance for your help!
Currently, I manually create test data to register patients as Tracked Entity Instances, enroll them into appropriate programs (including event programs where patient information is selected), and validate the data. I’m looking to transition these tasks to an automated process and integrate them into a CI/CD pipeline for continuous validation during deployments.
The examples you shared on the DHIS2 API are appreciated! I would like to know if there is a way to export the examples you provided here into Postman?