Test Case #:1386 | Test Case Name: Add configuration settings for external fill for fulfillment |
System: OpenLMIS | Subsystem: |
Test case designed by: Paulina Borowa | Design Date:05.12.2016 |
Short description: Acceptance Criteria
|
|
Pre – conditions: |
Step | Action | Expected system response | Comment |
1 | go on swagger and check all facility Ftp Settings endpoints | ||
2 | check endpoint for delete facility Ftp Settings: delete /facilityFtpSettings/{id} id: 312247e0-7c31-4b6c-b35c-1868e5a19742 |
Check by |
GET |
3 |
5
6
check endpoint | ||
4 |
5 | check endpoint Body: { "id": "ce88d3b1-0518-42fb-8fc1-e47ad80c7134", "facilityId": "19121381-9f3d-4e77-b9e5-d3f59fc1639e", "protocol": "ftp", "username": "admin", "password": "p@ssw0rd", "serverHost": "ftp", "serverPort": 21, "remoteDirectory": "/orders/files/csv/W01", "localDirectory": "/var/lib/openlmis/fulfillment/orders/W01", "passiveMode": true } | Check by GET |