How to get a required parameter from JSON String using robotframework keyword

后端 未结 3 652
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-28 10:38

The following is my JSON response string

{
 \"macKey\": \"This_is_a_Test_QED_MAC_Key_Which_Needs_to_be_at_Least_32_Bytes_Long\",
\"subject\": \"delivery@token.co         


        
3条回答
  •  不知归路
    2021-01-28 11:25

    You can use robotframework-httplibrary then you can get it like this:

    ${value}= Get Json Value ${json} /generatedToken

提交回复
热议问题