%% Last Updated: - [[2021-04-02]] %% In [[JMeter]], you can accomplish this by creating a variable for your environment. Right click on Test Plan > Add > Config Element > User Defined Variables. Then, click Add and then set the name and value for your variable. ![](assets/1622579184_21.png) You’ll want the value of the variable to be the URL of the environment you currently want to test. Then, create an HTTP Request Defaults config element (right click on Test Plan > Add > Config Element > HTTP Request Defaults). In this config element, you’ll add `${environment} `as the URL. That way, any requests with a blank field for the server name will take the value of the variable you created in User Defined Variables as the default domain. The last step is to go ahead and delete the domain name of all HTTP requests so that the variable in the default is used. This way, when you want to change the domain name you’re testing, you only need to change it in one place: User Defined Variables.