JMeter JSON Extractor, extract all values of one key in a string

后端 未结 1 2082
梦谈多话
梦谈多话 2020-12-19 14:53

Using Apache JMeter ver 3.2 r1790745 (the latest) to test a JSON Web Service, the response is like:

[ {
   \"id\" : 3,
   \"description\" : \"Back\",
   \"na         


        
相关标签:
1条回答
  • 2020-12-19 15:14

    If you configure your JSON Extractor like:

    You will get the required value as ${foo_ALL}


    I don't think using Beanshell is the best way to check JMeter Variable value, going forward I would suggest using Debug Sampler instead, see How to Debug your Apache JMeter Script for more details.

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