Hi, all.
I am trying to send the current timestamp in the http post body for my test case issue.
This current timestamp is subscribed to the websocket and is used to get the duration between the two ends.
However, the current timestamp of the post body is stamped too quickly, so the duration between the two ends is too long.
Actually, the http request ends quickly in 30ms, but if you check it for debugging, you can see that the two timestamps are more than 1 second apart.
Also, if pause
is added 10 seconds before the http request, the difference between the
two timestamps is more than 10 seconds.
I think timestamp (createLocalTimeNow) doesn’t work lazy in http body.
Anyone have any ideas on this?
Thanks for reading the long article