Fix wrong mapping type for templated requests in netconf
[integration/test.git] / csit / suites / netconf / clusteringscale / performance.robot
index 0067ff90796f65eeb4966123c3c2a1834952851e..5f11c435cdbabb0272755970276e76bed3f863fb 100644 (file)
@@ -66,7 +66,7 @@ Wait_For_Device_Data_To_Be_Seen
 
 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