Disable Placeholders

By default some values that change from test to test or environment to environment are replaced with placeholders. These replacement:

You can disable these feature by method disablePlaceholders on RestExtension class.

Without disablePlaceholders flag

Given you include following options in your fixture class:
@Extension		
public RestExtension extension = new RestExtension();
		
And there is a enpoint /where-i-am serving
{"location": "http://localhost:8080/where-i-am"}
And it is setting session to: ajsh2934sdjhfdskf

When you run following fixture:
<rest:request>
	<rest:get>/where-i-am</rest:get>
	<rest:responseBody>
		{ "location": "http://{host}:{port}/where-i-am" }
	</rest:responseBody>
	<rest:header name="Set-Cookie">JSESSIONID={sessionId}</rest:header>
</rest:request>		
		
Then it should succeed.

With disablePlaceholders flag

Given you include following options in your fixture class:
@Extension		
public RestExtension extension = new RestExtension().disablePlaceholders();
		
And there is a enpoint /where-i-am serving
{"location": "http://localhost:8080/where-i-am"}
And it is setting session to: ajsh2934sdjhfdskf

When you run following fixture:
<rest:request>
	<rest:get>/where-i-am</rest:get>
	<rest:responseBody>
		{ "location": "http://localhost:8080/where-i-am" }
	</rest:responseBody>
	<rest:header name="Set-Cookie">JSESSIONID=ajsh2934sdjhfdskf</rest:header>
</rest:request>		
		
Then it should succeed.