This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Testing and the fly likes Testing REST based API , mainly JSP's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » Testing
Bookmark "Testing REST based API , mainly JSP Watch "Testing REST based API , mainly JSP New topic

Testing REST based API , mainly JSP's

Kamal Ahmed
Ranch Hand

Joined: Feb 15, 2005
Posts: 91

Does anyone know of any framework, or JUNIT Extension that tests a REST API implemented as JSP?. i tried SpingUnit but the install does not work with eclipse 3.2.2

Any help will be appreciated

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42954
Not an answer to your question, but JSPs aren't the right technology for anything but HTML. Using them to stream XML might very well lead to trouble, since you can't really control the whitespace it inserts into the page. You'd be better off using a servlet.
I agree. Here's the link:
subject: Testing REST based API , mainly JSP's