Smoke test: read back with a read-only personal API key (drop /auth/api-key) - #18
Smoke test: read back with a read-only personal API key (drop /auth/api-key)#18szymeo wants to merge 1 commit into
167 passed, 0 failed and 0 skipped
✅ target/failsafe-reports/TEST-io.logdash.sdk.integration.LogdashIntegrationTest.xml
8 tests were completed in 41s with 8 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.integration.LogdashIntegrationTest | 8✅ | 41s |
✅ io.logdash.sdk.integration.LogdashIntegrationTest
✅ should_handle_no_api_key_scenario
✅ should_handle_very_long_messages_gracefully
✅ should_handle_all_log_levels_correctly
✅ should_handle_mixed_logging_and_metrics_under_load
✅ should_handle_rapid_successive_operations
✅ should_handle_metric_operations_correctly
✅ should_maintain_sequence_numbers_across_different_log_levels
✅ should_recover_from_transport_creation_failure
✅ target/surefire-reports/TEST-io.logdash.sdk.config.LogdashConfigBuilderTest.xml
6 tests were completed in 104ms with 6 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.config.LogdashConfigBuilderTest | 6✅ | 104ms |
✅ io.logdash.sdk.config.LogdashConfigBuilderTest
✅ should_accept_various_url_formats(String)[1]
✅ should_accept_various_url_formats(String)[2]
✅ should_accept_various_url_formats(String)[3]
✅ should_accept_various_url_formats(String)[4]
✅ should_validate_extreme_timeout_values
✅ should_chain_builder_methods_correctly
✅ target/surefire-reports/TEST-io.logdash.sdk.config.LogdashConfigTest.xml
19 tests were completed in 39ms with 19 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.config.LogdashConfigTest | 19✅ | 39ms |
✅ io.logdash.sdk.config.LogdashConfigTest
✅ should_handle_edge_case_timeout_values
✅ should_accept_zero_retry_delay
✅ should_throw_exception_for_negative_max_retries
✅ should_throw_exception_for_zero_or_negative_shutdown_timeout
✅ should_validate_concurrent_requests_limits
✅ should_validate_all_parameters_in_constructor
✅ should_accept_relative_urls_as_valid
✅ should_throw_exception_for_null_base_url
✅ should_throw_exception_for_zero_or_negative_max_concurrent_requests
✅ should_handle_builder_method_chaining
✅ should_accept_zero_max_retries
✅ should_throw_exception_for_blank_base_url
✅ should_throw_exception_for_negative_retry_delay
✅ should_throw_exception_for_invalid_uri_syntax
✅ should_throw_exception_for_zero_or_negative_request_timeout
✅ should_create_config_with_valid_parameters
✅ should_create_valid_urls_for_common_protocols
✅ should_validate_url_schemes_correctly
✅ should_use_default_values
✅ target/surefire-reports/TEST-io.logdash.sdk.error.ErrorHandlingTest.xml
10 tests were completed in 15s with 10 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.error.ErrorHandlingTest | 10✅ | 15s |
✅ io.logdash.sdk.error.ErrorHandlingTest
✅ should_handle_resource_exhaustion_scenarios
✅ should_validate_config_parameters
✅ should_handle_extreme_values
✅ should_handle_malformed_data_gracefully
✅ should_maintain_thread_safety_under_stress
✅ should_handle_invalid_api_keys(String)[1]
✅ should_handle_invalid_api_keys(String)[2]
✅ should_handle_invalid_api_keys(String)[3]
✅ should_handle_invalid_api_keys(String)[4]
✅ should_handle_invalid_api_keys(String)[5]
✅ target/surefire-reports/TEST-io.logdash.sdk.exception.LogdashExceptionTest.xml
3 tests were completed in 4ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.exception.LogdashExceptionTest | 3✅ | 4ms |
✅ io.logdash.sdk.exception.LogdashExceptionTest
✅ should_create_exception_with_message_and_cause
✅ should_create_exception_with_message
✅ should_be_runtime_exception
✅ target/surefire-reports/TEST-io.logdash.sdk.log.LogdashLoggerTest.xml
9 tests were completed in 2s with 9 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.log.LogdashLoggerTest | 9✅ | 2s |
✅ io.logdash.sdk.log.LogdashLoggerTest
✅ should_handle_all_log_levels
✅ should_handle_console_output_when_enabled
✅ should_send_log_with_context
✅ should_handle_empty_context
✅ should_increment_sequence_numbers_correctly
✅ should_send_info_log_with_correct_level
✅ should_handle_large_context_maps
✅ should_handle_null_values_in_context
✅ should_handle_special_characters_in_message
✅ target/surefire-reports/TEST-io.logdash.sdk.log.LogEntryTest.xml
11 tests were completed in 22ms with 11 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.log.LogEntryTest | 11✅ | 22ms |
✅ io.logdash.sdk.log.LogEntryTest
✅ should_handle_null_timestamp_by_using_current_time
✅ should_create_log_entry_with_all_parameters
✅ should_handle_different_context_value_types
✅ should_handle_empty_context_map
✅ should_create_log_entry_with_minimal_parameters
✅ should_throw_exception_for_null_level
✅ should_create_log_entry_with_context
✅ should_create_defensive_copy_of_context
✅ should_handle_null_context_by_using_empty_map
✅ should_throw_exception_for_null_message
✅ should_handle_context_with_null_values
✅ target/surefire-reports/TEST-io.logdash.sdk.log.LogLevelTest.xml
3 tests were completed in 30ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.log.LogLevelTest | 3✅ | 30ms |
✅ io.logdash.sdk.log.LogLevelTest
✅ should_have_correct_values
✅ should_return_correct_string_representation
✅ should_have_all_expected_levels
✅ target/surefire-reports/TEST-io.logdash.sdk.LogdashTest.xml
12 tests were completed in 12s with 12 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.LogdashTest | 12✅ | 12s |
✅ io.logdash.sdk.LogdashTest
✅ should_throw_exception_when_accessing_closed_sdk
✅ should_create_sdk_with_default_configuration
✅ should_handle_flush_operation
✅ should_create_sdk_without_api_key_and_use_noop_transport
✅ should_maintain_thread_safety_during_concurrent_access
✅ should_configure_all_builder_options
✅ should_allow_multiple_close_calls_safely
✅ should_handle_builder_with_all_default_values
✅ should_handle_flush_with_no_pending_operations
✅ should_handle_runtime_shutdown_hook
✅ should_work_with_try_with_resources
✅ should_create_sdk_with_valid_configuration
✅ target/surefire-reports/TEST-io.logdash.sdk.metrics.LogdashMetricsTest.xml
4 tests were completed in 12ms with 4 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.metrics.LogdashMetricsTest | 4✅ | 12ms |
✅ io.logdash.sdk.metrics.LogdashMetricsTest
✅ should_handle_negative_values
✅ should_send_set_metric
✅ should_handle_decimal_values_correctly
✅ should_send_mutate_metric
✅ target/surefire-reports/TEST-io.logdash.sdk.metrics.MetricEntryTest.xml
8 tests were completed in 8ms with 8 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.metrics.MetricEntryTest | 8✅ | 8ms |
✅ io.logdash.sdk.metrics.MetricEntryTest
✅ should_throw_exception_for_null_operation
✅ should_handle_negative_values
✅ should_create_metric_entry_with_valid_parameters
✅ should_throw_exception_for_null_value
✅ should_handle_zero_values
✅ should_throw_exception_for_null_name
✅ should_throw_exception_for_blank_name
✅ should_create_metric_entry_with_integer_value
✅ target/surefire-reports/TEST-io.logdash.sdk.metrics.MetricTypeTest.xml
3 tests were completed in 5ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.metrics.MetricTypeTest | 3✅ | 5ms |
✅ io.logdash.sdk.metrics.MetricTypeTest
✅ should_have_correct_values
✅ should_return_correct_string_representation
✅ should_have_all_expected_types
✅ target/surefire-reports/TEST-io.logdash.sdk.transport.HttpTransportTest.xml
32 tests were completed in 25s with 32 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.transport.HttpTransportTest | 32✅ | 25s |
✅ io.logdash.sdk.transport.HttpTransportTest
✅ should_handle_high_throughput_requests_with_realistic_expectations
✅ should_handle_interrupted_threads_during_retry
✅ should_handle_multiple_shutdown_calls_safely
✅ should_handle_multiple_close_calls_safely
✅ should_maintain_minimum_throughput_under_burst_load
✅ should_successfully_send_metric_entry
✅ should_mask_api_key_in_verbose_logging
✅ should_demonstrate_concurrency_behavior
✅ should_handle_concurrent_requests_within_limit
✅ should_handle_invalid_base_url_gracefully
✅ should_preserve_thread_pool_efficiency_under_reasonable_load
✅ should_handle_graceful_shutdown_with_pending_requests
✅ should_enforce_performance_contract_requirements
✅ should_respect_concurrency_limits
✅ should_successfully_send_log_entry
✅ should_send_correct_json_for_metrics
✅ should_handle_large_payloads
✅ should_use_efficient_countdownlatch_for_flush
✅ should_fail_permanently_after_max_retries
✅ should_handle_serialization_errors_gracefully
✅ should_send_correct_json_for_log_entries_with_context
✅ should_retry_on_http_error_responses(int)[1]
✅ should_retry_on_http_error_responses(int)[2]
✅ should_retry_on_http_error_responses(int)[3]
✅ should_retry_on_http_error_responses(int)[4]
✅ should_retry_on_http_error_responses(int)[5]
✅ should_retry_on_http_error_responses(int)[6]
✅ should_retry_on_http_error_responses(int)[7]
✅ should_not_send_requests_after_shutdown
✅ should_handle_connection_timeout
✅ should_implement_exponential_backoff_with_jitter
✅ should_flush_pending_requests
✅ target/surefire-reports/TEST-io.logdash.sdk.transport.LogdashTransportTest.xml
3 tests were completed in 13ms with 3 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.transport.LogdashTransportTest | 3✅ | 13ms |
✅ io.logdash.sdk.transport.LogdashTransportTest
✅ should_provide_optional_shutdown_method
✅ should_define_contract_for_metric_sending
✅ should_define_contract_for_log_sending
✅ target/surefire-reports/TEST-io.logdash.sdk.transport.NoOpTransportTest.xml
9 tests were completed in 31ms with 9 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.transport.NoOpTransportTest | 9✅ | 31ms |
✅ io.logdash.sdk.transport.NoOpTransportTest
✅ should_print_metric_to_console_when_enabled
✅ should_handle_all_metric_types
✅ should_handle_all_log_levels
✅ should_handle_special_characters_in_output
✅ should_initialize_with_verbose_logging
✅ should_not_print_when_console_output_disabled
✅ should_print_log_to_console_when_enabled
✅ should_handle_concurrent_operations
✅ should_handle_operations_after_close
✅ target/surefire-reports/TEST-io.logdash.sdk.util.JsonSerializerEdgeCasesTest.xml
9 tests were completed in 24ms with 9 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.util.JsonSerializerEdgeCasesTest | 9✅ | 24ms |
✅ io.logdash.sdk.util.JsonSerializerEdgeCasesTest
✅ should_preserve_timestamp_precision
✅ should_handle_extremely_large_numbers
✅ should_handle_concurrent_serialization
✅ should_handle_various_message_formats(String)[1]
✅ should_handle_various_message_formats(String)[2]
✅ should_handle_various_message_formats(String)[3]
✅ should_handle_various_message_formats(String)[4]
✅ should_handle_various_message_formats(String)[5]
✅ should_handle_various_message_formats(String)[6]
✅ target/surefire-reports/TEST-io.logdash.sdk.util.JsonSerializerTest.xml
18 tests were completed in 33ms with 18 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| io.logdash.sdk.util.JsonSerializerTest | 18✅ | 33ms |
✅ io.logdash.sdk.util.JsonSerializerTest
✅ should_handle_log_entries_with_timestamp_edge_cases
✅ should_serialize_log_entry_with_special_characters
✅ should_handle_very_long_strings
✅ should_handle_nan_and_infinite_double_values
✅ should_serialize_log_with_unicode_characters
✅ should_handle_all_control_characters_properly
✅ should_handle_empty_strings_and_contexts
✅ should_serialize_metric_entry_with_double_value
✅ should_escape_all_json_control_characters
✅ should_handle_zero_values
✅ should_serialize_metric_entry_with_integer_value
✅ should_handle_different_number_types
✅ should_handle_negative_numbers
✅ should_handle_metric_with_special_characters_in_name
✅ should_serialize_simple_log_entry
✅ should_handle_empty_and_single_character_strings
✅ should_format_large_integer_values_correctly
✅ should_handle_null_metric_name_gracefully