Skip to end of metadata
Go to start of metadata
Test Case #:387 | Test Case Name: |
System: OpenLMIS
| Subsystem:Requisition |
Test case designed by: Piotr Żurawski | Design Date:25.07.2016 |
Short description: Check possibility to create Program. | |
Step | Action | Expected system response | Comment |
1 | Create Program only with code: URL: http://localhost:8080/api/programs Method: POST Body:{ "code":"code", } | { "code": "Code", "name": null, "description": null, "active": null, "periodsSkippable": false, "showNonFullSupplyTab": null, "_links": { "self": { "href": "http://localhost:8080/api/programs/b441d350-5f2a-4fcc-882c-785d6a34e4ad" }, "program": { "href": "http://localhost:8080/api/programs/b441d350-5f2a-4fcc-882c-785d6a34e4ad" } } } | |
2 | Create Program with code, name, description,active: URL: http://localhost:8080/api/programs Method: POST Body: { "code":"Codee", "name":"programName", "description":"programDescription", "active":false } | { "code": "Codee", "name": "programName", "description": "programDescription", "active": false, "periodsSkippable": false, "showNonFullSupplyTab": null, "_links": { "self": { "href": "http://localhost:8080/api/programs/508394a2-401d-4d1c-aec9-f47f5aaf9367" }, "program": { "href": "http://localhost:8080/api/programs/508394a2-401d-4d1c-aec9-f47f5aaf9367" } } } | |