1054: Print Proof of Delivery not working on openlmis-blue

Test Case #:1054

Test Case Name: Print Proof of Delivery not working on openlmis-blue

System: OpenLMIS

Subsystem: blue

Test case designed by: Paulina Borowa

Design Date:13.12.2016

Short description

Print Proof of Deliver is not working on openlmis-blue, because there is some issue with getting the resources.
Resource file cannot be found, there is FileNotFoundException.

                                                                                                                                                   

Pre – conditions:

                                                                                                                                                                                                                                                       



Step

Action

Expected system response

Comment

1

  1. check if you have template with name Print POD (GET /api/templates)
    if no, you have to create it:
(POST /api/templates) (depends on REST client (this cannot be done on swagger) the payload should be name=Print POD and you have to add *.jrxml file to request (I test on podPrint.jrxml from the fulfillment repository: file))                                                                                                  

                                                                                                                            

                                                 

2

In a new browser tab execute print endpoint /api/proofOfDeliveries/<<proofOfDeliveryId>>/print?access_token=<<access_token>>. On swagger you get only [object Blob] and 200 response status. 

 

On swagger you get only [object Blob] and 200 response status.

3




4




5




6




OpenLMIS: the global initiative for powerful LMIS software