Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6F825D11D for ; Thu, 14 Mar 2013 14:21:04 +0000 (UTC) Received: (qmail 21686 invoked by uid 500); 14 Mar 2013 14:21:04 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 21461 invoked by uid 500); 14 Mar 2013 14:21:03 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 21380 invoked by uid 99); 14 Mar 2013 14:21:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 14:21:02 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.160.49 as permitted sender) Received: from [209.85.160.49] (HELO mail-pb0-f49.google.com) (209.85.160.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Mar 2013 14:20:56 +0000 Received: by mail-pb0-f49.google.com with SMTP id xa12so2261266pbc.8 for ; Thu, 14 Mar 2013 07:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:message-id:in-reply-to:references:subject :x-mailer:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sbIupg0wFkJvtF2kV5lrN4DsOVkTAE92NXeZvyWH05c=; b=WaxunJ/uaSw7gA13+83kup/LsxIpylrHv0yrloaGmMjqM9dhsosH3Ue3D6P/4Ttprj N7WeFquCWZdI3fOwNZWP72WfQPvWfan4b7gwE2gOE4GYcHKWx51wJigi6GMQ4tMiXDKa /Rwuam5r0FHI6VOZU91UN4Fr7EM2E9SvkjR4Ml6at1kue7mzK2hGDf6cU8Jr3/y7YPOV 5iG78ZrMByANl9ENLCzn/IRcf9TXvhmOlx96VKBAK1kNSY0Fe+vhwWBPoNJJDoU5OByk 8z0Iyxuv77X8n4ZqlcMlOGSQgkLCxvKZm+81mNDaRaEWny+YfOOfoltlnmlTseX4UMMX Ohbg== X-Received: by 10.68.125.169 with SMTP id mr9mr6197090pbb.74.1363270835731; Thu, 14 Mar 2013 07:20:35 -0700 (PDT) Received: from [192.168.1.135] ([111.193.234.124]) by mx.google.com with ESMTPS id kb3sm3495110pbc.21.2013.03.14.07.20.32 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 14 Mar 2013 07:20:34 -0700 (PDT) Date: Thu, 14 Mar 2013 22:20:26 +0800 From: Willem jiang To: users@camel.apache.org Message-ID: In-Reply-To: <1363266141736-5729176.post@n5.nabble.com> References: <4ECF6E21.5000500@gmail.com> <1363266141736-5729176.post@n5.nabble.com> Subject: Re: Testing an http component X-Mailer: sparrow 1.6.4 (build 1176) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org The LocalTestServer is the httpclient-4.x test support class. =20 You need add the httpclient-4.x-tests.jar in your class path. -- =20 Willem Jiang Red Hat, Inc. =46useSource is now part of Red Hat Web: http://www.fusesource.com =7C http://www.redhat.com Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) = (English) http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang =20 Weibo: =E5=A7=9C=E5=AE=81willem On Thursday, March 14, 2013 at 9:02 PM, vss123 wrote: > Hi, > =20 > Can u provide little more guidance on how to write test without jetty. = I see > http4 unit test use LocalTestServer. But that's not bundled with camel-= http4 > jar I guess. Am I missing something=3F > =20 > Thanks. > =20 > =20 > =20 > -- > View this message in context: http://camel.465427.n5.nabble.com/Testing= -an-http-component-tp5022115p5729176.html > Sent from the Camel - Users mailing list archive at Nabble.com (http://= Nabble.com).