@@ -60,42 +60,54 @@ Feature: Create AS Device - success scenarios
6060 | questionnaire_responses .spine_as .0 .Date Requested | 2024 -01 -03 |
6161 | questionnaire_responses .spine_as .0 .Product Key | product -key -001 |
6262 Then I receive a status code "201" with body
63- | path | value |
64- | id | << ignore >> |
65- | name | Product -AS |
66- | status | active |
67- | product_id | ${ note (product_id ) } |
68- | product_team_id | ${ note (product_team_id ) } |
69- | ods_code | F5H1R |
70- | keys | [] |
71- | created_on | << ignore >> |
72- | updated_on | << ignore >> |
73- | deleted_on | << ignore >> |
74- | questionnaire_responses | << ignore >> |
75- | device_reference_data | << ignore >> |
63+ | path | value |
64+ | id | << ignore >> |
65+ | name | F5H1R -850000 / - Accredited System |
66+ | status | active |
67+ | product_id | ${ note (product_id ) } |
68+ | product_team_id | ${ note (product_team_id ) } |
69+ | ods_code | F5H1R |
70+ | keys | [] |
71+ | created_on | << ignore >> |
72+ | updated_on | << ignore >> |
73+ | deleted_on | << ignore >> |
74+ | questionnaire_responses .spine_as /1 .0 .id | << ignore >> |
75+ | questionnaire_responses .spine_as /1 .0 .questionnaire_name | spine_as |
76+ | questionnaire_responses .spine_as /1 .0 .questionnaire_version | 1 |
77+ | questionnaire_responses .spine_as /1 .0 .data .ODS Code | FH15R |
78+ | questionnaire_responses .spine_as /1 .0 .data .Client ODS Codes .0 | FH15R |
79+ | questionnaire_responses .spine_as /1 .0 .data .ASID | Foobar |
80+ | questionnaire_responses .spine_as /1 .0 .data .Party Key | P .123 -XXX |
81+ | questionnaire_responses .spine_as /1 .0 .data .Approver URP | approver -123 |
82+ | questionnaire_responses .spine_as /1 .0 .data .Date Approved | 2024 -01 -01 |
83+ | questionnaire_responses .spine_as /1 .0 .data .Requestor URP | requestor -789 |
84+ | questionnaire_responses .spine_as /1 .0 .data .Date Requested | 2024 -01 -03 |
85+ | questionnaire_responses .spine_as /1 .0 .data .Product Key | product -key -001 |
86+ | questionnaire_responses .spine_as /1 .0 .created_on | << ignore >> |
87+ | device_reference_data | << ignore >> |
7688 And the response headers contain:
7789 | name | value |
7890 | Content -Type | application /json |
79- | Content -Length | 960 |
91+ | Content -Length | 983 |
8092 And I note the response field "$.id" as "device_id"
8193 When I make a "GET" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/Device/${ note(device_id) }"
8294 Then I receive a status code "200" with body
83- | path | value |
84- | id | ${ note (device_id ) } |
85- | name | Product - AS |
86- | status | active |
87- | product_id | ${ note (product_id ) } |
88- | product_team_id | ${ note (product_team_id ) } |
89- | ods_code | F5H1R |
90- | created_on | << ignore >> |
91- | updated_on | << ignore >> |
92- | deleted_on | << ignore >> |
93- | keys | [] |
94- | tags .0 .0 .0 | ${ note (party_key_tag ) } |
95- | tags .0 .0 .1 | ${ note (party_key_tag_value ) } |
96- | questionnaire_responses | << ignore >> |
97- | device_reference_data | << ignore >> |
95+ | path | value |
96+ | id | ${ note (device_id ) } |
97+ | name | F5H1R - 850000 / - Accredited System |
98+ | status | active |
99+ | product_id | ${ note (product_id ) } |
100+ | product_team_id | ${ note (product_team_id ) } |
101+ | ods_code | F5H1R |
102+ | created_on | << ignore >> |
103+ | updated_on | << ignore >> |
104+ | deleted_on | << ignore >> |
105+ | keys | [] |
106+ | tags .0 .0 .0 | ${ note (party_key_tag ) } |
107+ | tags .0 .0 .1 | ${ note (party_key_tag_value ) } |
108+ | questionnaire_responses | << ignore >> |
109+ | device_reference_data | << ignore >> |
98110 And the response headers contain:
99111 | name | value |
100112 | Content -Type | application /json |
101- | Content -Length | 1697 |
113+ | Content -Length | 1720 |
0 commit comments