@@ -254,7 +254,7 @@ log.info("GIT_LOG_DIR: " + gitLogDir);
254
254
</JSR223PreProcessor >
255
255
<hashTree />
256
256
</hashTree >
257
- <IfController guiclass =" IfControllerPanel" testclass =" IfController" testname =" if_os_is_not_windows" >
257
+ <IfController guiclass =" IfControllerPanel" testclass =" IfController" testname =" if_os_is_not_windows" enabled = " true " >
258
258
<stringProp name =" IfController.condition" >${__BeanShell(import org.apache.commons.lang3.SystemUtils; !SystemUtils.IS_OS_WINDOWS;)}</stringProp >
259
259
<boolProp name =" IfController.evaluateAll" >false</boolProp >
260
260
<boolProp name =" IfController.useExpression" >true</boolProp >
@@ -303,9 +303,9 @@ else{
303
303
<hashTree />
304
304
</hashTree >
305
305
</hashTree >
306
- <GenericController guiclass =" LogicControllerGui" testclass =" GenericController" testname =" add_ssh_key_on_bitbucket" />
306
+ <GenericController guiclass =" LogicControllerGui" testclass =" GenericController" testname =" add_ssh_key_on_bitbucket" enabled = " true " />
307
307
<hashTree >
308
- <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" 10 login.action" >
308
+ <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" 10 login.action" enabled = " true " >
309
309
<stringProp name =" TestPlan.comments" >Detected the start of a redirect chain</stringProp >
310
310
<stringProp name =" HTTPSampler.path" >${application.postfix}/login</stringProp >
311
311
<stringProp name =" HTTPSampler.method" >GET</stringProp >
@@ -351,7 +351,7 @@ else{
351
351
<intProp name =" Assertion.test_type" >2</intProp >
352
352
</ResponseAssertion >
353
353
<hashTree />
354
- <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" legacy login form check" >
354
+ <RegexExtractor guiclass =" RegexExtractorGui" testclass =" RegexExtractor" testname =" legacy login form check" enabled = " true " >
355
355
<stringProp name =" RegexExtractor.useHeaders" >false</stringProp >
356
356
<stringProp name =" RegexExtractor.refname" >j_username</stringProp >
357
357
<stringProp name =" RegexExtractor.regex" >j_username</stringProp >
@@ -363,18 +363,18 @@ else{
363
363
<boolProp name =" RegexExtractor.default_empty_value" >false</boolProp >
364
364
</RegexExtractor >
365
365
<hashTree />
366
- <JSR223PostProcessor guiclass =" TestBeanGUI" testclass =" JSR223PostProcessor" testname =" set legacy form type" >
366
+ <JSR223PostProcessor guiclass =" TestBeanGUI" testclass =" JSR223PostProcessor" testname =" set legacy form type" enabled = " true " >
367
367
<stringProp name =" scriptLanguage" >groovy</stringProp >
368
368
<stringProp name =" parameters" ></stringProp >
369
369
<stringProp name =" filename" ></stringProp >
370
370
<stringProp name =" cacheKey" >true</stringProp >
371
- <stringProp name =" script" >String loginform = vars.get(" loginform " );
371
+ <stringProp name =" script" >String loginform = vars.get(" j_username " );
372
372
373
373
if (" NOT_FOUND" .equals(loginform)) {
374
- vars.put(" legacy_login_form" , " true " );
374
+ vars.put(" legacy_login_form" , " false " );
375
375
log.info(" legacy login flow detected" );
376
376
} else {
377
- vars.put(" legacy_login_form" , " false " );
377
+ vars.put(" legacy_login_form" , " true " );
378
378
log.info(" 2SVlogin flow detected" );
379
379
}
380
380
</stringProp >
@@ -390,13 +390,13 @@ if ("NOT_FOUND".equals(loginform)) {
390
390
</JSR223PostProcessor >
391
391
<hashTree />
392
392
</hashTree >
393
- <IfController guiclass =" IfControllerPanel" testclass =" IfController" testname =" if 2sv login flow" >
393
+ <IfController guiclass =" IfControllerPanel" testclass =" IfController" testname =" if 2sv login flow" enabled = " true " >
394
394
<stringProp name =" IfController.condition" >${__groovy(vars.get(" legacy_login_form" ) == ' false' )}</stringProp >
395
395
<boolProp name =" IfController.evaluateAll" >false</boolProp >
396
396
<boolProp name =" IfController.useExpression" >true</boolProp >
397
397
</IfController >
398
398
<hashTree >
399
- <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" 15 /rest/tsv/1.0/authenticate" >
399
+ <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" 15 /rest/tsv/1.0/authenticate" enabled = " true " >
400
400
<stringProp name =" TestPlan.comments" >2sv login flow</stringProp >
401
401
<stringProp name =" HTTPSampler.path" >${application.postfix}/rest/tsv/1.0/authenticate</stringProp >
402
402
<stringProp name =" HTTPSampler.method" >POST</stringProp >
@@ -438,13 +438,13 @@ if ("NOT_FOUND".equals(loginform)) {
438
438
<hashTree />
439
439
</hashTree >
440
440
</hashTree >
441
- <IfController guiclass =" IfControllerPanel" testclass =" IfController" testname =" If legacy login flow" >
441
+ <IfController guiclass =" IfControllerPanel" testclass =" IfController" testname =" If legacy login flow" enabled = " true " >
442
442
<stringProp name =" IfController.condition" >${__groovy(vars.get(" legacy_login_form" ) == ' true' )}</stringProp >
443
443
<boolProp name =" IfController.evaluateAll" >false</boolProp >
444
444
<boolProp name =" IfController.useExpression" >true</boolProp >
445
445
</IfController >
446
446
<hashTree >
447
- <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" login_admin" >
447
+ <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" login_admin" enabled = " true " >
448
448
<stringProp name =" HTTPSampler.path" >${application.postfix}/login</stringProp >
449
449
<boolProp name =" HTTPSampler.follow_redirects" >true</boolProp >
450
450
<stringProp name =" HTTPSampler.method" >POST</stringProp >
@@ -470,7 +470,7 @@ if ("NOT_FOUND".equals(loginform)) {
470
470
</elementProp >
471
471
</HTTPSamplerProxy >
472
472
<hashTree >
473
- <ResponseAssertion guiclass =" AssertionGui" testclass =" ResponseAssertion" testname =" Response Assertion" >
473
+ <ResponseAssertion guiclass =" AssertionGui" testclass =" ResponseAssertion" testname =" Response Assertion" enabled = " true " >
474
474
<collectionProp name =" Asserion.test_strings" >
475
475
<stringProp name =" 49586" >200</stringProp >
476
476
</collectionProp >
@@ -482,7 +482,7 @@ if ("NOT_FOUND".equals(loginform)) {
482
482
<hashTree />
483
483
</hashTree >
484
484
</hashTree >
485
- <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" get_all_ssh_keys_from_bitbucket" >
485
+ <HTTPSamplerProxy guiclass =" HttpTestSampleGui" testclass =" HTTPSamplerProxy" testname =" get_all_ssh_keys_from_bitbucket" enabled = " true " >
486
486
<stringProp name =" HTTPSampler.path" >${application.postfix}/rest/ssh/1.0/keys</stringProp >
487
487
<boolProp name =" HTTPSampler.follow_redirects" >true</boolProp >
488
488
<stringProp name =" HTTPSampler.method" >GET</stringProp >
@@ -514,7 +514,7 @@ vars.put("SERVER_SSH_KEYS", result.join("::"));
514
514
</JSR223PostProcessor >
515
515
<hashTree />
516
516
</hashTree >
517
- <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" read_user_pub_ssh_key_file" >
517
+ <JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" read_user_pub_ssh_key_file" enabled = " true " >
518
518
<stringProp name =" scriptLanguage" >groovy</stringProp >
519
519
<stringProp name =" parameters" ></stringProp >
520
520
<stringProp name =" filename" ></stringProp >
@@ -648,7 +648,7 @@ else{
648
648
<stringProp name =" shareMode" >shareMode.all</stringProp >
649
649
</CSVDataSet >
650
650
<hashTree />
651
- <GenericController guiclass =" LogicControllerGui" testclass =" GenericController" testname =" full_repository_clone_and_push" />
651
+ <GenericController guiclass =" LogicControllerGui" testclass =" GenericController" testname =" full_repository_clone_and_push" enabled = " true " />
652
652
<hashTree >
653
653
<JSR223Sampler guiclass =" TestBeanGUI" testclass =" JSR223Sampler" testname =" set_up_random_variables" enabled =" true" >
654
654
<stringProp name =" scriptLanguage" >groovy</stringProp >
0 commit comments