NKelly
13 years agoOccasional Contributor
Property Transfer drops leading zeros?
Hi,
Can someone help with this issue:
I have a JDBC request in my SoapUI Pro test case that goes to the database and retrieves serial numbers.
The xml response shows the serial numbers correctly - with leading zeros if applicable.
Example, the xml response would show the a serial number as: 012345674897
I then do a simple property transfer to a properties file to store the serial number for later use.
(ie. Source is the Response from the JDBC request which I used the "Get Data" function - "ResponseAsXml", found the row and select it and Target is a new field in a property file)
But when it transfers the data to the properties file it stores it as 12345674897 (drops the leading zeros).
Can anyone help with a way around this?
Thank you.
Can someone help with this issue:
I have a JDBC request in my SoapUI Pro test case that goes to the database and retrieves serial numbers.
The xml response shows the serial numbers correctly - with leading zeros if applicable.
Example, the xml response would show the a serial number as: 012345674897
I then do a simple property transfer to a properties file to store the serial number for later use.
(ie. Source is the Response from the JDBC request which I used the "Get Data" function - "ResponseAsXml", found the row and select it and Target is a new field in a property file)
But when it transfers the data to the properties file it stores it as 12345674897 (drops the leading zeros).
Can anyone help with a way around this?
Thank you.