Forum Discussion

JoostDG's avatar
JoostDG
Frequent Contributor
7 years ago
Solved

<BUG?> Check for existence JSON Node no longer works as expected in 2.3.0

When a value is empty the assertion for JSONPath Existence Match will now (in SOAPui 2.3.0) say "False", even though the JSON Node does exist (it just does not have any value but null). In SOAPui 2.2.0 this still worked as expect.

 

https://support.smartbear.com/readyapi/docs/testing/assertions/reference/property/json-exist.html

 

 

  • Hey lgermain315,

     

    There was an issue with the recent deployment in the maintenance build that didn't include a fix for when the JSON element was null. 

     

    That issue has been rectified and I have confirmed it this morning (EDT). Please download the maintenance build once again.

     

    https://support.smartbear.com/downloads/readyapi/maintenance

     

    Hey JoostDG and anyone else who stops by this post, 

     

    Our development team puts some bug fixes into our maintenance build so that we can get the resolution out to the customer quickly. The fix will then be included in the next release of ReadyAPI (2.4). For the time being, please continue using 2.3.0-m and keep an eye out for when 2.4 is released. 

     

    Have a great day! 

5 Replies

  • StevenColon's avatar
    StevenColon
    SmartBear Alumni (Retired)

    Thank you for posting to our Community Forum.

     

    We currently have an open defect (RIA-6930) with the JSON Existence assertion returning false if the element has an empty or null value.

     

    Please open a ticket with us so that we can update you as our developers look intothis issue.

     

    https://support.smartbear.com/message/?prod=ReadyAPI

     

    Have a great day!

    • lgermain315's avatar
      lgermain315
      Occasional Contributor

      Hi Steven,

       

      I've updated to the latest "ReadyAPI 2.3.0-m-SNAPSHOT" (https://support.smartbear.com/downloads/readyapi/maintenance)

      however, this 'existence' assertion still fails for null values.

       

      Fyi, I could not find the original bug submission: 

      Case: 00286704. 

      SoapUI Version 2.3 will fail 'existence' assertions if the property has a value of NULL. This is a new change and effects the existence assertion definition.

       

      Thanks,

       

      Luke

  • StevenColon's avatar
    StevenColon
    SmartBear Alumni (Retired)

    Hey lgermain315,

     

    There was an issue with the recent deployment in the maintenance build that didn't include a fix for when the JSON element was null. 

     

    That issue has been rectified and I have confirmed it this morning (EDT). Please download the maintenance build once again.

     

    https://support.smartbear.com/downloads/readyapi/maintenance

     

    Hey JoostDG and anyone else who stops by this post, 

     

    Our development team puts some bug fixes into our maintenance build so that we can get the resolution out to the customer quickly. The fix will then be included in the next release of ReadyAPI (2.4). For the time being, please continue using 2.3.0-m and keep an eye out for when 2.4 is released. 

     

    Have a great day! 

  • JoostDG's avatar
    JoostDG
    Frequent Contributor

    The latest maintenance build I've just downloaded did fix the issue. Great! I have closed the Case #00287056: (RIA-6930)


    Can you explain me how Smartbear proceeds from this? 
    Will there be a new deploy version 2.3.1 with bug fixes? If so, when will this be available? Or do I have to use the maintenance build from now on? Or will there be an automatic patch?

     

  • lgermain315's avatar
    lgermain315
    Occasional Contributor

    Thanks guys, the newest download seems to be working. 

     

    Luke