Nutanix Interview Question

How would you do testing of an async api