Closed suryajit7 closed 5 months ago
CATS was built as a CLI tool. It's true that is also published as a maven library in maven central and can be added as a dependency to your project: https://github.com/Endava/cats?tab=readme-ov-file#experimental-maven-dependency-for-programmatic-use, however this is experimental and some fuzzers will not properly work as CATS relies on a fork of okhttp which is not published on Maven Central. Using CATS in source code will be possible by doing a CatsMain.run() and passing all arguments, which again is not (yet) optimized.
I will close this for now as not in scope for the near future.
Currently installing and running CATS requires manual steps which further require providing Ref Data file, necessary Headers, Auths and Params, etc. All this can be easily simplified and enhanced by integrating it with the REST-Assured where we can do all of the above and create a proper framework for API testing. The final product will look like a maven-repo which can be added as a dependency in POM or Gradle file.