Forum Discussion
nmrao
Champion Level 1
9 years agoSoapUI properties are stored as String only. It is users responsibility to read it as required type.
In this case, you can simple use
def timeoutMinutes = context.expand( '${#TestCase#SW update timeout minutes}' ) as Integer
- tgeliot9 years agoContributor
Indeed using "as Integer" is a tidier solution to converting the string to an integer, rather than calling Integer.parseInt or anything like that, thanks.