Add API fuzz test pipeline#106
Open
yukicoder0509 wants to merge 6 commits into
Open
Conversation
…z endpoint to stable ones like group and setting till the workflow is stable
… user data and use restler report parser to generate html report
…report' directory in run.sh before accessing it
Kyle9410-Chen
requested changes
Mar 24, 2026
Member
There was a problem hiding this comment.
Since the page is already deployed on GitHub, I think we can just fetch the YAML file from there instead of hardcoding it locally.
Member
Author
There was a problem hiding this comment.
Yes, you are right about it.
But there is a problem:
We often update the API before updating the backend implementation.
I think we can discuss how to control the API version so we keep track of the API spec of the backend version.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of changes
Purpose
make fuzzto run fuzz testing and generate a reportAdditional Information
make fuzzin terminal, fuzz testing will start automatically. Then check is there is a report generated intest/fuzzing/reportsfolder.make fuzztest/fuzzing/prepare.sh, this will build a backend binary.test/fuzzing/run.sh3-1. Run docker compose
test/fuzzing/compose.yaml: postgres -> ldap -> redis -> backend -> data seeder (inject test user data) -> restler3-2. restler start compile and fuzzing
3-3. fuzz finish
3-4. run restler report parser to parse restler output into HTML report
3-5. static HTML report generated to
test/fuzzing/reports/dist