You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce a generic way to handle errors when communicating with the service endpoints
There was an inconsistency in the way Fuzzers were treating error cases.
Some Fuzzers were ignoring RuntimeExceptions causing the entire run to fail, rather than an
individual test case. This is now handled commonly in the TestCaseListener#createAndExecuteTest()
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+
## Our Standards
10
+
11
+
Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+
* Demonstrating empathy and kindness toward other people
14
+
* Being respectful of differing opinions, viewpoints, and experiences
15
+
* Giving and gracefully accepting constructive feedback
16
+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+
* Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+
Examples of unacceptable behavior include:
20
+
21
+
* The use of sexualized language or imagery, and sexual attention or
22
+
advances of any kind
23
+
* Trolling, insulting or derogatory comments, and personal or political attacks
24
+
* Public or private harassment
25
+
* Publishing others' private information, such as a physical or email
26
+
address, without their explicit permission
27
+
* Other conduct which could reasonably be considered inappropriate in a
28
+
professional setting
29
+
30
+
## Enforcement Responsibilities
31
+
32
+
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+
## Scope
37
+
38
+
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+
## Enforcement
41
+
42
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [[email protected]]([email protected]). All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+
## Enforcement Guidelines
47
+
48
+
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+
### 1. Correction
51
+
52
+
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+
### 2. Warning
57
+
58
+
**Community Impact**: A violation through a single incident or series of actions.
59
+
60
+
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+
### 3. Temporary Ban
63
+
64
+
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+
### 4. Permanent Ban
69
+
70
+
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+
**Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+
## Attribution
75
+
76
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+
[homepage]: https://www.contributor-covenant.org
82
+
83
+
For answers to common questions about this code of conduct, see the FAQ at
84
+
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-82
Original file line number
Diff line number
Diff line change
@@ -67,85 +67,4 @@ This document was adapted from the open-source contribution guidelines for [Face
67
67
68
68
# Code of Conduct
69
69
70
-
## Our Pledge
71
-
72
-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
73
-
74
-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
75
-
76
-
## Our Standards
77
-
78
-
Examples of behavior that contributes to a positive environment for our community include:
79
-
80
-
* Demonstrating empathy and kindness toward other people
81
-
* Being respectful of differing opinions, viewpoints, and experiences
82
-
* Giving and gracefully accepting constructive feedback
83
-
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
84
-
* Focusing on what is best not just for us as individuals, but for the overall community
85
-
86
-
Examples of unacceptable behavior include:
87
-
88
-
* The use of sexualized language or imagery, and sexual attention or
89
-
advances of any kind
90
-
* Trolling, insulting or derogatory comments, and personal or political attacks
91
-
* Public or private harassment
92
-
* Publishing others' private information, such as a physical or email
93
-
address, without their explicit permission
94
-
* Other conduct which could reasonably be considered inappropriate in a
95
-
professional setting
96
-
97
-
## Enforcement Responsibilities
98
-
99
-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
100
-
101
-
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
102
-
103
-
## Scope
104
-
105
-
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
106
-
107
-
## Enforcement
108
-
109
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [[email protected]]([email protected]). All complaints will be reviewed and investigated promptly and fairly.
110
-
111
-
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
112
-
113
-
## Enforcement Guidelines
114
-
115
-
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
116
-
117
-
### 1. Correction
118
-
119
-
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
120
-
121
-
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
122
-
123
-
### 2. Warning
124
-
125
-
**Community Impact**: A violation through a single incident or series of actions.
126
-
127
-
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
128
-
129
-
### 3. Temporary Ban
130
-
131
-
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
132
-
133
-
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
134
-
135
-
### 4. Permanent Ban
136
-
137
-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
138
-
139
-
**Consequence**: A permanent ban from any sort of public interaction within the community.
140
-
141
-
## Attribution
142
-
143
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
144
-
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
145
-
146
-
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
147
-
148
-
[homepage]: https://www.contributor-covenant.org
149
-
150
-
For answers to common questions about this code of conduct, see the FAQ at
151
-
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
70
+
Please refer to [Code of Conduct](CODE_OF_CONDUCT.md)
Copy file name to clipboardExpand all lines: README.md
+11
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,17 @@ The following logging levels are used (in both the console and the test report)
16
16
-`WARN` will report normal but undocumented behaviour or some misalignment between the contract and the service. This will **ideally** be actioned.
17
17
-`ERROR` will report abnormal/unexpected behaviour. This **must** be actioned.
18
18
19
+
20
+
# How the Fuzzing works
21
+
CATS will iterate through all endpoints, all HTTP methods and all the associated requests bodies and parameters and `fuzz` their data models fields values according to their defined data type and constraints. The actual fuzzing depends on the specific `Fuzzer` executed. Please see the list of fuzzers and their behaviour.
22
+
There are also differences on how the fuzzing works depending on the HTTP method:
23
+
24
+
- for methods with request bodies like POST, PUT the fuzzing will be applied at the request body data models level
25
+
- for methods without request bodies like GET, DELETE the fuzzing will be applied at the URL parameters level
26
+
27
+
This means that for methods with request bodies you need to supply the `path` parameters via `urlParams` or the `referenceData` file as failure to do so will result in `Illegal character in path at index ...` errors.
28
+
29
+
19
30
# Build
20
31
21
32
You can use the following Maven command to build the project:
LOGGER.warn("Skipping path [{}] as not valid. It either doesn't contain a valid expectedResponseCode or there is more than one list of values for a specific field", data.getPath());
0 commit comments