File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem to test a rest service using JUNIT

 
Roopesh Rana
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

I write a rest service to modify some a record in database. Now I need to prepare Junit for that service.

Method is




I need to test above methos through JUNIT


JUNIT is :



Exception is

Resolved Exception:
Type = org.springframework.http.converter.HttpMessageNotReadableException


stacktrace



NOTE : If anybody have an idea how we can pass XML request instedof JOSN please let me know.
 
Roopesh Rana
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one have idea about it ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic