Forum Discussion
nmrao
10 years agoCommunity Hero
SoapUI 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- tgeliot10 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.