Newer
Older
*** Settings ***
Documentation This resource file contains the basic requests used by Capif. NGINX_HOSTNAME and CAPIF_AUTH can be set as global variables, depends on environment used
Library RequestsLibrary
Library Collections
Library OperatingSystem
Library XML
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
*** Variables ***
${CAPIF_AUTH} ${EMPTY}
${CAPIF_BEARER} ${EMPTY}
${LOCATION_INVOKER_RESOURCE_REGEX}
... ^/api-invoker-management/v1/onboardedInvokers/[0-9a-zA-Z]+
${LOCATION_EVENT_RESOURCE_REGEX}
... ^/capif-events/v1/[0-9a-zA-Z]+/subscriptions/[0-9a-zA-Z]+
${LOCATION_INVOKER_RESOURCE_REGEX}
... ^/api-invoker-management/v1/onboardedInvokers/[0-9a-zA-Z]+
${LOCATION_PUBLISH_RESOURCE_REGEX}
... ^/published-apis/v1/[0-9a-zA-Z]+/service-apis/[0-9a-zA-Z]+
${LOCATION_SECURITY_RESOURCE_REGEX}
... ^/capif-security/v1/trustedInvokers/[0-9a-zA-Z]+
${LOCATION_PROVIDER_RESOURCE_REGEX}
... ^/api-provider-management/v1/registrations/[0-9a-zA-Z]+
${LOCATION_LOGGING_RESOURCE_REGEX}
... ^/api-invocation-logs/v1/[0-9a-zA-Z]+/logs/[0-9a-zA-Z]+
${INVOKER_ROLE} invoker
${AMF_ROLE} amf
${APF_ROLE} apf
${AEF_ROLE} aef
*** Keywords ***
Create CAPIF Session
[Documentation] Create needed session and headers.
... If server input data is set to NONE, it will try to use NGINX_HOSTNAME variable.
[Arguments] ${server}=${NONE} ${access_token}=${NONE} ${verify}=${NONE} ${vault_token}=${NONE}
IF "${server}" != "${NONE}"
Create Session apisession ${server} verify=${verify}
END
${headers}= Create Dictionary
IF "${access_token}" != "${NONE}"
${headers}= Create Dictionary Authorization=Bearer ${access_token}
END
IF "${vault_token}" != "${NONE}"
${headers}= Create Dictionary X-Vault-Token ${vault_token}
END
RETURN ${headers}
Create Register Admin Session
[Documentation] Create needed session to reach Register as Administrator.
[Arguments] ${server}=${NONE} ${access_token}=${NONE} ${verify}=${NONE} ${vault_token}=${NONE}
IF "${server}" != "${NONE}"
## Return Header with bearer
${headers}= Create Dictionary Authorization=Bearer ${access_token}
# Request Admin Login to retrieve access token
Create Session register_session ${server} verify=${verify} disable_warnings=1
${auth}= Set variable ${{ ('${REGISTER_ADMIN_USER}','${REGISTER_ADMIN_PASSWORD}') }}
${resp}= POST On Session register_session /login auth=${auth}
## Crear sesión con token
${headers}= Create Dictionary Authorization=Bearer ${resp.json()['access_token']}
END
RETURN ${NONE}
## NEW REQUESTS TO REGISTER
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
Post Request Admin Register
[Timeout] 60s
[Arguments]
... ${endpoint}
... ${json}=${NONE}
... ${server}=${NONE}
... ${access_token}=${NONE}
... ${auth}=${NONE}
... ${verify}=${FALSE}
... ${cert}=${NONE}
... ${username}=${NONE}
... ${data}=${NONE}
${headers}= Create Register Admin Session ${server} ${access_token} ${verify}
IF '${username}' != '${NONE}'
${cert}= Set variable ${{ ('${username}.crt','${username}.key') }}
END
${resp}= POST On Session
... register_session
... ${endpoint}
... headers=${headers}
... json=${json}
... expected_status=any
... verify=${verify}
... cert=${cert}
... data=${data}
RETURN ${resp}
Get Request Admin Register
[Timeout] 60s
[Arguments]
... ${endpoint}
... ${server}=${NONE}
... ${access_token}=${NONE}
... ${auth}=${NONE}
... ${verify}=${FALSE}
... ${cert}=${NONE}
... ${username}=${NONE}
${headers}= Create Register Admin Session ${server} ${access_token}
IF '${username}' != '${NONE}'
${cert}= Set variable ${{ ('${username}.crt','${username}.key') }}
END
${resp}= GET On Session
... register_session
... ${endpoint}
... headers=${headers}
... expected_status=any
... verify=${verify}
... cert=${cert}
RETURN ${resp}
# NEW REQUESTS END
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
Post Request Capif
[Timeout] 60s
[Arguments]
... ${endpoint}
... ${json}=${NONE}
... ${server}=${NONE}
... ${access_token}=${NONE}
... ${auth}=${NONE}
... ${verify}=${FALSE}
... ${cert}=${NONE}
... ${username}=${NONE}
... ${data}=${NONE}
${headers}= Create CAPIF Session ${server} ${access_token} ${verify}
IF '${username}' != '${NONE}'
${cert}= Set variable ${{ ('${username}.crt','${username}.key') }}
END
${resp}= POST On Session
... apisession
... ${endpoint}
... headers=${headers}
... json=${json}
... expected_status=any
... verify=${verify}
... cert=${cert}
... data=${data}
RETURN ${resp}
Get Request Capif
[Timeout] 60s
[Arguments]
... ${endpoint}
... ${server}=${NONE}
... ${access_token}=${NONE}
... ${auth}=${NONE}
... ${verify}=${FALSE}
... ${cert}=${NONE}
... ${username}=${NONE}
${headers}= Create CAPIF Session ${server} ${access_token}
IF '${username}' != '${NONE}'
${cert}= Set variable ${{ ('${username}.crt','${username}.key') }}
END
${resp}= GET On Session
... apisession
... ${endpoint}
... headers=${headers}
... expected_status=any
... verify=${verify}
... cert=${cert}
RETURN ${resp}
Get CA Vault
[Timeout] 60s
[Arguments]
... ${endpoint}
... ${server}=${NONE}
... ${access_token}=${NONE}
... ${auth}=${NONE}
... ${verify}=${FALSE}
... ${cert}=${NONE}
... ${username}=${NONE}
${headers}= Create CAPIF Session ${server} ${access_token} vault_token=${CAPIF_VAULT_TOKEN}
IF '${username}' != '${NONE}'
${cert}= Set variable ${{ ('${username}.crt','${username}.key') }}
END
${resp}= GET On Session
... apisession
... ${endpoint}
... headers=${headers}
... expected_status=any
... verify=${verify}
... cert=${cert}
RETURN ${resp}
RETURN ${response}
Put Request Capif
[Timeout] 60s
[Arguments]
... ${endpoint}
... ${json}=${NONE}
... ${server}=${NONE}
... ${access_token}=${NONE}
... ${auth}=${NONE}
... ${verify}=${FALSE}
... ${cert}=${NONE}
... ${username}=${NONE}
${headers}= Create CAPIF Session ${server} ${access_token}
IF '${username}' != '${NONE}'
${cert}= Set variable ${{ ('${username}.crt','${username}.key') }}
END
${resp}= PUT On Session
... apisession
... ${endpoint}
... headers=${headers}
... json=${json}
... expected_status=any
... verify=${verify}
... cert=${cert}
RETURN ${resp}
Patch Request Capif
[Timeout] 60s
[Arguments]
... ${endpoint}
... ${json}=${NONE}
... ${server}=${NONE}
... ${access_token}=${NONE}
... ${auth}=${NONE}
... ${verify}=${FALSE}
... ${cert}=${NONE}
... ${username}=${NONE}
${headers}= Create CAPIF Session ${server} ${access_token}
IF '${username}' != '${NONE}'
${cert}= Set variable ${{ ('${username}.crt','${username}.key') }}
END
${resp}= PATCH On Session
... apisession
... ${endpoint}
... headers=${headers}
... json=${json}
... expected_status=any
... verify=${verify}
... cert=${cert}
RETURN ${resp}
Delete Request Capif
[Timeout] 60s
[Arguments]
... ${endpoint}
... ${server}=${NONE}
... ${access_token}=${NONE}
... ${auth}=${NONE}
... ${verify}=${FALSE}
... ${cert}=${NONE}
... ${username}=${NONE}
${headers}= Create CAPIF Session ${server} ${access_token}
IF '${username}' != '${NONE}'
${cert}= Set variable ${{ ('${username}.crt','${username}.key') }}
END
${resp}= DELETE On Session
... apisession
... ${endpoint}
... headers=${headers}
... expected_status=any
... verify=${verify}
... cert=${cert}
RETURN ${resp}
Register User At Jwt Auth
[Arguments] ${username} ${role} ${password}=password ${description}=Testing
${cn}= Set Variable ${username}
# Create certificate and private_key for this machine.
IF "${role}" == "${INVOKER_ROLE}"
${cn}= Set Variable invoker
${csr_request}= Create User Csr ${username} ${cn}
Log inside if cn=${cn}
ELSE
${csr_request}= Set Variable ${None}
END
Log cn=${cn}
${resp}= Create User At Register
... ${username}
... ${password}
... ${description}
... email="${username}@nobody.com"
${get_auth_response}= Get Auth For User ${username} ${password}
Log Dictionary ${get_auth_response}
... netappID=${resp.json()['uuid']}
... csr_request=${csr_request}
... &{resp.json()}
... &{get_auth_response}
Log Dictionary ${register_user_info}
IF "ca_root" in @{register_user_info.keys()}
Store In File ca.crt ${register_user_info['ca_root']}
END
IF "cert" in @{register_user_info.keys()}
Store In File ${username}.crt ${register_user_info['cert']}
END
IF "private_key" in @{register_user_info.keys()}
Store In File ${username}.key ${register_user_info['private_key']}
END
Call Method ${CAPIF_USERS} update_register_users ${register_user_info['uuid']} ${username}
RETURN ${register_user_info}
Register User At Jwt Auth Provider
[Arguments] ${username} ${role} ${password}=password ${description}=Testing
${apf_username}= Set Variable APF_${username}
${aef_username}= Set Variable AEF_${username}
${amf_username}= Set Variable AMF_${username}
# Create a certificate for each kind of role under provider
${csr_request}= Create User Csr ${username} provider
${apf_csr_request}= Create User Csr ${apf_username} apf
${aef_csr_request}= Create User Csr ${aef_username} aef
${amf_csr_request}= Create User Csr ${amf_username} amf
# Register provider
${resp}= Create User At Register
... ${username}
... ${password}
... ${description}
... email="${username}@nobody.com"
${get_auth_response}= Get Auth For User ${username} ${password}
Log Dictionary ${get_auth_response}
... netappID=${resp.json()['uuid']}
... csr_request=${csr_request}
... apf_csr_request=${apf_csr_request}
... aef_csr_request=${aef_csr_request}
... amf_csr_request=${amf_csr_request}
... apf_username=${apf_username}
... aef_username=${aef_username}
... amf_username=${amf_username}
... &{resp.json()}
... &{get_auth_response}
Log Dictionary ${register_user_info}
Call Method ${CAPIF_USERS} update_register_users ${register_user_info['uuid']} ${username}
${headers}= Create Register Admin Session ${CAPIF_HTTPS_REGISTER_URL}
RETURN ${headers}
[Documentation] (Administrator) This Keyword create a user at register component.
[Arguments] ${username} ${password} ${description} ${email}
# Obtain Admin Token to request creation of User
${headers}= Login Register Admin
&{body}= Create Dictionary
... username=${username}
... password=${password}
... description=${description}
... email=${email}
... enterprise=enterprise
... country=Spain
... purpose=testing
... phone_number=123456789
... company_web=www.enterprise.com
${resp}= Post On Session register_session /createUser headers=${headers} json=${body}
Should Be Equal As Strings ${resp.status_code} 201
[Documentation] (Administrator) This Keyword delete a user from register.
[Arguments] ${username}=${NONE} ${uuid}=${NONE}
${user_uuid}= Set Variable ${uuid}
IF "${username}" != "${NONE}"
${user_uuid}= Call Method ${CAPIF_USERS} get_user_uuid ${username}
${headers}= Create Register Admin Session ${CAPIF_HTTPS_REGISTER_URL} verify=False
${resp}= DELETE On Session register_session /deleteUser/${user_uuid} headers=${headers}
Should Be Equal As Strings ${resp.status_code} 204
Call Method ${CAPIF_USERS} remove_register_users_entry ${user_uuid}
[Documentation] (Administrator) This Keyword retrieve a list of users from register.
${headers}= Create Register Admin Session ${CAPIF_HTTPS_REGISTER_URL} verify=False
${resp}= DELETE On Session register_session /getUsers headers=${headers}
Should Be Equal As Strings ${resp.status_code} 200
[Documentation] (User) This Keyword retrieve token to be used by user towards first interaction with CCF.
[Arguments] ${username} ${password}
${auth}= Set variable ${{ ('${username}','${password}') }}
${resp}= GET On Session register_session /getauth auth=${auth}
Should Be Equal As Strings ${resp.status_code} 200
RETURN ${resp.json()}
Clean Test Information
${capif_users_dict}= Call Method ${CAPIF_USERS} get_capif_users_dict
${register_users_dict}= Call Method ${CAPIF_USERS} get_register_users_dict
${keys}= Get Dictionary Keys ${capif_users_dict}
FOR ${key} IN @{keys}
${value}= Get From Dictionary ${capif_users_dict} ${key}
${resp}= Delete Request Capif
... ${key}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... username=${value}
Status Should Be 204 ${resp}
Call Method ${CAPIF_USERS} remove_capif_users_entry ${key}
END
${uuids}= Get Dictionary Keys ${register_users_dict}
FOR ${uuid} IN @{uuids}
[Arguments] ${entity_user} ${certificate_name}=${entity_user}
${capif_users_dict}= Call Method ${CAPIF_USERS} get_capif_users_dict
${register_users_dict}= Call Method ${CAPIF_USERS} get_register_users_dict
Log Dictionary ${register_users_dict}
${keys}= Get Dictionary Keys ${capif_users_dict}
FOR ${key} IN @{keys}
${value}= Get From Dictionary ${capif_users_dict} ${key}
IF "${value}" == "${certificate_name}"
${resp}= Delete Request Capif
... ${key}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... username=${value}
Status Should Be 204 ${resp}
Call Method ${CAPIF_USERS} remove_capif_users_entry ${key}
END
END
Delete User At Register username=${entity_user}
Log Dictionary ${register_users_dict}
[Arguments] ${resource_url} ${management_cert} ${username}
${resp}= Delete Request Capif
... ${resource_url}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... username=${management_cert}
Status Should Be 204 ${resp}
&{body}= Create Dictionary
... password=password
... username=${username}
Create Session jwtsession ${CAPIF_HTTPS_REGISTER_URL} verify=False disable_warnings=1
${resp}= DELETE On Session jwtsession /remove json=${body}
Should Be Equal As Strings ${resp.status_code} 204
Invoker Default Onboarding
[Arguments] ${invoker_username}=${INVOKER_USERNAME}
${register_user_info}= Register User At Jwt Auth
... username=${invoker_username} role=${INVOKER_ROLE}
# Send Onboarding Request
${request_body}= Create Onboarding Notification Body
... http://${CAPIF_CALLBACK_IP}:${CAPIF_CALLBACK_PORT}/netapp_callback
... ${register_user_info['csr_request']}
${resp}= Post Request Capif
... ${register_user_info['ccf_onboarding_url']}
... json=${request_body}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... access_token=${register_user_info['access_token']}
Set To Dictionary ${register_user_info} api_invoker_id=${resp.json()['apiInvokerId']}
Log Dictionary ${register_user_info}
# Assertions
Status Should Be 201 ${resp}
Check Variable ${resp.json()} APIInvokerEnrolmentDetails
${resource_url}= Check Location Header ${resp} ${LOCATION_INVOKER_RESOURCE_REGEX}
Store In File ${invoker_username}.crt ${resp.json()['onboardingInformation']['apiInvokerCertificate']}
Call Method ${CAPIF_USERS} update_capif_users_dicts ${url.path} ${invoker_username}
Set To Dictionary ${register_user_info} resource_url=${resource_url}
Set To Dictionary ${register_user_info} management_cert=${invoker_username}
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
RETURN ${register_user_info} ${url} ${request_body}
Provider Registration
[Arguments] ${register_user_info}
# Create provider Registration Body
${apf_func_details}= Create Api Provider Function Details
... ${register_user_info['apf_username']}
... ${register_user_info['apf_csr_request']}
... APF
${aef_func_details}= Create Api Provider Function Details
... ${register_user_info['aef_username']}
... ${register_user_info['aef_csr_request']}
... AEF
${amf_func_details}= Create Api Provider Function Details
... ${register_user_info['amf_username']}
... ${register_user_info['amf_csr_request']}
... AMF
${api_prov_funcs}= Create List ${apf_func_details} ${aef_func_details} ${amf_func_details}
${request_body}= Create Api Provider Enrolment Details Body
... ${register_user_info['access_token']}
... ${api_prov_funcs}
# Register Provider
${resp}= Post Request Capif
... /api-provider-management/v1/registrations
... json=${request_body}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... access_token=${register_user_info['access_token']}
# Check Results
Check Response Variable Type And Values ${resp} 201 APIProviderEnrolmentDetails
${resource_url}= Check Location Header ${resp} ${LOCATION_PROVIDER_RESOURCE_REGEX}
Log Dictionary ${resp.json()}
FOR ${prov} IN @{resp.json()['apiProvFuncs']}
Log Dictionary ${prov}
Store In File ${prov['apiProvFuncInfo']}.crt ${prov['regInfo']['apiProvCert']}
IF "${prov['apiProvFuncRole']}" == "APF"
Set To Dictionary ${register_user_info} apf_id=${prov['apiProvFuncId']}
ELSE IF "${prov['apiProvFuncRole']}" == "AEF"
Set To Dictionary ${register_user_info} aef_id=${prov['apiProvFuncId']}
ELSE IF "${prov['apiProvFuncRole']}" == "AMF"
Set To Dictionary ${register_user_info} amf_id=${prov['apiProvFuncId']}
ELSE
Fail "${prov['apiProvFuncRole']} is not valid role"
END
END
Set To Dictionary
... ${register_user_info}
... provider_enrollment_details=${request_body}
... resource_url=${resource_url}
... provider_register_response=${resp}
... management_cert=${register_user_info['amf_username']}
Call Method
... ${CAPIF_USERS}
... update_capif_users_dicts
... ${register_user_info['resource_url'].path}
... ${register_user_info['amf_username']}
RETURN ${register_user_info}
Provider Default Registration
[Arguments] ${provider_username}=${PROVIDER_USERNAME}
# Register Provider
${register_user_info}= Register User At Jwt Auth Provider
... username=${provider_username} role=${PROVIDER_ROLE}
${register_user_info}= Provider Registration ${register_user_info}
Log Dictionary ${register_user_info}
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
RETURN ${register_user_info}
Publish Service Api
[Arguments] ${register_user_info_provider} ${service_name}=service_1
${request_body}= Create Service Api Description ${service_name} ${register_user_info_provider['aef_id']}
${resp}= Post Request Capif
... /published-apis/v1/${register_user_info_provider['apf_id']}/service-apis
... json=${request_body}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... username=${register_user_info_provider['apf_username']}
Check Response Variable Type And Values ${resp} 201 ServiceAPIDescription
Dictionary Should Contain Key ${resp.json()} apiId
${resource_url}= Check Location Header ${resp} ${LOCATION_PUBLISH_RESOURCE_REGEX}
RETURN ${resp.json()} ${resource_url} ${request_body}
Basic ACL registration
[Arguments] ${create_security_context}=${True}
# Register APF
${register_user_info_provider}= Provider Default Registration
${service_api_description_published} ${resource_url} ${request_body}= Publish Service Api
... ${register_user_info_provider}
... service_1
# Store apiId1
${serviceApiId}= Set Variable ${service_api_description_published['apiId']}
# Retrieve Services 1
${resp}= Get Request Capif
... /published-apis/v1/${register_user_info_provider['apf_id']}/service-apis/${serviceApiId}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... username=${APF_PROVIDER_USERNAME}
Check Response Variable Type And Values ${resp} 200 ServiceAPIDescription
Dictionaries Should Be Equal ${resp.json()} ${service_api_description_published}
# Default Invoker Registration and Onboarding
${register_user_info_invoker} ${url} ${request_body}= Invoker Default Onboarding
Call Method ${CAPIF_USERS} update_capif_users_dicts ${url.path} ${INVOKER_USERNAME}
# Test
${discover_response}= Get Request Capif
... ${DISCOVER_URL}${register_user_info_invoker['api_invoker_id']}&aef-id=${register_user_info_provider['aef_id']}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... username=${INVOKER_USERNAME}
Check Response Variable Type And Values ${discover_response} 200 DiscoveredAPIs
IF ${create_security_context} == ${True}
# create Security Context
${request_body}= Create Service Security From Discover Response
... http://${CAPIF_HOSTNAME}:${CAPIF_HTTP_PORT}/test
... ${discover_response}
${resp}= Put Request Capif
... /capif-security/v1/trustedInvokers/${register_user_info_invoker['api_invoker_id']}
... json=${request_body}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... username=${INVOKER_USERNAME}
# Check Service Security
Check Response Variable Type And Values ${resp} 201 ServiceSecurity
${resource_url}= Check Location Header ${resp} ${LOCATION_SECURITY_RESOURCE_REGEX}
END
RETURN ${register_user_info_invoker} ${register_user_info_provider} ${service_api_description_published}
Create Security Context Between invoker and provider
[Arguments] ${register_user_info_invoker} ${register_user_info_provider}
${discover_response}= Get Request Capif
... ${DISCOVER_URL}${register_user_info_invoker['api_invoker_id']}&aef-id=${register_user_info_provider['aef_id']}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... username=${register_user_info_invoker['management_cert']}
Check Response Variable Type And Values ${discover_response} 200 DiscoveredAPIs
# create Security Context
${request_body}= Create Service Security From Discover Response
... http://${CAPIF_HOSTNAME}:${CAPIF_HTTP_PORT}/test
... ${discover_response}
${resp}= Put Request Capif
... /capif-security/v1/trustedInvokers/${register_user_info_invoker['api_invoker_id']}
... json=${request_body}
... server=${CAPIF_HTTPS_URL}
... verify=ca.crt
... username=${register_user_info_invoker['management_cert']}
Check Response Variable Type And Values ${resp} 201 ServiceSecurity