@Test public void testSetupConnection() throws Exception { System.out.println("setupConnection"); URL u = null; HttpMethodBase httpMethod = null; OAuthSampler instance = new OAuthSamplerEmul(); HttpClient expResult = null; HttpClient result = instance.setupConnection(u, httpMethod); }
protected HttpClient setupConnection(URL u, HttpMethodBase httpMethod) throws IOException { HTTPSampleResult temp = new HTTPSampleResult(); return super.setupConnection(u, httpMethod, temp); }
OAuthSampler extends HTTPSampler2 { protected HttpClient setupConnection(URL u, HttpMethodBase httpMethod) throws IOException { HTTPSampleResult temp = new HTTPSampleResult(); return super.setupConnection(u, httpMethod, temp); } }
OAuthSampler extends HTTPSampler2 { protected HttpClient setupConnection(URL u, HttpMethodBase httpMethod) throws IOException { HTTPSampleResult temp = new HTTPSampleResult(); return super.setupConnection(u, httpMethod, temp); } OAuthSampler(); }
OAuthSampler extends HTTPSampler2 { protected HttpClient setupConnection(URL u, HttpMethodBase httpMethod) throws IOException { HTTPSampleResult temp = new HTTPSampleResult(); return super.setupConnection(u, httpMethod, temp); } OAuthSampler(); void setConsumerKey(String consumerKey); void setConsumerSecret(String consumerSecret); String getConsumerKey(); String getConsumerSecret(); void setRequestBody(String data); void setRequestHeaders(String headers); String getRequestBody(); String getRequestHeaders(); void setResource(String data); String getResource(); void setPortNumber(String data); String getPortNumber(); void setHostBaseUrl(final String data); String getHostBaseUrl(); URL getUrl(); @Override SampleResult sample(); }
OAuthSampler extends HTTPSampler2 { protected HttpClient setupConnection(URL u, HttpMethodBase httpMethod) throws IOException { HTTPSampleResult temp = new HTTPSampleResult(); return super.setupConnection(u, httpMethod, temp); } OAuthSampler(); void setConsumerKey(String consumerKey); void setConsumerSecret(String consumerSecret); String getConsumerKey(); String getConsumerSecret(); void setRequestBody(String data); void setRequestHeaders(String headers); String getRequestBody(); String getRequestHeaders(); void setResource(String data); String getResource(); void setPortNumber(String data); String getPortNumber(); void setHostBaseUrl(final String data); String getHostBaseUrl(); URL getUrl(); @Override SampleResult sample(); static final String CONSUMER_KEY; static final String CONSUMER_SECRET; static final String REQUEST_BODY; static final String PORT_NUMBER; static final String RESOURCE; static final String BASE_HOST; static final String REQUEST_HEADERS; }