Solved
Forum Discussion
jsheph01
7 years agoContributor
There is a way to get the time the request was sent and how long it took to get a respose. You can add those two together to get the response time.
Class RestResponseMessageExchange
messageExchange.getTimestamp() messageExchange.getTimeTaken()
LucN
7 years agoOccasional Contributor
It's not clear to me because I get the following result with getTimestamp : 1553695803464 How is it a date ?
- jsheph017 years agoContributor
Sorry, guess I should have mentioned that timstamp is in unix time. Add this to convert it from unix time.
Date date = new Date(messageExchange.getTimestamp() );
- LucN7 years agoOccasional Contributor
Thanx It works :D And thx eveyrone for your help !
- nmrao7 years agoCommunity HeroThat is time in Milli seconds.