Forum Discussion
Hi,
Hope I am not talking trash here... not exactly sure what you want to achieve... but in order to have a dynamic port you could use a project property. For instance I added a project property like:
Afterwards I used it in my subsequent request like:
Let me know if it helps! :smileyhappy:
First of all, thank you for the quick reply.
Let me explain what I have and what I want:
I have a project like this:
and the MockProxy is working as a "proxy" and returns the response of the MockService using this script: The problem is that the MockService Port is set:
So I want to override this Mock Service Port=8089 through command line or a property file, and then, in the script, instead of the http://localhost:8089/budg/inforeuro/api/public/monthly-rates use the overridden port, lets say http://localhost:<port>/budg/inforeuro/api/public/monthly-rates.
I don't know if it is possible to override the Port=8089 and then pass it as parameter in the URL.
Sorry if I didn't explain it in the first time, and thanks again for the quick reply!
Related Content
- 12 years ago
- 10 months ago
Recent Discussions
- 2 days ago
- 2 days ago