<BUG>String response = template.requestBody("restlet:http://0.0.0.0:" + portNum + "/stock/ORCL?restletMethod=get", null, String.class);</BUG><CONTEXT>import org.restlet.representation.StringRepresentation;public class RestletSetBodyTest extends RestletTestSupport {protected static int portNum2 = AvailablePortFinder.getNextAvailable(4000);@Testpublic void testSetBody() throws Exception {<extra_id_0>assertEquals("110", response);}@Test</CONTEXT>
String response = template.requestBody("restlet:http://localhost:" + portNum + "/stock/ORCL?restletMethod=get", null, String.class);