syntribos dry_run throwing error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
syntribos |
Fix Released
|
High
|
Rahul U Nair |
Bug Description
Syntribos dry run throwing error, it looks like the latest change to remove init_request sending from dry run is causing this. Please find the traceback:
Traceback (most recent call last):
File "/Users/
sys.
File "/Users/
Runner.run()
File "/Users/
cls.
File "/Users/
test_cases = list(test_
File "/Users/
for fuzz_name, request, fuzz_string, param_path in fr:
File "/Users/
strings, getattr(req, fuzz_type), req.action_field,
AttributeError: 'NoneType' object has no attribute 'data'
Changed in syntribos: | |
status: | Fix Committed → Fix Released |
This is because get_test_cases method in datagen.py for fuzz tests require information on the init_req and this was given by the call to init_req. A possible way to fix this is to check if the init_req call is from dry_run and not actually send the request, but create the request object so that a init_req would be present.