This module contains integration tests for the Tank application, focusing on testing the REST API endpoints against the QA Tank environment.
The integration tests are designed to test the Tank application's REST API functionality end-to-end, including:
- Script upload and management
- Project operations
- Job management
- Agent operations
BaseIT.java - Provides common functionality for all integration tests:
- API token management (from properties file or AWS SSM)
- HTTP client configuration
- Common constants and utilities
The tests support two methods for API token configuration:
Create test_support/src/test/resources/test-config.properties:
tank.api.token=your_api_token_hereThe tests automatically fetch the token from AWS SSM Parameter Store:
- Parameter:
/Tank/qa/integration-tests/api/token - Requires appropriate AWS credentials/IAM permissions
- Target Environment:
https://qa-tank.perf.a.intuit.com - API Version: v2
- Authentication: Bearer token
- Valid API token (see Configuration section)
- Access to Tank QA environment with a valid API token
# Run all integration tests
By default, `mvn clean install` will run both unit and integration tests.
You can run individual tests directly on IntelliJ/ or your preferred IDE.@Tag("integration")- All integration tests- Individual test methods can have additional specific tags
- Tests create temporary scripts with unique names
- Consider implementing cleanup in
@AfterEachor@AfterAllmethods - Use descriptive names to identify test-created resources