You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (Commented) (JIRA)" <ji...@apache.org> on 2012/03/14 18:30:40 UTC

[jira] [Commented] (HTTPCLIENT-1172) LocalTestServer and supporting classes should be available as a separate jar

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13229405#comment-13229405 ] 

Oleg Kalnichevski commented on HTTPCLIENT-1172:
-----------------------------------------------

HttpClient testing framework is already available as a Maven artifact.   
---
    <dependency>
      <groupId>org.apache.httpcomponents</groupId>
      <artifactId>httpclient</artifactId>
      <version>4.1.3</version>
      <scope>test</scope>
      <classifier>tests</classifier>
---

LocalTestServer is actually nothing more than a very thin wrapper around server-side HttpCore. What is the reason for not using HttpCore directly?

Oleg
                
> LocalTestServer and supporting classes should be available as a separate jar
> ----------------------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1172
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1172
>             Project: HttpComponents HttpClient
>          Issue Type: Wish
>          Components: HttpClient
>    Affects Versions: 4.2 Beta1
>            Reporter: jonathan doklovic
>            Priority: Minor
>
> LocalTestServer and it's supporting classes are useful to anyone who wants to easily "mock"/test simple http calls without having to embed a full jetty or something.
> It would be awesome if these were available in a separate http-localtestserver.jar that could be used in projects outside of httpclient.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org