cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Using cURL in JUnit tests?
Date Mon, 13 May 2013 15:33:42 GMT
Hi Glen
On 13/05/13 16:23, Glen Mazza wrote:
> Hi, probably a Sergey question, to be able to quickly check that newer
> versions of CXF will run on certain JAX-RS samples, I'd like to be able
> to incorporate the cURL statements here:
> http://people.apache.org/~gmazza/restexamples/jsonp within JUnit test
> cases so I can just run "mvn test" instead of needing to start the
> server and manually run the cURL statements and visually inspect the
> results. I can't find much though about incorporating cURL with JUnit
> tests, does someone have a similar equivalent I can use that will allow
> me to run those three cURL statements listed on that page?
>
You may want to experiment with Java binding for curl:
http://curl.haxx.se/libcurl/java/

Thanks, Sergey

> Thanks,
> Glen
>

Mime
View raw message