Testing and test environment
The birth notification service has a test environment for the web portal, and support for using the NHN Service Bus test environment to test submission of birth notifications. The Service Bus can be used for testing and verification of an integration from a clinical system to the birth notification service. The test environment uses ADFS login for authentication and authorisation in the same way as the production environment. If you are missing a test user, this can be requested by e-mail: kundesenter@nhn.no
Access to the test environment
Birth notification WEB
Birth notification via service bus
See Birth notification via service bus for the Her-ID of the test queue and examples of notifications.
What can be tested?
In the birth notification test environment you can test submission of birth notifications. In the test environment for the WEB portal you can additionally see all registered birth notifications.
The test environment is developed continuously. The service has historically had good uptime.
Limitations of the test environment
- The birth notification test environment is not part of Grunndata's other test environments
- The birth notification test environment and test data must not be used for testing integrations against the Person Service, and will not provide a full value-chain test of all functionality in a clinical system
- The birth notification test environment must not be environment must not be used by consumers for load testing
Test population and SyntPop
The persons in the birth notification test environment consist of a synthetic test population from the Norwegian Tax Administration (+80 on the birth month). Functionality for looking up persons in the population is available in SyntPop. SyntPop also collects and combines data from several registers (e.g. the health personnel register and the GP register), and offers functionality for searching and finding test persons with criteria across all these registers.
More information about SyntPop:
- https://utviklerportal.nhn.no/informasjonstjenester/syntpop
- https://utviklerportal.nhn.no/informasjonstjenester/syntpop/kom-i-gang-med-syntpop
Synthetic test population
The birth notification test environment uses a synthetic test population from the Tax Administration's test population register (Tenor) as its source. Tenor is built based on a representative sample of the Norwegian population and consists of constructed data that has no basis in reality. Test persons are not given real names, but names made up of adjectives and nouns, e.g. "Vakker Blomst". Test persons live at real street addresses, with real postal codes and municipality numbers.
⚠️ SyntPop contains two types of test persons: persons with +80 on the birth month, and persons with +65 on the birth month. Because the birth notification test environment is linked to the Tax Administration's producer test environment, these two types give different behaviour – see Test environment for details.
The test environment uses the same authentication mechanism as the production environment, so it is possible to test how authenticated calls work. Note that there are different secrets and endpoints for test and production – you cannot reuse production secrets in test or vice versa.