Completed
Last Updated: 10 Feb 2017 16:30 by ADMIN
Alexis
Created on: 20 Dec 2016 19:06
Type: Feature Request
0
base-url not recognised
I have just downloaded the latest version 2016.3.928.0 (why cant i copy this version number from the help about menu?).

have set base-url under project to http://localhost:59093 and added a test that calls {{base-url}}/SxWinService?environment=uat1&serviceName=*Entity* however when run it calls http://localhost:5000/SxWinService?environment=uat1&serviceName=*Entity*

At least it did last few times I ran it, but not this time, very strange I don't think I have done anything.  maybe saved the project, hmmm. weird.  Anyway there is defo something strange about this.

Very much like this https://feedback.telerik.com/Project/182/Feedback/Details/205353-base-url-mostly-defaults-to-localhost5000 

which seems to be signed off, but there is something weird with it.  Maybe try testing on a fresh box...
2 comments
ADMIN
Oleg
Posted on: 10 Feb 2017 16:28
Hi,

The issue with auto-save of changed project variables, that I described in my last post is now fixed in the R1 2017 release.

Please let us know if you notice any further issues.
ADMIN
Oleg
Posted on: 21 Dec 2016 11:53
Hello Alexis,

Thank you for reporting the problem. 

I tried to reproduce it myself and the behavior that you describe appears only if the project is not saved. I think I should clarify that Test Studio for APIs executes only whatever is already saved in the project files. If you make a change in a variable or a test and execute the project or a particular test without saving the change, than the original state of the tests (without the change) will be executed (not what you see in the UI).
This is why we show a "Save Modified Files" prompt every time you try to execute tests and there are unsaved changes (unless you dismiss it with "Don't ask me again").

However, now I see that there is a problem in the application that might be related to your experience. If you change a project-level variable and try to execute the project, the "Save Modified Files" prompt will appear, but even if you click "Save" before executing, it will not save changes in the project variables. This is a bug and I will log it for fixing on our side. So please, do not rely on the automatic pre-execute saving when you modify project variables. Until we fix this, please save your changes explicitly before you execute your tests (using "Ctrl+Shift+S" from the keyboard or by clicking in the menu on "File" >> "Save All"). You will easily notice if there are unsaved changes, because the name of the respective project or test will appear bolded in the project explorer.

I hope this helps. Please let us know if you think that my assumption for the root cause of your issue is wrong or if you have further feedback. For future bug reports I would recommend using the ticket support system as you will get a response faster.