Cannot fetch a number of returned objects through existing handlers
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
Research direction
Start with the methods in odfuzz/fuzzer.py at lines 674-723 and reproduce the issue against the linked OData V3 metadata service. Compare the response format and the data_responses.csv examples to determine how returned object counts are extracted; done means the fuzzer can fetch the number of returned objects through these handlers for that service.
Written by the indexing model from the issue text.
Description
The following methods are relying on the response format received only from SAP services: https://github.com/SAP/odfuzz/blob/184660b47b2e17838b39922cc17e40aa2304a985/odfuzz/fuzzer.py#L674-L723
While running the fuzzer against the OData service https://services.odata.org/V3/OData/OData.svc/$metadata, it was not possible to fetch a number of returned objects (NUM).
/odfuzz/logs # head -5 2019-08-24T22-25-52_5dfeca62-c6ad-11e9-b0aa-0242ac110002/data_responses.csv
Time;Data;EntitySet;URL;Brief
0.294027;96;Products;"https://services.odata.org/V3/OData/OData.svc/Products?$filter=Price%20ge%201.1614181677387581e%2B40d&sap-client=500&$format=json";Products $filter (0)
0.877796;96;Products;"https://services.odata.org/V3/OData/OData.svc/Products?$filter=Price%20eq%201.0353108116349732e%2B39d&sap-client=500&$format=json";Products $filter (0)
0.895396;1966;Products;"https://services.odata.org/V3/OData/OData.svc/Products?$filter=Price%20lt%206.389471766338065e%2B39d&sap-client=500&$format=json";Products $filter (0)
0.902383;1966;Products;"https://services.odata.org/V3/OData/OData.svc/Products?$filter=Price%20le%206.655581923050293e%2B39d&sap-client=500&$format=json";Products $filter (0)
This issue may be related to #22.
- Dominant language
- Python
- Stars
- 23
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SAP/odfuzz
-
Bug in CLI runner Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 30/100
-
documentation
Difficulty 1/5 1-3 hours Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
code improvements
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100