Patent ID: 8271837

Claim:
A method for performing asynchronous testing of an application that is occasionally connected to an online services system, the method comprising: retrieving metadata describing at least a portion of an online services database, wherein the at least a portion of the online services database is authorized for replication at a software application; determining information for an entity for an application database from the metadata; sending a request for a database using the software application interface, wherein the request comprises an asynchronous operation call to the database for the entity; recording an execution of the asynchronous operation call within a callback function; receiving a response for the asynchronous operation call; determining a result for the software application performance; performing responder chaining with a wrapped callback function; recording an execution latency experienced with the asynchronous operation call using the wrapped callback function, wherein recording the execution latency comprises recording a time that the asynchronous operation call is sent and a time for receipt of the response to the asynchronous operation call; and determining whether an error with the software application occurred before the time for receipt of the response to the asynchronous operation call.