jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Lin" <wool...@gmail.com>
Subject Re: Does JMeter support xmlunit?
Date Thu, 24 Aug 2006 12:03:53 GMT
the junit sampler looks for all classes that extend junit TestCase.

it does not support xmlunit.  you can look at junit and write a sampler for
xmlunit.

peter

On 8/24/06, Campbell Purvis <Campbell.Purvis@earthport.com> wrote:
>
> Hi - if anybody has experience with JUnit and JMeter I would be grateful
> of
> a response to my question.
>
> In summary, am I correct in thinking JMeter JUnit Sampler can ONLY
> associate
> classes (test cases) that DIRECTLY extend junit.framework.TestCase, and
> not
> - for example - xmlunit (which is a specialisation of
> junit.framework.TestCase).
>
> On 8/22/06, Campbell Purvis <Campbell.Purvis@earthport.com> wrote:
> >
> > Hi. If I change my test case to extend
> > org.custommonkey.xmlunit.XMLTestCase
> > rather than junit.framework.TestCase, JMeter does not find the test
> cases
> > when adding a JUnitRequest sampler.
> >
> > Is this correct, am I missing something, or is there any way I can use
> > xmlunit with JMeter? Note that XMLTestCase itself extends
> > junit.framework.TestCase.
> >
> > Kind regards,
> > Campbell Purvis
> >
> >
> >
> > ________________________________________________________________________
> > The contents of this email are confidential to earthport plc and
> intended
> > to be received by the addressee(s) only. If you have received this email
> in
> > error, please promptly notify us by reply and delete it, along with all
> > copies in your possession. The unauthorised use, disclosure or copying
> of
> > this email, or its contents, is prohibited. Any opinion expressed in
> this
> > email is personal to the sender and in no way represents the views of
> > earthport plc. This email cannot be relied upon to create a contract or
> any
> > obligation on the part of earthport plc. All e-mail passing through the
> > Company's e-mail systems may be subject to monitoring. earthport plc
> accepts
> > no liability for errors or viruses. earthport plc is a company
> incorporated
> > in England and Wales (Reg. No. 342 8888) with its registered office at
> 21
> > New Street, London. EC2M 4TP. You may call us at any time on +44 (0)207
> > 2209700, or email us at info@earthport.com.
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message