RestAssured API Here is a list of Java libraries and frameworks used to automate the REST API testing. Maven: To install project dependency. TestNG: To write test cases. Rest Assured: To automate the REST API calls. Simple JSON: To read/write the API JSON. HTTP Client: To remove the hardcoding of HTTP status code.