Skip to content

ARMeeru/API-Holmes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

API Holmes

A simple go program comparing sample response and actual response in bytes. Simply run the binary followed by config JSON path and that's it!

./compareAPIresponse test.json

Provide your JSON path accordingly.

Sample JSON Format

{
    "api_info": {
        "url": "",
        "method": "",
        "headers": {},
        "request_body": {},
        "sample_response": {}
    }
}

TO-DO

  • URL Params Separation Acceptance
  • Removing Hardcoded Status Code
  • Better Error Handlings

Conclusion

This is an attempt at my ongoing golang learning phase. I am eternally grateful to @Anondo

Feel free to criticize, and suggest in the Discussions tab.

Licensed under MIT License

Releases

No releases published

Packages

No packages published

Languages