Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions code/Test_definitions/sim-swap-checkSimSwap.feature
Original file line number Diff line number Diff line change
Expand Up @@ -185,3 +185,13 @@ Feature: CAMARA SIM Swap API, v2.1.0-rc.2 - Operation checkSimSwap
And the response property "$.status" is 400
And the response property "$.code" is "OUT_OF_RANGE"
And the response property "$.message" contains a user friendly text

@check_sim_swap_400.4_max_age_out_of_monitored_period
Scenario: Check that the response shows an error when the max age is above the supported monitored period of the API Provider
# This test only applies if the API Provider has a restricted monitored period by local regulations
Given the request body property "$.maxAge" is set to a valid value above the supported monitored period of the API Provider
When the request "checkSimSwap" is sent
Then the response status code is 400
And the response property "$.status" is 400
And the response property "$.code" is "OUT_OF_RANGE"
And the response property "$.message" contains a user friendly text