How to change a format from symbol to number?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to change a format from symbol to number?
Hi! I have one row,in request, where data is in symol format, i need insert data in another request, but i need plus number. How can i change format, from symbol to number in SoapUI?
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can you tell us a little bit more about this question? Maybe upload a print screen so we can better understand?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For example, i have in one request field in char format, i need this data transfer to another request but add some number. For that, i need change from char to varchar. Can i change it in SoapUi?
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey ,
you stated "For example, i have in one request field in char format, i need this data transfer to another request but add some number. For that, i need change from char to varchar. Can i change it in SoapUi?"
Is this XML or JSON?
REST or SOAP?
How are you populating the request with data? Are you hard coding the data values or are you building the content of the request via say a Datasource?
If it's .json rather than .xml - datatypes are maintained more visually in .json - so if "3" is considered text, 3 is considered numeric
so if you had a .json name value pair as follows:
"attributevalue" : "3" << the value would be considered text
"attributevalue" : 3 << the value would be considered numeric
If the above doesn't help - providing more detail for your use case (consider the questions above and others I haven't specified) can only help people diagnose the issue
Cheers,
Richie
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks everyone for your participation.
@PavloRaketa , have you tried what Richie suggested? Did this help?
Olga Terentieva
SmartBear Assistant Community Manager
