Original Payload:
{
"engagement": {
"crn": "crn{{$timestamp}}",
..
}
Assuming "crn" is the mandatory(aka required) field.
Fuzzing already has the feature to have negative tests to exclude mandatory parameters using the config:
"requiredFields": {
"enabled": true
},
which results in the crn field itself to be excluded
But, it would be great if we had a feature to allow the parameter to exist (either JSON or Query Parameter) but make it empty.
Expected Payload:
{
"engagement": {
"crn": "",
..
}
Workaround:
As of now, making minLength: 1 makes this possible by adding a test with no characters in the parameter. But, this doesn't work when the parameter is overwritten with Postman variables such as {{crn}}.
Original Payload:
Assuming "crn" is the mandatory(aka required) field.
Fuzzing already has the feature to have negative tests to exclude mandatory parameters using the config:
which results in the crn field itself to be excluded
But, it would be great if we had a feature to allow the parameter to exist (either JSON or Query Parameter) but make it empty.
Expected Payload:
Workaround:
As of now, making
minLength: 1makes this possible by adding a test with no characters in the parameter. But, this doesn't work when the parameter is overwritten with Postman variables such as{{crn}}.