microsoft/restler-fuzzer

Handling ByteArray in Request Object During Fuzz Testing: Incorrect JSON Representation Issue

Opened this issue · 0 comments

Description

I have a ByteArray type in my request object defined as:
val logo: ByteArray?
However, during fuzz testing, the generated test input represents this field as a table string, like this:

{
    "logo": [
        "fuzzstring"
    ]
}

This causes an issue because the ByteArray is expected to be binary data, not a string or a list. How can I resolve this problem to properly handle the ByteArray during fuzz testing?