Comments (5)
Hi, there already is the possibility to assign multiple URLs to a project and choose, e.g. for a test execution, against which URL tests are executed. I get your point that frontend and backend may be on different servers and that there is the need for your suggestion.
The only issue I see here is how to deal with the import and export of symbols. I can imagine that on export, the absolute URL is exported (although specified as relative to a base URL) and on import, it is checked if there exists a URL in the project that is a prefix of the URL in the action and select this one. What do you think about this?
from alex.
This is implemented with 1b6ea8d
from alex.
Would be great if you would implement it that way. Sounds really good :-)
from alex.
Having multiple base URLs would be great 👍
I'm not sure if the automatic conversion to absolute URLs is a good idea. It might be surprising for the user that, if he forgets to configure the base URLs, some URLs are suddenly absolute after import. Another problem I see is that the export results will be different depending on the configuration/environment. If I'm testing production and do an export, the export file will contain the URLs of the production environment. If I test locally, the URLs will be that of the local environment. That's why I would prefer that for each symbol the label of the base URL + the relative URL would be exported. If the base URL doesn't exist during import, an error would be thrown, saying which base URLs are missing. One requirement for this to work would be that the label of the base URL is a mandatory input. I would even go so far as to say that absolute URLs might not be needed at all. In most (if not all) cases it's better to use a base URL + relative path.
from alex.
Edit: This is not correct, nevermind.
One small additional point: Automatic conversion to absolute URLs would not allow for base URLs like http://localhost:3000/api/v1
, after one export/import the base URL would become http://localhost:3000
.
from alex.
Related Issues (20)
- Default values for symbol parameters
- Specify data sets for test cases
- Remove contraint for symbol names to be unique
- NotFoundException: The test report could not be found. HOT 1
- Backend loses connection to the database HOT 1
- Aborting learning processes does not work reliably HOT 1
- Pass logs during tests to frontend
- Display project id in project details widget
- Docs: add more information for local setup HOT 1
- During a learner process indicate better that something is happening HOT 1
- Frontend: show that there are unsaved changes in a symbol
- Restrict browsers and platforms HOT 1
- Frontend: explain what request and browser cookies are HOT 1
- Separate learner and test processes in separate worker services
- Trouble with TodoMvc sample HOT 1
- Test status reports "no current testrun" despite having an active testrun. HOT 1
- Durting testing, create images for each action, not just every symbol
- TodoMVC Example Project Is Not Reachable
- Validate JSON Action does not allow a JSON schema to be provided
- Docker stack deployed on arm based machines, sometimes causes the backend container to freeze.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alex.