In this case, it looks like the comparison needs to allow for
differences in error messages.

Or it may be possible to drop the message field from the output
without compromising the test.

On Wed, 2 Oct 2019 at 17:39, sebb <[email protected]> wrote:
>
> On Wed, 2 Oct 2019 at 15:29, Philippe Mouawad
> <[email protected]> wrote:
> >
> > IMO, we should have integration tests as those even if we have JUnit tests
>
> Agreed.
>
> Unit tests are no substitute for integration tests.
>
> > On Wed, Oct 2, 2019 at 3:56 PM Vladimir Sitnikov <
> > [email protected]> wrote:
> >
> > > -TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
> > > refused,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
> > > +TCP Sampler-ConnectError,500,java.net.ConnectException: Connection
> > > refused: connect,TG-TCPClientImpl-Errors 3-1,,true,1,1,1,0
> > >
> > > Holy cow!
> > >
> > > Do we really need that as a batch test?
> > > Should we better write a trivial JUnit test with "contains" assertion?
> > >
> > > Vladimir
> > >
> >
> >
> > --
> > Cordialement.
> > Philippe Mouawad.

Reply via email to