Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requests pass, but values are not substituted #86

Closed
s1267 opened this issue Nov 16, 2023 · 4 comments
Closed

Requests pass, but values are not substituted #86

s1267 opened this issue Nov 16, 2023 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@s1267
Copy link

s1267 commented Nov 16, 2023

I am trying to run fuzzing from a yml file with instructions trying to run Functional Fuzzer with the following configuration
image

and Security Fuzzer
image

 Requests pass, but values are not substituted
 `curl  -X POST \
  -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: cats/10.0.0" \
  -d '{}' \
  http://localhost:6500/mfm/v1/services/` - is the CURL of the request that SecurityFuzzer is sending.
  
  `curl  -X GET \
  -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: cats/10.0.0" \
  \
  http://localhost:6500/mfm/v1/services//` -  is the CURL of the request that FunctionalFuzzer is sending.
@en-milie
Copy link
Contributor

Hi @s1267. Would it be possible to also attach (at least a section of) the openapi spec and exact command you are using to run CATS?

@s1267
Copy link
Author

s1267 commented Nov 16, 2023

Hi @s1267. Would it be possible to also attach (at least a section of) the openapi spec and exact command you are using to run CATS?
openapi.json

java -jar cats.jar run -c openapi.json -s http://localhost:6500 sec.yml - for SecurityFuzzer
java -jar cats.jar run -c openapi.json -s http://localhost:6500 func.yml - for FunctionalFuzzer

@en-milie en-milie self-assigned this Nov 16, 2023
@en-milie en-milie added the bug Something isn't working label Nov 16, 2023
en-milie added a commit that referenced this issue Nov 17, 2023
@en-milie
Copy link
Contributor

This should be fixed in: https://github.com/Endava/cats/releases/tag/cats-10.1.0
Also, you need to change the OpenAPI version from the file from "openapi": "3.1.0" to "openapi": "3.0.0". CATS doesn't support 3,1 yet.

@s1267
Copy link
Author

s1267 commented Nov 21, 2023

Thank you so much for the fix. Everything works fine

@s1267 s1267 closed this as completed Nov 21, 2023
en-milie added a commit that referenced this issue Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants