Cusomizing Host and Port

Default host and port can be customized by using methods on RestExtension class.

Configure default host and port

Given you include following options in your fixture class:
@Extension		
public RestExtension extension = new RestExtension().host("127.0.0.1").port(9876);
		
When you run following fixture:
<rest:request>
	<rest:get>/hello</rest:get>
</rest:request>		
		
Then GET request to /hello has been sent to http://127.0.0.1:9876/hello