V2.5 - Jsonpath expression gives a false negative with comparision
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2018
02:02 PM
10-12-2018
02:02 PM
V2.5 - Jsonpath expression gives a false negative with comparision
Jsonpath expression assertion to match values fails though the values are matching which is a false negative.
I have a jsonpath expression to match assertion, under the expected result section, option 'Select from Current' brings a value from the response and when I click on 'test' button. it says that the comparison failed. Here is the error message.
Ex: Comparison failed. Path: [$.data.accounts[?(@.id =='${DataSource#account_id}')].number]; Expected value: [[16101]]; Actual value: [[16101]].
It's ready API V2.5
5 REPLIES 5
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2018
12:53 AM
10-13-2018
12:53 AM
It's a bug in ReadyApi 2.5. The support guys are already looking into it.
If my answer helped please click on the 'Accept as Solution' button.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2018
09:33 AM
10-15-2018
09:33 AM
Hi @Lucian
Thanks a lot for the reply!
Is there a ticket number from smartbear that you are aware of?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2018
09:46 AM
10-15-2018
09:46 AM
Yes. I'll find it and post it tomorrow.
If my answer helped please click on the 'Accept as Solution' button.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2018
12:26 AM
10-16-2018
12:26 AM
Case #00315224 was recorded for fixing this. I will keep you posted.
If my answer helped please click on the 'Accept as Solution' button.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2018
02:20 PM
10-16-2018
02:20 PM
Thanks for the update.
