You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@thrift.apache.org by Andrew Pennebaker <ap...@42six.com> on 2014/02/05 20:14:25 UTC

How should I test my thrift services?

Can web tools like *curl* be used to test thrift services? I'm looking for
tools for testing thrift services, ideally regardless of service
implementation language.

-- 
Cheers,

Andrew Pennebaker
apennebaker@42six.com

Re: How should I test my thrift services?

Posted by Jens Geyer <je...@hotmail.com>.
Hi,

If the on-the-wire content of the response is known and fix for a given test 
case, you theoretically could put to use previously stored request/response 
pairs and let the test fail on any differences in the returned data.

> ideally regardless of service implementation language.

I think, we can take that one as a given with Thrift, can't we? ;-)

Have fun,
JensG


-----Ursprüngliche Nachricht----- 
From: Andrew Pennebaker
Sent: Wednesday, February 5, 2014 8:14 PM
To: Thrift Users
Subject: How should I test my thrift services?

Can web tools like *curl* be used to test thrift services? I'm looking for
tools for testing thrift services, ideally regardless of service
implementation language.

-- 
Cheers,

Andrew Pennebaker
apennebaker@42six.com 


RE: How should I test my thrift services?

Posted by Roger Meier <ro...@bufferoverflow.ch>.
Hi
We do cross language tests via test/test.sh script which is part of Apache
Thrift source code.
Each languages has its own test framework and there is no other common test
framework available today.

However, we always like new ideas to simplify and improve testing.

-roger

-----Original Message-----
From: Myles McDonnell [mailto:mcdonnell.myles@googlemail.com] 
Sent: Mittwoch, 5. Februar 2014 20:28
To: user@thrift.apache.org
Subject: Re: How should I test my thrift services?

Hi Andrew

Personally I would write tests that instantiate a thrift client using your
preferred language/platform/test lib.  I can imagine how or why there would
be a generic tool for calling thrift service methods; It would have to know
the method signatures and that is what a thrift client is.

HTH
Myles




On 5 February 2014 19:14, Andrew Pennebaker <ap...@42six.com> wrote:

> Can web tools like *curl* be used to test thrift services? I'm looking 
> for tools for testing thrift services, ideally regardless of service 
> implementation language.
>
> --
> Cheers,
>
> Andrew Pennebaker
> apennebaker@42six.com
>


Re: How should I test my thrift services?

Posted by Myles McDonnell <mc...@googlemail.com>.
Hi Andrew

Personally I would write tests that instantiate a thrift client using your
preferred language/platform/test lib.  I can imagine how or why there would
be a generic tool for calling thrift service methods; It would have to know
the method signatures and that is what a thrift client is.

HTH
Myles




On 5 February 2014 19:14, Andrew Pennebaker <ap...@42six.com> wrote:

> Can web tools like *curl* be used to test thrift services? I'm looking for
> tools for testing thrift services, ideally regardless of service
> implementation language.
>
> --
> Cheers,
>
> Andrew Pennebaker
> apennebaker@42six.com
>