Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 7
Next »
Test Case #:284
| Test Case Name: |
System: OpenLMIS | Subsystem: requisition |
Test case designed by: Paulina Borowa | Design Date:22.07.2016 |
Short description: Allows addition of new and editing of existing supply lines | |
Step
| Action | Expected system response | Comment |
1 | Create geographicLevels entity: In URL: http://localhost:8080/api/geographicLevels Method: Post: Body { "code":"GL2", "levelNumber":"12" } | geographicLevels id: "http://localhost:8080/api/geographicLevels/8e38e02f-29a8-44e9-926a-cfc3eb4d0ca3" | |
2 | Create geographicZones entity. In URL:http://localhost:8080/api/geographicZones Method: Post: { "code":"GeoZon2", "level":"http://localhost:8080/api/geographicLevels/8e38e02f-29a8-44e9-926a-cfc3eb4d0ca3" } | geographicZones id:"http://localhost:8080/api/geographicZones/be60bba4-c3d0-4d76-9e4b-12f8f50d934b" | |
3 | Create facilityTypes entity. In URL: http://localhost:8080/api/facilityTypes Method: Post: { "code":"facilityT2" } | facilityTypes id:"http://localhost:8080/api/facilityTypes/99b9e25f-c147-450c-be88-0d1d3a61109e" | |
4 | Create facilities entity. In URL: http://localhost:8080/api/facilities Method: Post: { "code":"facilities2", "geographicZone": "http://localhost:8080/api/geographicZones/be60bba4-c3d0-4d76-9e4b-12f8f50d934b", "type":"http://localhost:8080/api/facilityTypes/99b9e25f-c147-450c-be88-0d1d3a61109e", "active":true, "enabled":false } | facilities id: http://localhost:8080/api/facilities/8ff6f995-0c09-46e3-886c-4313c90334f2" | |
5 | Create supervisoryNodes entity. In URL: http://localhost:8080/api/supervisoryNodes Method: Post: { "code":"supervisoryN", "name":"Nodes", "supervisorCount":"2", "facility": "http://localhost:8080/api/facilities/8ff6f995-0c09-46e3-886c-4313c90334f2" } | supervisoryNodes id:"http://localhost:8080/api/supervisoryNodes/abeeb7a4-b3bd-4c58-b41d-102e2dacec1c" | |
6 | Create another geographicLevels entity: Method: Post: Body: { "code":"GL1", "levelNumber":"11" } | geographicLevels id:"http://localhost:8080/api/geographicLevels/73f0a091-6004-4bd8-bd32-43f4c143631a" | |
7 | Create another geographicZones entity: Method: Post: Body: { "code":"GeoZon", "level":"http://localhost:8080/api/geographicLevels/73f0a091-6004-4bd8-bd32-43f4c143631a" } | geographicZones id:"http://localhost:8080/api/geographicZones/306c2842-3591-47c6-8276-af3efd8d2657" | |
8 | | | |