SiKing
14 years agoCommunity Expert
JDBC unused variable
Running SoapUI 4.0.1 on Linux.
If I create a JDBC step, define a variable, but never use this variable in the SQL Query, then I get:
Error getting response; java.lang.IllegalArgumentException: Parameter not found: lastOrderNumber
The workaround is to insert the variable name in as a SQL comment; something like:
--:lastOrderNumber
If I create a JDBC step, define a variable, but never use this variable in the SQL Query, then I get:
Error getting response; java.lang.IllegalArgumentException: Parameter not found: lastOrderNumber
The workaround is to insert the variable name in as a SQL comment; something like:
--:lastOrderNumber