Forum Discussion

blade's avatar
blade
Occasional Contributor
10 years ago
Solved

SoapUI NG Pro 1.4.0 - JSON Response view removing decimal points

Hello,

 

I am testing  REST API's. I just upgraded to 1.4.0. On my tests, I have a content assertion for an account balance field. This has always been set to validate a content of '0.0'.

 

However after upgrading, this assertion always fails. Expected 0.0, Actual 0.

1.4.0 is removing the decimal point in JSON view, the raw response still contains the decimal point.

 

Example of Raw response:

{

    "OutstandingBalance": 0.0

}

 

Example of JSON View tab for same element:

{

    "OutstandingBalance": 0

}

 

Can this be investigated please as all of my existing tests (of which there are a lot) are failing because of this. It is the 0.0 value I am expecting to see.

 

Please let me know of any additional information that may be needed.

 

Thanks

  • While TestComplete supports JavaScript (and other scripting languages), its editor and IntelliSense features are not as rich as those like VS Code. TestComplete IntelliSense will not fully parse JSDoc-style comments, as shown below.

    I suggest you provide similar comments, as a lookup for your users