1+ {
2+ "number_of_endpoints" : " Number of endpoints." ,
3+ "number_of_http_calls" : " Total number of HTTP calls." ,
4+ "number_of_fault_codes" : " Number of codes" ,
5+ "fault_codes" : [
6+ {
7+ "short_definition" : " HTTP_STATUS_500" ,
8+ "code" : 100 ,
9+ "description" : " HTTP Status 500" ,
10+ "test_case_name" : " causes500_internalServerError"
11+ },
12+ {
13+ "short_definition" : " HTTP_INVALID_PAYLOAD_SYNTAX" ,
14+ "code" : 101 ,
15+ "description" : " Invalid Payload Syntax" ,
16+ "test_case_name" : " rejectedWithInvalidPayloadSyntax"
17+ },
18+ {
19+ "short_definition" : " HTTP_INVALID_LOCATION" ,
20+ "code" : 102 ,
21+ "description" : " Invalid Location HTTP Header" ,
22+ "test_case_name" : " returnsInvalidLocationHeader"
23+ },
24+ {
25+ "short_definition" : " HTTP_NONWORKING_DELETE" ,
26+ "code" : 103 ,
27+ "description" : " DELETE Method Does Not Work" ,
28+ "test_case_name" : " deleteDoesNotWork"
29+ },
30+ {
31+ "short_definition" : " HTTP_REPEATED_CREATE_PUT" ,
32+ "code" : 104 ,
33+ "description" : " Repeated PUT Creates Resource With 201" ,
34+ "test_case_name" : " repeatedCreatePut"
35+ },
36+ {
37+ "short_definition" : " SCHEMA_INVALID_RESPONSE" ,
38+ "code" : 200 ,
39+ "description" : " Received A Response From API That Is Not Valid According To Its Schema" ,
40+ "test_case_name" : " returnsSchemaInvalidResponse"
41+ },
42+ {
43+ "short_definition" : " GQL_ERROR_FIELD" ,
44+ "code" : 301 ,
45+ "description" : " Error Field" ,
46+ "test_case_name" : " returnedErrors"
47+ },
48+ {
49+ "short_definition" : " RPC_INTERNAL_ERROR" ,
50+ "code" : 400 ,
51+ "description" : " Internal Error" ,
52+ "test_case_name" : " causesInternalError"
53+ },
54+ {
55+ "short_definition" : " RPC_SERVICE_ERROR" ,
56+ "code" : 401 ,
57+ "description" : " Service Error" ,
58+ "test_case_name" : " causesServiceError"
59+ },
60+ {
61+ "short_definition" : " RPC_DECLARED_EXCEPTION" ,
62+ "code" : 402 ,
63+ "description" : " Declared Exception" ,
64+ "test_case_name" : " throwsExpectedException"
65+ },
66+ {
67+ "short_definition" : " RPC_UNEXPECTED_EXCEPTION" ,
68+ "code" : 403 ,
69+ "description" : " Unexpected Exception" ,
70+ "test_case_name" : " throwsUnexpectedException"
71+ },
72+ {
73+ "short_definition" : " RPC_HANDLED_ERROR" ,
74+ "code" : 404 ,
75+ "description" : " Business Logic Error" ,
76+ "test_case_name" : " failsToExecuteCall"
77+ },
78+ {
79+ "short_definition" : " WEB_BROKEN_LINK" ,
80+ "code" : 500 ,
81+ "description" : " Broken Link" ,
82+ "test_case_name" : " returnsBrokenLink"
83+ },
84+ {
85+ "short_definition" : " SECURITY_EXISTENCE_LEAKAGE" ,
86+ "code" : 800 ,
87+ "description" : " Leakage Information Existence of Protected Resource" ,
88+ "test_case_name" : " allowsUnauthorizedAccessToProtectedResource"
89+ },
90+ {
91+ "short_definition" : " SECURITY_NOT_RECOGNIZED_AUTHENTICATED" ,
92+ "code" : 801 ,
93+ "description" : " Wrongly Not Recognized as Authenticated" ,
94+ "test_case_name" : " failedToAuthenticateWithValidCredentials"
95+ },
96+ {
97+ "short_definition" : " SECURITY_FORBIDDEN_DELETE" ,
98+ "code" : 802 ,
99+ "description" : " Forbidden Delete But Allowed Modifications" ,
100+ "test_case_name" : " forbidsDeleteButAllowsModifications"
101+ },
102+ {
103+ "short_definition" : " SECURITY_FORBIDDEN_PUT" ,
104+ "code" : 803 ,
105+ "description" : " Forbidden Replacement But Allowed Modifications" ,
106+ "test_case_name" : " forbidsReplacementButAllowsModifications"
107+ },
108+ {
109+ "short_definition" : " SECURITY_FORBIDDEN_PATCH" ,
110+ "code" : 804 ,
111+ "description" : " Forbidden Updates But Allowed Modifications" ,
112+ "test_case_name" : " forbidsUpdatesButAllowsModifications"
113+ },
114+ {
115+ "short_definition" : " SECURITY_ALLOW_MODIFICATION_BY_ALL" ,
116+ "code" : 805 ,
117+ "description" : " Resource Created By An User Can Be Modified By All Other Users" ,
118+ "test_case_name" : " createdResourceCanBeModifiedByEveryone"
119+ },
120+ {
121+ "short_definition" : " SECURITY_FORGOTTEN_AUTHENTICATION" ,
122+ "code" : 806 ,
123+ "description" : " A Protected Resource Is Accessible Without Providing Any Authentication" ,
124+ "test_case_name" : " forgottenAuthentication"
125+ }
126+ ]
127+ }
0 commit comments