- ${error} = Run Keyword And Expect Error * Create Resource ${iserver} InCSE1/Container2 ${rt_contentInstance}
- ... ${attr}
- Should Start with ${error} Cannot create this resource [400]
-
-4.63 if update to 3 , cannot create 4 contentInstance
+ ${rr} = Create Resource ${iserver} InCSE1/Container2 ${rt_contentInstance} ${attr}
+ Check Response and Retrieve Resource ${rr}
+ ${rr} = Retrieve resource ${iserver} InCSE1/Container2
+ ${chr} = Set Variable ${rr.json()['m2m:cnt']['ch']}
+ ${cbs} = Set Variable ${rr.json()['m2m:cnt']['cbs']}
+ Should Be Equal As Integers ${rr.json()['m2m:cnt']['cni']} 1
+ ${childNumber} = Get Length ${chr}
+ Should Be Equal As Integers ${childNumber} 1
+
+4.63 if update to 3 , when create 4 or more contentInstance, the current number instance should be 3