Forum Discussion

Tony_Gramm's avatar
Tony_Gramm
Icon for Nimbostratus rankNimbostratus
Aug 28, 2020

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

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

 

  • Sajid's avatar
    Sajid
    Icon for Cirrostratus rankCirrostratus

    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's avatar
    Sajid
    Icon for Cirrostratus rankCirrostratus

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