Forum Discussion

prasun236's avatar
prasun236
Occasional Contributor
9 years ago

Data source step removes leading zero

I have a Database select query which returns values like "0.5"

 

If I run this select query using DB Visualizer then it returns me the value "0.5" but when I run the Select Query from Soap UI data source step it omits the leading zero and returns ".5" instead of "0.5"

 

As a result my assertion is failing. Please let me know how to handle this.

2 Replies

    • prasun236's avatar
      prasun236
      Occasional Contributor

      I was able to resolve this using Groovy Script with Contains statement.

       

      Closing the post.