Forum Discussion

sushant99's avatar
sushant99
Occasional Contributor
14 years ago

soapui pro datasource step removes leading zero

Hi there,

I am fetching records from Oracle database table (column - float) and the data is something like this 0.1234
SOAPUI pro is stripping the leading zero in the result and displaying the value as .1234

This is causing all of our automation test case to fail.

Please respond how can we tackle this.

-Sushant

3 Replies

  • RomanSki's avatar
    RomanSki
    New Contributor
    Same problem here, I can't make proper checks if this is not working.
  • MartinSpamer's avatar
    MartinSpamer
    Frequent Contributor
    Unless you post an example of your broken code, details about how your retrieving the data, how you are making your assertions any help offered with be based on guesses.
    • SuperSingh's avatar
      SuperSingh
      Contributor

      I encountered the same problem . DataSource removes 0 when we pass numbers from Excel that are prefixed with 0 .

      I changed the format of cells in excel and set it to Text. Now DataSource treats those cellls as Text and passes the values as it is. This way it passes values even if it is simply 0.

      Hope that helps !