1-)
GET baseURL/?cityName={cityName}
Parameter | Value |
---|---|
cityName |
ankara |
cityName |
istanbul |
- reviewDtos.name typeof==string
- reviewDtos.comment typeof==string
- reviewDtos.rating typeof==integer
- reviewDtos.createOn typeof==string
- reviewDtos.regionName typeof==string
- reviewDtos.cityName typeof==string
- is reviewDtos object size equal to 6 ?
- is reviewDtos cityName value euqal to {cityName} parameter ?
- is reviewDtos rating range between 0-10 ?
- is Response time is less than 200ms ?
2-)
GET baseURL/?cityName=van
Parameter | Value |
---|---|
cityName |
van |
- is Response code value 404 ?
- is message value equal to 'Not found' ?
- is response object equal to given structure "message": "Not found" ?
- is Response time less then 1000ms ?
3-)
GET baseURL/?cityName=
Parameter | Value |
---|---|
cityName |
- is Response status code 400 ?
- cityName value equal to 'cityName' can not be null.' ?
- is response object equal to given structure "cityName": ["'cityName' can not be null."] ?
- is Response time less then 1000ms ?