https://bz.apache.org/bugzilla/show_bug.cgi?id=63615
Bug ID: 63615
Summary: JSON Path Extractor is giving the duplicate Values
Product: JMeter
Version: 4.0
Hardware: PC
Status: NEW
Severity: blocker
Priority: P2
Component: Main
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: JMETER_5.2
Hi Team,
[{
"temperature": 54.4461,
"area": "US",
"listeners": [{
"area": 1,
"areaCode": 0,
"places": 780
}],
"province": "california"
},
{
"temperature": 59.4461,
"area": "US",
"listeners": [{
"area": 1,
"areaCode": 3,
"places": 780
}],
"province": "ohaiio"
},
{
"temperature": 51.4461,
"area": "US",
"listeners": [{
"area": 1,
"areaCode": 0,
"places": 780
}],
"province": "florida"
},
{
"temperature": 54.4461,
"area": "US",
"listeners": [{
"area": 1,
"areaCode": 0,
"places": 780
}],
"province": "california"
}
]
I have a json like this and i am trying to extract temperature of the places
where area code is 0
We have used the below path to extract the json values.
$[?(@.listeners.[?(@.areaCode == 0)])].temperature
Instead of taking 3 values the json extractor is taking all the values.
--
You are receiving this mail because:
You are the assignee for the bug.