Parametrized domain URL in request objects

Hello, is there a possibility to send a WS request to a URL which domain is passed as a global variable to replace the [DOMAIN] part in example below, so I don’t have to create multiple test (or now them in advance) objects with hard-coded domain part of URL?

http://[DOMAIN]/page?param=example

Hi there, This is how I have done, in my project …

A. Firstly create a Global Variable.
B. In the object repository, create a variable and assign it to global variable.
C. Assign the variable name in object repository URI