@@ -879,8 +879,8 @@ <h3>Load Test Endpoint (Azure Load Testing)</h3>
879879 < tbody >
880880 < tr >
881881 < td > < code > /api/loadtest</ code > </ td >
882- < td > < span class ="method-badge method-post "> POST</ span > </ td >
883- < td > Execute load test probe with JSON body</ td >
882+ < td > < span class ="method-badge method-get " > GET </ span > < span class =" method-badge method- post "> POST</ span > </ td >
883+ < td > Execute load test probe (GET uses defaults, POST accepts JSON body) </ td >
884884 </ tr >
885885 < tr >
886886 < td > < code > /api/loadtest/probe</ code > </ td >
@@ -894,7 +894,22 @@ <h3>Load Test Endpoint (Azure Load Testing)</h3>
894894 </ tr >
895895 </ tbody >
896896 </ table >
897- < p > < strong > Request body (POST):</ strong > </ p >
897+
898+ < h4 > Option 1: GET with Query Parameters (Recommended for Azure Load Testing)</ h4 >
899+ < p > Use for URL-based quick tests in Azure Load Testing:</ p >
900+ < div class ="code-block ">
901+ < span class ="comment "> # With defaults (~100ms response at low load)</ span >
902+ GET /api/loadtest/probe
903+
904+ < span class ="comment "> # Faster degradation (recommended for testing)</ span >
905+ GET /api/loadtest/probe?softLimit=25&degradationFactor=10
906+
907+ < span class ="comment "> # Aggressive timeout testing</ span >
908+ GET /api/loadtest/probe?softLimit=10&degradationFactor=50
909+ </ div >
910+
911+ < h4 > Option 2: POST with JSON Body</ h4 >
912+ < p > Use when you need a JMeter script or want to send a request body:</ p >
898913 < div class ="code-block ">
899914{
900915 < span class ="string "> "workIterations"</ span > : 1000,
@@ -1015,6 +1030,7 @@ <h2>📐 Architecture</h2>
10151030│ ├── < span class ="file "> CpuController.cs</ span >
10161031│ ├── < span class ="file "> CrashController.cs</ span >
10171032│ ├── < span class ="file "> HealthController.cs</ span >
1033+ │ ├── < span class ="file "> LoadTestController.cs</ span > < span class ="comment "> # Azure Load Testing endpoint</ span >
10181034│ ├── < span class ="file "> MemoryController.cs</ span >
10191035│ ├── < span class ="file "> MetricsController.cs</ span >
10201036│ ├── < span class ="file "> SlowRequestController.cs</ span >
@@ -1024,6 +1040,7 @@ <h2>📐 Architecture</h2>
10241040│ ├── < span class ="file "> CpuStressService.cs</ span >
10251041│ ├── < span class ="file "> CrashService.cs</ span >
10261042│ ├── < span class ="file "> LatencyProbeService.cs</ span >
1043+ │ ├── < span class ="file "> LoadTestService.cs</ span > < span class ="comment "> # Load test with soft limit degradation</ span >
10271044│ ├── < span class ="file "> MemoryPressureService.cs</ span >
10281045│ ├── < span class ="file "> MetricsBroadcastService.cs</ span >
10291046│ ├── < span class ="file "> MetricsCollector.cs</ span >
@@ -1032,6 +1049,7 @@ <h2>📐 Architecture</h2>
10321049│ ├── < span class ="file "> ThreadBlockService.cs</ span >
10331050│ ├── < span class ="file "> ICpuStressService.cs</ span > < span class ="comment "> # Interfaces</ span >
10341051│ ├── < span class ="file "> ICrashService.cs</ span >
1052+ │ ├── < span class ="file "> ILoadTestService.cs</ span >
10351053│ ├── < span class ="file "> IMemoryPressureService.cs</ span >
10361054│ ├── < span class ="file "> IMetricsCollector.cs</ span >
10371055│ ├── < span class ="file "> ISlowRequestService.cs</ span >
@@ -1047,6 +1065,8 @@ <h2>📐 Architecture</h2>
10471065│ ├── < span class ="file "> CrashRequest.cs</ span >
10481066│ ├── < span class ="file "> DetailedMetrics.cs</ span >
10491067│ ├── < span class ="file "> ErrorResponse.cs</ span >
1068+ │ ├── < span class ="file "> LoadTestRequest.cs</ span > < span class ="comment "> # Load test parameters</ span >
1069+ │ ├── < span class ="file "> LoadTestResult.cs</ span > < span class ="comment "> # Load test response</ span >
10501070│ ├── < span class ="file "> MemoryAllocationRequest.cs</ span >
10511071│ ├── < span class ="file "> MemoryReleaseResult.cs</ span >
10521072│ ├── < span class ="file "> MetricsSnapshot.cs</ span >
0 commit comments