Collection Locations
Created By
Base URL
http://103.168.58.158:8000/api/v1/
Passed Failed Blocked
0 0 0
ID Test Case Description Path
1 Search Locations successful locations
User can not searcg Locatuons locations
successful with invalid URL
User send request with all optional locations
fields and all required fields
Respose Verify that response format
Verify that name is correct format and
as same as the request body
Validation
Sending request with empty/blank locations
name
space name
Pending
0
Detail Request
- Header contain valid token Header: Valid token
- Name is unique and has length URL : https://develop.snipeitapp.com/api/v1/
- All other parameters are valid Request body:
{
"name": "123",
"address": "ha noi",
"address2": "test",
"city": "hanoi",
"state": "ha noi",
"country": "viet nam",
"zip": "10001",
"currency": "vnd",
"manager_id": "1",
"parent_id": "1"
}
Header contains valid token Header: Valid token
URL : https://develop.snipeitapp.com/api/v1/
Request body:
{
"name": "123",
"address": "ha noi",
"address2": "test",
"city": "hanoi",
"state": "ha noi",
"country": "viet nam",
"zip": "10001",
"currency": "vnd",
"manager_id": "1",
"parent_id": "1"
}
Header contains valid token Header: Valid token
URL : https://develop.snipeitapp.com/api/v1/
Request body:
{
"name": "123",
"address": "ha noi",
"address2": "test",
"city": "hanoi",
"state": "ha noi",
"country": "viet nam",
"zip": "10001",
"currency": "vnd",
"manager_id": "1",
"parent_id": "1"
}
Header contains valid token
Req ID
Reviewer/Approver TuanBA
Number of Test cases
3
Expected respond Actual Respond Result
Satus code: 200
Data follow API design
Status code : 404
Status code : 200
It returns valid data
Status code :
Passed
Failed
Test date Note
Input Base URL
Method
Headers
Body
Valid https://develop.snipeitapp.com/api/v1/locations
Valid POST
Invalid
authorization Valid Token T
Invalid Token F
Blank/empty
Token expire
auth secure have not
name Valid name not bank and unique, not exist on database
Invalid name exists on database
name balnk
name exists on database
space
Delete key out json
address input any address
Delete key out json
blank/empty
address2