Nutanix interview question

How would you do testing of an async api