Browse Source

Enable transaction

pull/6809/head
Halil İbrahim Kalkan 5 years ago
parent
commit
49d3052258
  1. 2
      test/AbpPerfTest/AbpPerfTest.WithAbp/AppModule.cs
  2. 4
      test/AbpPerfTest/_jmeter/SimpleTestPlan.jmx
  3. 4
      test/AbpPerfTest/_jmeter/SimpleTestPlanWithoutAbp.jmx

2
test/AbpPerfTest/AbpPerfTest.WithAbp/AppModule.cs

@ -33,7 +33,7 @@ namespace AbpPerfTest.WithAbp
Configure<AbpUnitOfWorkDefaultOptions>(options =>
{
options.TransactionBehavior = UnitOfWorkTransactionBehavior.Disabled;
options.TransactionBehavior = UnitOfWorkTransactionBehavior.Auto;
});
}

4
test/AbpPerfTest/_jmeter/SimpleTestPlan.jmx

@ -16,9 +16,9 @@
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
<boolProp name="LoopController.continue_forever">false</boolProp>
<stringProp name="LoopController.loops">100</stringProp>
<stringProp name="LoopController.loops">20</stringProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">1000</stringProp>
<stringProp name="ThreadGroup.num_threads">2000</stringProp>
<stringProp name="ThreadGroup.ramp_time">10</stringProp>
<boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.duration"></stringProp>

4
test/AbpPerfTest/_jmeter/SimpleTestPlanWithoutAbp.jmx

@ -16,9 +16,9 @@
<stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
<elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
<boolProp name="LoopController.continue_forever">false</boolProp>
<stringProp name="LoopController.loops">100</stringProp>
<stringProp name="LoopController.loops">20</stringProp>
</elementProp>
<stringProp name="ThreadGroup.num_threads">100</stringProp>
<stringProp name="ThreadGroup.num_threads">1000</stringProp>
<stringProp name="ThreadGroup.ramp_time">10</stringProp>
<boolProp name="ThreadGroup.scheduler">false</boolProp>
<stringProp name="ThreadGroup.duration"></stringProp>

Loading…
Cancel
Save