... and check the data is replicated in all instances in ${controller_index_list}.
${expected_body}= Hsf Json ${body}
${resp} RequestsLibrary.Put Request controller${controller_index} ${uri} ${body} ${headers}
- Should Be Equal As Strings ${resp.status_code} 200
+ ${status_code}= Convert To String ${resp.status_code}
+ Should Match Regexp ${status_code} 20(0|1)
: FOR ${i} IN @{controller_index_list}
\ ${data} Wait Until Keyword Succeeds 5s 1s Get Data From URI controller${i}
\ ... ${uri} ${headers}