JMeter: How to use Regular Expression to extract the value of a duplicate field?

后端 未结 7 695
名媛妹妹
名媛妹妹 2021-01-17 02:35

I have the following Response Body JSON:

{
    \"address\": [
    {
        \"id\": \"1234\"
    }
    ],
    \"id\": \"d1a4f010-48d9-434b-9b3a-2d2b12f5e38c\         


        
相关标签:
7条回答
  • 2021-01-17 03:35

    step 1:

    id:"1234";

    id:(.+?)

    "1234"

    But we need only the value. So try this,

    Step 2:

    id:"1234";

    id:('(.+?)')

    1234

    0 讨论(0)
提交回复
热议问题