Forum Discussion

nicorette's avatar
nicorette
Occasional Contributor
9 years ago

Prevent property expansion - escape ${...}

Hello,

 

when using the newest ReadyAPI-version 1.8.0 the escaped '$' does not work anymore.

 

In the following article you recommended using an addionally '$' to escape the '$':

https://community.smartbear.com/t5/SoapUI-Open-Source/How-to-escape/td-p/9871

 

workaround 1: Strangely, if you use three '$' it works.

workaround 2: You have implemented a new option to enable or disable property expansion for a specific testStep.

 

BUT:

The possible workarounds will cause to change every single testStep and would not be compatible to older ReadyAPI versions. Workaround 2 does also not being the right way to fix the issue globally, e.g. you need to work with mixed states, like at some point you need property expansion but at the other you want to disable it by using the escape option.

 

The mentioned issue can also be reproduced with the latest nightly build.

 

  • nicorette's avatar
    nicorette
    Occasional Contributor

     

    This issue is fixed in nightly build

     

     

    Thanks.

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)

    Hi Nicorette,

     

    When you are saying that "'$' does not work anymore", does it mean that the same test worked in previous Ready! API versions? In this case, this sounds like an issue to me. Could you please report this behavior to our Customer Care Team so that they could investigate it?

     

    • nicorette's avatar
      nicorette
      Occasional Contributor

      The issue occurs since ReadyAPI-1.8.0. With previous versions the metioned problem is non-existent.

       

      I've reported it to the care team. Thanks.