[Arguments] ${keyword} ${session} ${evtpath} ${evtjson} ${resp_code} ${msg_content}
${resp}= Send Request And Validate Response ${keyword} ${session} ${evtpath} ${evtjson} ${resp_code}
${error_message}= Set Variable ${resp.json()['requestError']['ServiceException']['text']}
Should Be Equal As Strings ${msg_content} ${error_message}
Send Request And Validate Response
[Arguments] ${keyword} ${session} ${evtpath} ${evtjson} ${resp_code} ${msg_content}
${resp}= Send Request And Validate Response ${keyword} ${session} ${evtpath} ${evtjson} ${resp_code}
${error_message}= Set Variable ${resp.json()['requestError']['ServiceException']['text']}
Should Be Equal As Strings ${msg_content} ${error_message}
Send Request And Validate Response