REST Client Response - Numbers are converted
In rest client if from server response is coming as '5' parasoft makes it in '05' for which our comparison fails. How can we manage in parasoft to get the exact data from provider.
Comments
-
In which SOAtest tool are you seeing the "05"? Is it in the traffic? Is it in a tool chained to the REST Client?
0 -
both in traffic and chained tool
0 -
SOAtest does not modify the data that it shows within the traffic viewer, except to "beautify" it which means it might adjust new lines and spacing to make the payload easier to see. But it does not modify actual values. If you are seeing values that are different than you expect in the Traffic Viewer, I suspect that your service is returning different data than you expect. I would verify that your service is actually returning what you expect.
0 -
You may want to consider disabling "auto-beautify". This is an option in the SOAtest preferences under "Misc". I often do this so that the traffic viewer shows me the actual message that I sent or received, and not a "beautified" (formatted or pretty-printed) version.
0