REST-Java-REST: Fault Scenario of REST-Java
Runtime Node Logs
[INFO ] [rest-java-rest] stdout - ----------- Java1 (service-inbound) ----------- [INFO ] [rest-java-rest] stdout - storename = fault [INFO ] [rest-java-rest] stdout - ----------- Java1 (service-inbound) ----------- [INFO ] [rest-java-rest] stdout - Getting bookName = The Kite Runner [INFO ] [rest-java-rest] stdout - Getting bookID = 1602 [INFO ] [rest-java-rest] stdout - Getting requestHeadersAllCP = {Host=localhost:9897, User-Agent=Apache-Http-Client/4.1.1 (java 1.5),bookID=1602, Connection=Keep-Alive,bookName=The Kite Runner} [INFO ] [rest-java-rest] stdout - ----------- Java1 (reference-inbound) ----------- [INFO ] [rest-java-rest] stdout - Setting bookName = How to Kill a Mockingbird [INFO ] [rest-java-rest] stdout - Setting bookID = 1501 [INFO ] [rest-java-rest] stdout - Setting requestHeadersAllCP = {bookPublishYear=1960, bookAuthor=Harper Lee} [INFO ] [rest-java] stdout - ----------- Java2 (service-inbound) ----------- [INFO ] [rest-java] stdout - storename = fault [INFO ] [rest-java] stdout - ----------- Java2 (service-inbound) ----------- [INFO ] [rest-java] stdout - Getting bookName = How to Kill a Mockingbird [INFO ] [rest-java] stdout - Getting bookID = 1501 [INFO ] [rest-java] stdout - Getting requestHeadersAllCP = {bookPublishYear=1960, bookAuthor=Harper Lee, Host=localhost:9897, Accept-Charset=UTF-8, bookID=1501, Connection=Keep-Alive, Accept=application/json, Content-Type=application/json; charset=UTF-8, bookName=How to Kill a Mockingbird} [INFO ] [rest-java] stdout - ----------- Java2 (service-outbound) ----------- [INFO ] [rest-java] stdout - Setting bookCategory = Classic [INFO ] [rest-java] stdout - Setting bookQuantity = 50 [INFO ] [rest-java] stdout - Setting responseHeadersAll: = {bookPublishYear=1960, bookAuthor=Harper Lee} [INFO ] [rest-java-rest] stdout - ----------- Java1 (reference-outbound) ----------- [INFO ] [rest-java-rest] stdout - Getting bookCategory = Classic [INFO ] [rest-java-rest] stdout - Getting bookQuantity = 50 [INFO ] [rest-java-rest] stdout - Getting responseHeadersAll: = {bookPublishYear=1960, bookAuthor=Harper Lee, bookCategory=Classic, bookQuantity=50, Date=Thu, 08 Oct 2015 21:03:43 GMT, Content-Length= 252, Expires=Thu, 01 Jan 1970 00:00:00 GMT, Set-Cookie=JSESSIONID=1wt523hzhwphvlgyxxt8frpsu;Path=/BookStoreBackend;HttpOnly, Content-Type=application/json; charset=UTF-8} [INFO ] [rest-java-rest] stdout - ----------- Java1 (service-fault) ----------- [INFO ] [rest-java-rest] stdout - Setting notFoundBookID = Book ID Not Found
Copyright © Cloud Software Group, Inc. All rights reserved.