maximum number of search results for ZoekMetGeslachtsnaamEnGeboortedatum
#language: en @gba Feature: maximum number of search results for ZoekMetGeslachtsnaamEnGeboortedatum Background: Given the person with citizen service number '000000001' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000002' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000003' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000004' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000005' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000006' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000007' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000008' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000009' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000010' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person with citizen service number '000000011' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person has the following 'inschrijving' data | naam | waarde | | reden opschorting bijhouding (67.20) | O | And the person with citizen service number '000000012' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Pieter | And the person has the following 'inschrijving' data | naam | waarde | | reden opschorting bijhouding (67.20) | F | And the person with citizen service number '000000013' has the following data | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) | | 19830526 | Maassen | Jan Peter | Rule: Where more than 10 persons are found when searching, an error message is given @fout-case Scenario: More than 10 persons found When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | fields | burgerservicenummer | Then the response has an object with the following data | naam | waarde | | type | https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.1 | | title | Teveel zoekresultaten. | | status | 400 | | detail | Meer dan maximum van 10 zoekresultaten gevonden. Verfijn de zoekopdracht. | | code | tooManyResults | | instance | /haalcentraal/api/brp/personen | Scenario: A narrowed search finds exactly 10 persons, because deceased persons and removed personal records are not supplied When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | voornamen | Pieter | | fields | burgerservicenummer | Then the response has 10 persons @fout-case Scenario: More than 10 persons, because deceased persons were searched for as well When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | voornamen | Pieter | | inclusiefOverledenPersonen | true | | fields | burgerservicenummer | Then the response has an object with the following data | naam | waarde | | type | https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.1 | | title | Teveel zoekresultaten. | | status | 400 | | detail | Meer dan maximum van 10 zoekresultaten gevonden. Verfijn de zoekopdracht. | | code | tooManyResults | | instance | /haalcentraal/api/brp/personen |