Noticed this when trying to use a parameterized endpoint URL.
Steps:
- Create a web request, point it at a URL with a variable in the name (eg. ${HostName}/api/v1/doAThing)
- Add a variable for HostName, set to a valid URL
- Add a variable that is of type number, set value to -1
- Run the request, you should see a noProtocol error.
- Change the value of your number variable to 1
- Re-run the request, it should work (no exceptions thrown)
It appears to me that the variable definition file isn’t being read it properly when a number value is negative. Using a string works fine (since there are quotes around the value).
Tested on Katalon Studio 6.1.5.
Would be interested to see some feedback and if other people have experienced this.