microsoft / restler-fuzzer

RESTler is the first stateful REST API fuzzing tool for automatically testing cloud services through their REST APIs and finding security and reliability bugs in these services.
MIT License
2.62k stars 303 forks source link

Add validation to engine dictionary #915

Open brokoli777 opened 1 week ago

brokoli777 commented 1 week ago

Fixes #773

This adds a local function to see if custom_values dictionary only contains strings. It will throw an error if the dictionary is not valid. I have also added a test case for testing the code change.

Please let me know if there are any changes to be made, as it is my first time contributing to this codebase.

brokoli777 commented 1 week ago

Unfortunately, I couldn't run the unit tests due to the following error, but I tested it separately.

image

I have installed the packages from requirements.txt