Comments (8)
This is the issue:
25790 [WARNING] root: Failed to parse http response code, exception occurred
The requests are sent, but the tested application just fails. If you use the test application in the development branch, that is a more robust one which works as it should be ( report internal error if fuzz string is received instead of integer).
Once I fixed the test application I started getting such logs:
29138 [WARNING] root: Return code 500 is not in the expected list
29138 [ERROR] root: Failed to save report "<kitty.data.report.Report object at 0x7f563edf9160>" to /tmp/reports/ because: byte must be in range(0, 256)
This is where we are at the moment.
from apifuzzer.
I did exactly what you described. My plan on this issue is to check werther pycurl can handle is better. If so I can change using that.
from apifuzzer.
Sorry, you were right.
During investigating the cause of the missing report fields I've found this:
4871 [INFO] root: Request URL : http://127.0.0.1:5000/other_methods
4871 [DEBUG] urllib3.connectionpool: Starting new HTTP connection (1): 127.0.0.1
4871 [ERROR] root: Request failed, reason: 'latin-1' codec can't encode character '\u0480' in position 3: ordinal not in range(256)
from apifuzzer.
Simple solution is to catch these errors and just report this as a failure of the request library? It makes sense that the fuzzer might sometimes generate output that the request library can't handle.
from apifuzzer.
I'm currently getting empty reports except when there is an issue with sending the request.
from apifuzzer.
works now, tested
from apifuzzer.
Hi,
I managed to change to pycurl where it is easier to compile requiest which then will be sent. It should be OK now.
from apifuzzer.
it is resolved now
from apifuzzer.
Related Issues (20)
- Invalid JSON-Data Value HOT 4
- Field with the name (v1+themes|post|inherited) already exists in this container HOT 5
- Missing response, parsed_status_code and request_body are in reports HOT 7
- field with the name (....) already exists in this container HOT 4
- Questions HOT 1
- Copy/paste error in compile_base_url()
- Unexpected exception happened during fuzz test preparation: 'schemes' HOT 2
- --version not valid HOT 2
- APIFuzzer does not parse $ref in /paths HOT 6
- Path items with no variables prevent the fuzzer from running HOT 1
- Parameters on "Path Item" level is not getting accepted HOT 4
- Numbers in Unit XML wrong HOT 4
- Unexpected exception happened during fuzz test preparation: sequence item 0: expected str instance, list found.
- Report filenames start with -1 HOT 3
- Unexpected exception happened during fuzz test preparation HOT 1
- Payload generation from response data HOT 2
- APIFuzzer is failing for the CI integration HOT 4
- Space char at the headers argument HOT 4
- Api HOT 1
- Exception for max_length(0) < 0 for boolean fuzzer HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apifuzzer.