This is currently causing a number of failures all over netconf
suite due to wrong string type used for mapping in templated requests.
Signed-off-by: Tomas Cere <tomas.cere@pantheon.tech>
Change-Id: I50c72ceb93e0891af581988b7b0d1db9d7a6b5f4
[Arguments] ${device_name} ${session}=default ${location}=location
[Documentation] Tell Netconf to deconfigure the specified device
${device_type}= Collections.Pop_From_Dictionary ${NetconfKeywords__mounted_device_types} ${device_name}
[Arguments] ${device_name} ${session}=default ${location}=location
[Documentation] Tell Netconf to deconfigure the specified device
${device_type}= Collections.Pop_From_Dictionary ${NetconfKeywords__mounted_device_types} ${device_name}
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Delete_Templated ${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${device_type} ${template_as_string} session=${session} location=${location}
Deconfigure_Device
TemplatedRequests.Delete_Templated ${DIRECTORY_WITH_DEVICE_TEMPLATES}${/}${device_type} ${template_as_string} session=${session} location=${location}
Deconfigure_Device
Create_Device_Data_Label_Via_Xml
[Documentation] Send a sample test data label into the device and check that the request went OK.
Create_Device_Data_Label_Via_Xml
[Documentation] Send a sample test data label into the device and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string}
Check_Device_Data_Label_Is_Created
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string}
Check_Device_Data_Label_Is_Created
Modify_Device_Data_Label_Via_Xml
[Documentation] Send a request to change the sample test data label and check that the request went OK.
Modify_Device_Data_Label_Via_Xml
[Documentation] Send a request to change the sample test data label and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string}
Check_Device_Data_Label_Is_Modified
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string}
Check_Device_Data_Label_Is_Modified
Modify_Device_Data_Again
[Documentation] Send a request to change the sample test data and check that the request went OK.
Modify_Device_Data_Again
[Documentation] Send a request to change the sample test data and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Put_As_Xml_Templated ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}datamod2 ${template_as_string}
Check_Device_Data_Is_Modified_Again
TemplatedRequests.Put_As_Xml_Templated ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}datamod2 ${template_as_string}
Check_Device_Data_Is_Modified_Again
Modify_Device_Data_Label_Via_Json
[Documentation] Send a JSON request to change the sample test data label and check that the request went OK.
Modify_Device_Data_Label_Via_Json
[Documentation] Send a JSON request to change the sample test data label and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Put_As_Json_Templated ${directory_with_template_folders}${/}datamodjson ${template_as_string}
Check_Device_Data_Label_Is_Modified_Via_Json
TemplatedRequests.Put_As_Json_Templated ${directory_with_template_folders}${/}datamodjson ${template_as_string}
Check_Device_Data_Label_Is_Modified_Via_Json
Create_Car_List
[Documentation] Send a request to create a list of cars in the sample test data label and check that the request went OK.
Create_Car_List
[Documentation] Send a request to create a list of cars in the sample test data label and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}cars ${template_as_string}
Check_Car_List_Created
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}cars ${template_as_string}
Check_Car_List_Created
Add_Device_Data_Item_1_Via_XML_Post
[Documentation] Send a request to create a data item in the test list and check that the request went OK.
Add_Device_Data_Item_1_Via_XML_Post
[Documentation] Send a request to create a data item in the test list and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}item1 ${template_as_string}
Check_Item1_Is_Created
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}item1 ${template_as_string}
Check_Item1_Is_Created
Add_Device_Data_Item_2_Via_JSON_Post
[Documentation] Send a JSON request to change the sample test data and check that the request went OK.
Add_Device_Data_Item_2_Via_JSON_Post
[Documentation] Send a JSON request to change the sample test data and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Json_Templated ${directory_with_template_folders}${/}item2 ${template_as_string}
Check_Item2_Is_Created
TemplatedRequests.Post_As_Json_Templated ${directory_with_template_folders}${/}item2 ${template_as_string}
Check_Item2_Is_Created
Delete_Device_Data
[Documentation] Send a request to delete the sample test data on the device and check that the request went OK.
Delete_Device_Data
[Documentation] Send a request to delete the sample test data on the device and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}item1 ${template_as_string}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}item1 ${template_as_string}
Create_Device_Data_Label_Via_Xml
[Documentation] Send a sample test data label into the device and check that the request went OK.
Create_Device_Data_Label_Via_Xml
[Documentation] Send a sample test data label into the device and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string}
Check_Device_Data_Label_Is_Created
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string}
Check_Device_Data_Label_Is_Created
Modify_Device_Data_Label_Via_Xml
[Documentation] Send a request to change the sample test data label and check that the request went OK.
Modify_Device_Data_Label_Via_Xml
[Documentation] Send a request to change the sample test data label and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string}
Check_Device_Data_Label_Is_Modified
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string}
Check_Device_Data_Label_Is_Modified
Modify_Device_Data_Again
[Documentation] Send a request to change the sample test data and check that the request went OK.
Modify_Device_Data_Again
[Documentation] Send a request to change the sample test data and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Put_As_Xml_Templated ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}datamod2 ${template_as_string}
Check_Device_Data_Is_Modified_Again
TemplatedRequests.Put_As_Xml_Templated ${DIRECTORY_WITH_TEMPLATE_FOLDERS}${/}datamod2 ${template_as_string}
Check_Device_Data_Is_Modified_Again
Modify_Device_Data_Label_Via_Json
[Documentation] Send a JSON request to change the sample test data label and check that the request went OK.
Modify_Device_Data_Label_Via_Json
[Documentation] Send a JSON request to change the sample test data label and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Put_As_Json_Templated ${directory_with_template_folders}${/}datamodjson ${template_as_string}
Check_Device_Data_Label_Is_Modified_Via_Json
TemplatedRequests.Put_As_Json_Templated ${directory_with_template_folders}${/}datamodjson ${template_as_string}
Check_Device_Data_Label_Is_Modified_Via_Json
Create_Car_List
[Documentation] Send a request to create a list of cars in the sample test data label and check that the request went OK.
Create_Car_List
[Documentation] Send a request to create a list of cars in the sample test data label and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}cars ${template_as_string}
Check_Car_List_Created
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}cars ${template_as_string}
Check_Car_List_Created
Add_Device_Data_Item_1_Via_XML_Post
[Documentation] Send a request to create a data item in the test list and check that the request went OK.
Add_Device_Data_Item_1_Via_XML_Post
[Documentation] Send a request to create a data item in the test list and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}item1 ${template_as_string}
Check_Item1_Is_Created
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}item1 ${template_as_string}
Check_Item1_Is_Created
Add_Device_Data_Item_2_Via_JSON_Post
[Documentation] Send a JSON request to change the sample test data and check that the request went OK.
Add_Device_Data_Item_2_Via_JSON_Post
[Documentation] Send a JSON request to change the sample test data and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Json_Templated ${directory_with_template_folders}${/}item2 ${template_as_string}
Check_Item2_Is_Created
TemplatedRequests.Post_As_Json_Templated ${directory_with_template_folders}${/}item2 ${template_as_string}
Check_Item2_Is_Created
Delete_Device_Data
[Documentation] Send a request to delete the sample test data on the device and check that the request went OK.
Delete_Device_Data
[Documentation] Send a request to delete the sample test data on the device and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${device_name}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}item1 ${template_as_string}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}item1 ${template_as_string}
Create_Device_Data
[Documentation] Send some sample test data into the device and check that the request went OK.
Create_Device_Data
[Documentation] Send some sample test data into the device and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string} session=${NODE_SETTER}
Check_New_Device_Data_Is_Visible_On_Setter
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string} session=${NODE_SETTER}
Check_New_Device_Data_Is_Visible_On_Setter
Modify_Device_Data
[Documentation] Send a request to change the sample test data and check that the request went OK.
Modify_Device_Data
[Documentation] Send a request to change the sample test data and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${NODE_SETTER}
[Teardown] Utils.Report_Failure_Due_To_Bug 4968
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${NODE_SETTER}
[Teardown] Utils.Report_Failure_Due_To_Bug 4968
Delete_Device_Data
[Documentation] Send a request to delete the sample test data on the device and check that the request went OK.
Delete_Device_Data
[Documentation] Send a request to delete the sample test data on the device and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${NODE_SETTER}
[Teardown] Utils.Report_Failure_Due_To_Bug 4968
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${NODE_SETTER}
[Teardown] Utils.Report_Failure_Due_To_Bug 4968
Create_Device_Data
[Documentation] Send some sample test data into the device and check that the request went OK.
Create_Device_Data
[Documentation] Send some sample test data into the device and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string} session=${NODE_SETTER}
Check_New_Device_Data_Is_Visible_On_Setter
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string} session=${NODE_SETTER}
Check_New_Device_Data_Is_Visible_On_Setter
Modify_Device_Data
[Documentation] Send a request to change the sample test data and check that the request went OK.
Modify_Device_Data
[Documentation] Send a request to change the sample test data and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${NODE_SETTER}
Check_Device_Data_Is_Modified
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${NODE_SETTER}
Check_Device_Data_Is_Modified
Delete_Device_Data
[Documentation] Send a request to delete the sample test data on the device and check that the request went OK.
Delete_Device_Data
[Documentation] Send a request to delete the sample test data on the device and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${NODE_SETTER}
Check_Device_Data_Is_Deleted
TemplatedRequests.Delete_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${NODE_SETTER}
Check_Device_Data_Is_Deleted
Create_Device_Data
[Documentation] Create some data on the device and propagate it throughout the cluster.
Create_Device_Data
[Documentation] Create some data on the device and propagate it throughout the cluster.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string} session=${node2_session}
Check_Config_Data_After_Data_Creation
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string} session=${node2_session}
Check_Config_Data_After_Data_Creation
Modify_Device_Data_When_Original_Owner_Is_Down
[Documentation] Attempt to modify the data on the device after recovery and see if it still works.
Modify_Device_Data_When_Original_Owner_Is_Down
[Documentation] Attempt to modify the data on the device after recovery and see if it still works.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${follower1_session}
Check_Config_Data_After_Modification_With_Original_Owner_Down
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${follower1_session}
Check_Config_Data_After_Modification_With_Original_Owner_Down
Modify_Device_Data_With_Original_Owner
[Documentation] Check that the original owner of the entity is still able to modify the data on the device
Modify_Device_Data_With_Original_Owner
[Documentation] Check that the original owner of the entity is still able to modify the data on the device
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod2 ${template_as_string} session=${original_device_owner_session}
Check_Config_Data_After_Modification_With_Original_Owner_Up
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod2 ${template_as_string} session=${original_device_owner_session}
Check_Config_Data_After_Modification_With_Original_Owner_Up
Create_Device_Data
[Documentation] Create some data on the device and propagate it throughout the cluster.
Create_Device_Data
[Documentation] Create some data on the device and propagate it throughout the cluster.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string} session=${node2_session}
Check_Config_Data_After_Data_Creation
TemplatedRequests.Post_As_Xml_Templated ${directory_with_template_folders}${/}dataorig ${template_as_string} session=${node2_session}
Check_Config_Data_After_Data_Creation
Modify_Device_Data_When_Original_Owner_Is_Down
[Documentation] Attempt to modify the data on the device after recovery and see if it still works.
Modify_Device_Data_When_Original_Owner_Is_Down
[Documentation] Attempt to modify the data on the device after recovery and see if it still works.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${follower1_session}
[Teardown] Utils.Report_Failure_Due_To_Bug 4968
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod1 ${template_as_string} session=${follower1_session}
[Teardown] Utils.Report_Failure_Due_To_Bug 4968
Modify_Device_Data_With_Original_Owner
[Documentation] Check that the original owner of the entity is still able to modify the data on the device
Modify_Device_Data_With_Original_Owner
[Documentation] Check that the original owner of the entity is still able to modify the data on the device
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod2 ${template_as_string} session=${original_device_owner_session}
[Teardown] Utils.Report_Failure_Due_To_Bug 5761
TemplatedRequests.Put_As_Xml_Templated ${directory_with_template_folders}${/}datamod2 ${template_as_string} session=${original_device_owner_session}
[Teardown] Utils.Report_Failure_Due_To_Bug 5761
Create_Device_Data
[Documentation] Send some sample test data into the device through node 2 and check that the request went OK.
Create_Device_Data
[Documentation] Send some sample test data into the device through node 2 and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_crud_templates}${/}cars ${template_as_string} session=node2
Run_Restperfclient
TemplatedRequests.Post_As_Xml_Templated ${directory_with_crud_templates}${/}cars ${template_as_string} session=node2
Run_Restperfclient
Create_Device_Data
[Documentation] Send some sample test data into the device and check that the request went OK.
Create_Device_Data
[Documentation] Send some sample test data into the device and check that the request went OK.
- ${template_as_string}= BuiltIn.Set_Variable {'DEVICE_NAME': '${DEVICE_NAME}'}
+ ${template_as_string}= BuiltIn.Create_Dictionary DEVICE_NAME=${device_name}'}
TemplatedRequests.Post_As_Xml_Templated ${directory_with_crud_templates}${/}cars ${template_as_string}
Run_Restperfclient
TemplatedRequests.Post_As_Xml_Templated ${directory_with_crud_templates}${/}cars ${template_as_string}
Run_Restperfclient