microsoft/restler-fuzzer

handling different string formats in RESTler

Aperta

#369 aperta il 8 ott 2021

 (3 commenti) (1 reazione) (1 assegnatario)Python (329 fork)auto 404
enhancementhelp wanted

Metriche repository

Star
 (2929 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Any value can be used as the "format" value for string types in an OpenAPI specification. To better support domain-specific formats, RESTler could handle this in a generic way by generating a new dictionary entry, which the user could then populate. If empty, it would be treated as a restler_fuzzable_string.

For example: restler_custom_payload_format("date") restler_custom_payload_format("uri")

and in the dictionary:

"restler_custom_payload_format": {
  "date": ["2021-10-02"],
  "uri": ["https://example.com"]
}

Guida contributor