Completed
Last Updated: 16 Nov 2016 07:41 by David
David
Created on: 10 Nov 2016 14:52
Type: Feature Request
0
{{base-url}} mostly defaults to localhost:5000
I can't exactly replicate but I did get it to work once but if I open a new project and change base-url to for instance localhost:54304 I can see the request is being sent to localhost:5000/api/blah when I plug in {{base-url}}/api/blah to a new step. I even had it where I got it to recognise the right port but then realised I had made a typo "localhost:5430" and couldn't get it to recognise the new value
5 comments
David
Posted on: 15 Nov 2016 17:01
Have tried with 2016.3.1115.0 and this seems to be resolved thanks
ADMIN
John
Posted on: 15 Nov 2016 14:00
HI David,

Could you try with the latest build of TestStudio for APIs? If the problem persist I would suggest you to submit a support ticket with your project, so we can investigate the issue in details.

Best Regards,
Ivan Atanasov 
David
Posted on: 14 Nov 2016 12:11
I take that back I have replicated it. It appears to be that its all fine for GET requests but if you have set up steps for various methods, then change a variable in this case "baseUrl" (not this is a new variable I have created) then the HEAD, PUT, DELETE requests continue to use the old variable value
David
Posted on: 13 Nov 2016 12:02
I think this may have been fixed (its seems ok now) I have created a custom variable and am using that. 

Keep it up this is such a useful tool
ADMIN
Kiril Stanoev
Posted on: 11 Nov 2016 09:30
Hi David,
Thanks for writing.
Unfortunately I was unable to reproduce the issue you're describing. If you succeed in reproducing the problem consistently, I'd like to ask you to send us a sample project in our support system. This way we will be able to debug it at our end and resolve the issue faster. Thank you for your cooperation.

Regards,
Kiril