Let's say i have a frontend which is communicating with a webshop API. One action is to place an order. In the end, this order gets processed and shipped to a queueing system. Since this is no synchronous process, how is it possible to send something to the API but "wait" for the result on the queue side and compare that with the expected result? This could take up to 3 minutes ... what are usually some tools/approaches for that? Postman is good for API tests but is it also possible to connect to the queue system and check the results? What about phpunit? is it capable?
The goal is to test that stuff completely automatically in the end
Best
Aucun commentaire:
Enregistrer un commentaire