@@ -234,25 +234,6 @@ export class LoadTestForm {
234234 </div>
235235 <small class="form-help">1 second to 24 hours maximum</small>
236236 </div>
237- </div>
238- </div>
239-
240- <div class="form-section compact compact-advanced">
241- <h3>Advanced Options</h3>
242- <div class="form-grid two-column">
243- <div class="form-field">
244- <label class="checkbox-label">
245- <input type="checkbox" id="follow-redirects" checked>
246- <span class="checkbox-text">Follow Redirects</span>
247- </label>
248- </div>
249-
250- <div class="form-field">
251- <label class="checkbox-label">
252- <input type="checkbox" id="insecure-tls">
253- <span class="checkbox-text">Allow Insecure TLS</span>
254- </label>
255- </div>
256237
257238 <div class="form-field">
258239 <label for="timeout-input">Request Timeout (ms)</label>
@@ -265,7 +246,10 @@ export class LoadTestForm {
265246
266247 <div class="form-column">
267248 <div class="form-section compact">
268- <h3>Target Request</h3>
249+ <div class="section-header">
250+ <h3>Target Request</h3>
251+ <button id="start-test-btn" class="btn btn-primary section-header-action" type="button">Start Load Test</button>
252+ </div>
269253 <div class="target-selector">
270254 <div class="radio-group">
271255 <label class="radio-label">
@@ -300,10 +284,6 @@ export class LoadTestForm {
300284 </div>
301285 </div>
302286 </div>
303-
304- <div class="form-actions form-actions-inline">
305- <button id="start-test-btn" class="btn btn-primary" type="button">Start Load Test</button>
306- </div>
307287 </div>
308288 </div>
309289
@@ -584,12 +564,6 @@ export class LoadTestForm {
584564 const targetType = this . container . querySelector (
585565 'input[name="target-type"]:checked'
586566 ) as HTMLInputElement ;
587- const followRedirects = this . container . querySelector (
588- '#follow-redirects'
589- ) as HTMLInputElement ;
590- const insecureTLS = this . container . querySelector (
591- '#insecure-tls'
592- ) as HTMLInputElement ;
593567 const timeout = this . container . querySelector (
594568 '#timeout-input'
595569 ) as HTMLInputElement ;
@@ -620,8 +594,8 @@ export class LoadTestForm {
620594 durationSec,
621595 target,
622596 environmentId,
623- followRedirects : followRedirects . checked ,
624- insecureTLS : insecureTLS . checked ,
597+ followRedirects : true ,
598+ insecureTLS : false ,
625599 requestTimeoutMs : parseInt ( timeout . value ) ,
626600 } ;
627601 }
@@ -715,12 +689,6 @@ export class LoadTestForm {
715689 const durationUnit = this . container . querySelector (
716690 '#duration-unit'
717691 ) as HTMLSelectElement ;
718- const followRedirects = this . container . querySelector (
719- '#follow-redirects'
720- ) as HTMLInputElement ;
721- const insecureTLS = this . container . querySelector (
722- '#insecure-tls'
723- ) as HTMLInputElement ;
724692 const timeout = this . container . querySelector (
725693 '#timeout-input'
726694 ) as HTMLInputElement ;
@@ -735,8 +703,6 @@ export class LoadTestForm {
735703 durationUnit . value = 'seconds' ;
736704 }
737705
738- followRedirects . checked = config . followRedirects !== false ;
739- insecureTLS . checked = config . insecureTLS === true ;
740706 timeout . value = ( config . requestTimeoutMs || 30000 ) . toString ( ) ;
741707
742708 if ( config . target . kind === 'collection' ) {
0 commit comments