'I have been retriving this error multiple times jasonpath name doesnt match

enter image description here

Below is the error that is generating. I am trying to extract name and value from the JSON body! I am expecting in console name and value



Solution 1:[1]

Your path to extract value is wrong. The correct path would be .body("data.name", equalTo("jeetu"));

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 lucas-nguyen-17