HAALCENTRAAL English translation
BRP API / Personen / Features / dan-stap-definities-algemeen

No JavaScript error on an invalid response

#language: en

@stap-documentatie @skip-verify
Feature: No JavaScript error on an invalid response

  Scenario: the naam field in the response has the value null
    Given the response body equals
    """
    {
      "personen": [
        {
          "naam": null
        }
      ]
    }
    """
    Then the response has no persons

  Scenario: the naam field in the response has the value undefined
    Given the response body equals
    """
    {
      "personen": [
        {
          "naam": undefined
        }
      ]
    }
    """
    Then the response has no persons