1,
Call the peer interface, set count, and track the number of calls each time to see if the total number of called interfaces is consistent with the total number of order data. Record error logs. Record the order number for failed calls.
This is to track the detection data from the caller's perspective.
2,
Compare the total number of status orders in the database of the caller and receiver each month in June 2014, and find that the order volume is inconsistent. Let the recipient export the order numbers and statuses in the database to the receiver.
The receiver then queries these order numbers in the database to find out the cause of inconsistency.
After actual tests, this method is very efficient. In one afternoon, the orders for the first month of 2014 and the second half of 2013 were compared and the orders in different States were fixed.