microsoft/restler-fuzzer

handling different string formats in RESTler

Ouverte

#369 ouverte le 8 oct. 2021

 (3 commentaires) (1 réaction) (1 personne assignée)Python (329 forks)auto 404
enhancementhelp wanted

Métriques du dépôt

Stars
 (2 929 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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"]
}

Guide contributeur