arm
arm

Reputation: 451

JMeter: How can I get JSON value?

I want to test value of numFound and needs to be non zero. I have following enter image description here

and I have tried following enter image description here

I get following errors enter image description here

Upvotes: 1

Views: 79

Answers (1)

timbre timbre
timbre timbre

Reputation: 14004

I think the case of letters in variable name is important: $..numFound instead of $..numfound. Also remember that JSON path returns a valid JSON array, so it will look like this: [148].

Upvotes: 2

Related Questions