How to extract values from json in jmeter when the keys are unkown?

后端 未结 2 918
后悔当初
后悔当初 2021-01-27 07:32

I have a json response as, { \'sadasd123242\' : \'asdadada122dfsfs\', \'dadsadaskljk\' : \'adasdasdasdsadds\' } I want to extract the keys from the response in jmeter test u

2条回答
  •  一向
    一向 (楼主)
    2021-01-27 08:06

    Considering first value as key which is dynamic and second value you have to fetch.

    You can use "Boundary extractor" post processor in that case by defining the left and right boundary as shown in the below image.

    Check the below test for boundary expression to get the desired result:-

    Hope this help.

提交回复
热议问题