You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scenario Outline: Successfully create a MHS Device with MHSMessageSet containing no questionnaire responses
127
+
Given I have already made a "POST" request with "default" headers to "ProductTeam" with body:
128
+
| path | value |
129
+
| name | MyGreatProductTeam |
130
+
| ods_code | F5H1R |
131
+
| keys.0.key_type | product_team_id_alias |
132
+
| keys.0.key_value | FOOBAR |
133
+
And I note the response field "$.id" as "product_team_id"
134
+
And I have already made a "POST" request with "default" headers to "ProductTeam/<product_team_id>/Product/Epr" with body:
135
+
| path | value |
136
+
| name | MyGreatProduct |
137
+
And I note the response field "$.id" as "product_id"
138
+
And I note the response field "$.keys.0.key_type" as "party_key_tag"
139
+
And I note the response field "$.keys.0.key_value" as "party_key_tag_value"
140
+
When I make a "POST" request with "default" headers to "ProductTeam/<product_team_id>/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet"
141
+
And I note the response field "$.id" as "device_reference_data_id"
142
+
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/Device/MessageHandlingSystem" with body:
And I note the response field "$.id" as "device_id"
180
+
When I make a "GET" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/Device/${ note(device_id) }"
Scenario Outline: Cannot create a MHS Device with a Product that already has an MHS Device with no questionnaire responses
230
+
Given I have already made a "POST" request with "default" headers to "ProductTeam" with body:
231
+
| path | value |
232
+
| name | MyGreatProductTeam |
233
+
| ods_code | F5H1R |
234
+
And I note the response field "$.id" as "product_team_id"
235
+
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/Epr" with body:
236
+
| path | value |
237
+
| name | MyGreatProduct |
238
+
And I note the response field "$.id" as "product_id"
239
+
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/DeviceReferenceData/MhsMessageSet"
240
+
And I note the response field "$.id" as "message_set_drd_id"
241
+
And I have already made a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/Device/MessageHandlingSystem" with body:
And I note the response field "$.id" as "device_id"
261
+
When I make a "POST" request with "default" headers to "ProductTeam/${ note(product_team_id) }/Product/${ note(product_id) }/Device/MessageHandlingSystem" with body:
0 commit comments