Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

F5 WAF Tester fails to execute. (ValueError: No JSON object could be decoded)

Tony_Gramm
Nimbostratus
Nimbostratus

Version Installed: f5-waf-tester 0.1.1b

 

Commands run:

 

f5-waf-tester

 

f5-waf-tester -c /home/waftester/config.json -t /home/waftester/tests.json -r /home/waftester/report.json

 

 

 

Tool fails to run, resulting in the error below. 

 

File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode

  raise ValueError("No JSON object could be decoded")

ValueError: No JSON object could be decoded

 

Also I tried f5-waf-tester --init and f5-waf-tester ... with no options - came back with same result as above

 

Thanks,

 

Tony

 

3 REPLIES 3

Sajid
Cirrostratus
Cirrostratus

sudo pip3 install git+https://github.com/f5devcentral/f5-waf-tester.git

 

Initialize the WAF Tester Tool by running the following command:

sudo f5-waf-tester --init

 

running verison

f5-waf-tester -v

f5-waf-tester 0.1.1b

 

Sajid
Cirrostratus
Cirrostratus

https://clouddocs.f5.com/training/community/waf/html/class9/module2/lab2.html

Tony_Gramm
Nimbostratus
Nimbostratus

Ran as root with no luck.