Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have JUnit tests for REST web services. Now I think that JUnit is not the best tool for that, since these tests are integration tests but not unit tests. So I probably need a Java library, which helps to send HTTP requests, verify HTTP responses, create reports and do that in parallel.

On the other hand maybe I am mistaken and Junit (with HTTPUnit etc.) is good enough and I don't need other tools.

What would you suggest?

share|improve this question
add comment

2 Answers

I am also facing similar questions... and am starting looking around and experimenting.

I found this is other stackoverflow question: Unit testing a JAX-RS Web Service? (apparently Jersey allows to make such type of tests).

These are two options that popped up:

share|improve this answer
add comment

The below Blog Entry Will be helpful:

http://java.dzone.com/articles/restful-web-service-testing

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.