Search documentation of snmpkit

# SnmpKit.SnmpSim.TestHelpers.StabilityTestHelper (snmpkit v1.3.17)

Specialized testing utilities for stability and endurance testing.

# Summary

## Functions

analyze_memory_samples(samples)

Analyzes memory usage patterns to detect leaks and trends.

check_system_health()

Checks overall system health and returns metrics.

cleanup_all()

Cleanup all test resources.

clear_failure_injection()

Clears any active failure injections.

inject_failure(scenario)

Injects various types of failures for testing system resilience.

monitor_memory_usage(duration_ms, sample_interval_ms, test_function)

Monitors memory usage over a specified duration while running a test function.

reset_system_state()

Resets system state for stability testing.

run_endurance_test(duration_ms, options \\ %{})

Runs an endurance test with varying workload patterns.

run_load_test(devices, target_rps, duration_ms, options \\ %{})

Runs a comprehensive load test with monitoring.

# Functions

# analyze_memory_samples(samples)

Analyzes memory usage patterns to detect leaks and trends.

# check_system_health()

Checks overall system health and returns metrics.

# cleanup_all()

Cleanup all test resources.

# clear_failure_injection()

Clears any active failure injections.

# inject_failure(scenario)

Injects various types of failures for testing system resilience.

# monitor_memory_usage(duration_ms, sample_interval_ms, test_function)

Monitors memory usage over a specified duration while running a test function.

# reset_system_state()

Resets system state for stability testing.

# run_endurance_test(duration_ms, options \\ %{})

Runs an endurance test with varying workload patterns.

# run_load_test(devices, target_rps, duration_ms, options \\ %{})

Runs a comprehensive load test with monitoring.