Comments (6)
We have all Examples settings turn on by default (but they are not exposed as part of configuration). I can expose those settings to be configurable.
UseQueryExamples = true
UseBodyExamples = true
/// When set to 'true', discovers examples and outputs them to a directory next to the grammar.
/// If an existing directory exists, does not over-write it.
DiscoverExamples = true
/// The directory where the compiler should look for examples.
/// If 'discoverExamples' is true, this directory will contain the
/// example files that have been discovered.
/// If 'discoverExamples' is false, every time an example is used in the
/// Swagger file, RESTler will first look for it in this directory.
ExamplesDirectory = workDirectory ++ "Examples"
from rest-api-fuzz-testing.
Thanks. Does that mean that you can't use external / self-provided examples? The RESTler documentation seems to say that 'DiscoverExamples' must be false if you're providing your own examples?
https://github.com/microsoft/restler-fuzzer/blob/main/docs/user-guide/Examples.md
from rest-api-fuzz-testing.
I'm going to release v4.0.1
It has all example related RESTler options exposed
{
"toolName": "RESTler",
"outputFolder": "compile",
"toolConfiguration": {
"task": "Compile",
"compileConfiguration" : {
"discoverExamples" : false
}
}
}
from rest-api-fuzz-testing.
@LYDE1234 release is done, if you are on v4 you do not need to take any action and new changes should be available to you regardless if you are running in Azure or locally
from rest-api-fuzz-testing.
Also I found this RESTler document page helpful, since it has some missing information about
ExampleConfigFilePath
https://github.com/microsoft/restler-fuzzer/blob/main/docs/user-guide/CompilerConfig.md
from rest-api-fuzz-testing.
Brilliant. Thanks.
from rest-api-fuzz-testing.
Related Issues (20)
- Schemathesis ModuleNotFoundError: No module named 'six' HOT 1
- Schemathesis Unhandled authentication configuration {'TxtToken'} HOT 1
- RESTler engine failed HOT 9
- [v4] Token authentication error HOT 6
- Add option to disable certificate validation HOT 1
- RESTler sample using examples HOT 1
- Error copying examples to workdir HOT 4
- AWS deployment HOT 1
- RESTler token settings HOT 1
- Certificates import HOT 2
- Incorrect parameter name in error message.
- ZAP wrong endpoint URL HOT 5
- Authentication on API specification directory HOT 2
- Running locally with AAD OAuth2 authentication HOT 6
- Deployment fails with "list index out of range" error HOT 1
- Add CLI version check with server
- Deployment Fails with "Invalid start byte" error HOT 8
- Support of certificate based authentication in RAFT for Restler HOT 2
- examples files HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rest-api-fuzz-testing.