Advances, Systems and Applications
Id | Test case objective | Test case description | Expected result |
---|---|---|---|
1 | Check the interface link between the REST client and the Cloud Hub | Authenticate with the JWT token | The user is authorized and can use submission APIs |
2 | Check the interface link between the Cloud Hub and the Fab Lab Gate- way | Send a request to the Fab Lab gateway | The user submits a job, the request is for- warded to the Fab Lab gateway and the all the data bases are correctly updated |
3 | Check that a fabrication batch is successfully delivered to a machine | Send the request to the machine wrapper | The gateway forwards the requests to the wrapper and all the databases are correctly updated |
4 | Check that the system correctly stores all the fabrication requests | The user gets a list of the jobs he/she has submitted to fabrica- tion | The user receives a re- sponse with the list of the submitted jobs and the fab lab details |
5 | Check that a fabrica- tion batch can be can- celled | The user cancels a fabrication batch | The cancellation re- quest is delivered to the machine, the job is cancelled and all the databases are correctly updated |