Test rest apis with restAssured and testng.
Deploy Artifact (Usage: PUT /repo-key/path/to/artifact.ext)
Get File stats (sage: GET /api/storage/{repoKey}/{item-path}?stats)
Delete Item (Usage: DELETE /repo-key/path/to/file-or-folder)
Get Repositories (Usage: GET /api/repositories[?type=repositoryType (local|remote|virtual|distribution)])
Java 8 or higher
Gradle
Artifactory OSS up and running (with generic repositories enabled)
Can be changed in file autotestConfig.properties under src/test/resources. Credentials to be used by rest apis for basic authentication.
test.environment.url=http://localhost:8081
test.environment.username=admin
test.environment.password=password
To run the test
./gradlew clean test
Reports can ve viewed in the directory -> build/reports/tests/test/emailable-report.html