RESTler is the first stateful REST API fuzzing tool for automatically testing cloud services through their REST APIs and finding security and reliability bugs in these services.
MIT License
2.52k
stars
284
forks
source link
Annotation with json pointer doesn't work if top level object is an array #789
However after compilation in grammar.py as well as in dendencies.json there is nothing related to this configuration. After running restler in test mode value of my_param is not considered in the consumer URL
Description
Annotation with json pointer doesn't work if top level object is an array
Let's say I have an endpoint
GET /my/endpoint/items
that returns response:in
annotation.json
I specify the attribute value that I want to extractin
dependecies_debug.json
I can see:However after compilation in
grammar.py
as well as indendencies.json
there is nothing related to this configuration. After running restler in test mode value ofmy_param
is not considered in the consumer URLmy config file:
Steps to reproduce
Please see the description
Expected results
my_param
from response body fromGET /my/endpoint/items
is used as path param in another endpointGET /my/another/endpoint/{my_param}
Actual results
my_param
is not extracted (ignored?)Environment details
No response