File tree Expand file tree Collapse file tree 6 files changed +3542
-0
lines changed
java/com/typicode/jsonplaceholder/features
resources/expectedResponses Expand file tree Collapse file tree 6 files changed +3542
-0
lines changed Original file line number Diff line number Diff line change 1+ Feature : Albums Endpoint
2+
3+ Scenario : Get all albums
4+ When I make a GET request to the Albums endpoint
5+ Then the response has a status code of 200
6+ And the response body follows the "MultipleAlbums" JSON schema
7+ And the results array contains 100 elements
8+ And the response body matches the "AllAlbums" expected response
Original file line number Diff line number Diff line change 1+ Feature : Comments Endpoint
2+
3+ Scenario : Get all comments
4+ When I make a GET request to the Comments endpoint
5+ Then the response has a status code of 200
6+ And the response body follows the "MultipleComments" JSON schema
7+ And the results array contains 500 elements
8+ And the response body matches the "AllComments" expected response
Original file line number Diff line number Diff line change 1+ Feature : Photos Endpoint
2+
3+ Scenario : Get all photos
4+ When I make a GET request to the Photos endpoint
5+ Then the response has a status code of 200
6+ And the response body follows the "MultiplePhotos" JSON schema
7+ And the results array contains 5000 elements
8+ And the response body matches the "AllPhotos" expected response
Original file line number Diff line number Diff line change 1+ Feature : ToDos Endpoint
2+
3+ Scenario : Get all todos
4+ When I make a GET request to the ToDos endpoint
5+ Then the response has a status code of 200
6+ And the response body follows the "MultipleToDos" JSON schema
7+ And the results array contains 200 elements
8+ And the response body matches the "AllToDos" expected response
Original file line number Diff line number Diff line change 1+ Feature : Users Endpoint
2+
3+ Scenario : Get all users
4+ When I make a GET request to the Users endpoint
5+ Then the response has a status code of 200
6+ And the response body follows the "MultipleUsers" JSON schema
7+ And the results array contains 10 elements
8+ And the response body matches the "AllUsers" expected response
You can’t perform that action at this time.
0 commit comments