Pulling multiple values from JSON response using RegEx Extractor

前端 未结 4 1073
情话喂你
情话喂你 2020-12-03 23:00

I\'m testing a web service that returns JSON responses and I\'d like to pull multiple values from the response. A typical response would contain multiple values in a list. F

4条回答
  •  無奈伤痛
    2020-12-03 23:55

    You can just add (?s) to the regex to avoid line breaks.

    E.g: (?s)"name":"(.+?)","description":"(.+?)"

    It works for me on assertions.

提交回复
热议问题