Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem to test a rest service using JUNIT  RSS feed

 
Roopesh Rana
Ranch Hand
Posts: 39
  • 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: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one have idea about it ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!