Загрузить файлы в «/»

This commit is contained in:
Шимченко 2025-08-01 09:29:38 +00:00
parent 4243a80c34
commit 80d67a57d9

View File

@ -27,13 +27,13 @@
<hashTree>
<TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="___CONFIG___" enabled="false"/>
<hashTree/>
<CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager" enabled="true">
<CookieManager guiclass="CookiePanel" testclass="CookieManager" testname="HTTP Cookie Manager">
<collectionProp name="CookieManager.cookies"/>
<boolProp name="CookieManager.clearEachIteration">true</boolProp>
<boolProp name="CookieManager.controlledByThreadGroup">false</boolProp>
</CookieManager>
<hashTree/>
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
<Arguments guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments">
<elementProp name="login_admin" elementType="Argument">
<stringProp name="Argument.name">login_admin</stringProp>
@ -73,7 +73,7 @@
</elementProp>
</ThreadGroup>
<hashTree>
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC01_Авторизация_Админа">
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC01_Авторизация_Админа" enabled="false">
<collectionProp name="ModuleController.node_path">
<stringProp name="764597751">Test Plan</stringProp>
<stringProp name="764597751">Test Plan</stringProp>
@ -81,7 +81,7 @@
</collectionProp>
</ModuleController>
<hashTree/>
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC01_Авторизация_Пользователя">
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC01_Авторизация_Пользователя" enabled="false">
<collectionProp name="ModuleController.node_path">
<stringProp name="764597751">Test Plan</stringProp>
<stringProp name="764597751">Test Plan</stringProp>
@ -89,7 +89,7 @@
</collectionProp>
</ModuleController>
<hashTree/>
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC02_Создание пользователя">
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC02_Создание пользователя" enabled="false">
<collectionProp name="ModuleController.node_path">
<stringProp name="764597751">Test Plan</stringProp>
<stringProp name="764597751">Test Plan</stringProp>
@ -97,7 +97,7 @@
</collectionProp>
</ModuleController>
<hashTree/>
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC03_Создание_Тикета">
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC03_Создание_Тикета" enabled="true">
<collectionProp name="ModuleController.node_path">
<stringProp name="764597751">Test Plan</stringProp>
<stringProp name="764597751">Test Plan</stringProp>
@ -108,7 +108,7 @@
</hashTree>
<TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="___SCENARIO___" enabled="false"/>
<hashTree/>
<TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="TF_UC01_Авторизация_Админа" enabled="true"/>
<TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="TF_UC01_Авторизация_Админа"/>
<hashTree>
<TransactionController guiclass="TransactionControllerGui" testclass="TransactionController" testname="TC_UC01_Авторизация_Админа" enabled="true">
<boolProp name="TransactionController.includeTimers">false</boolProp>
@ -954,7 +954,7 @@
<stringProp name="variableName">source_selector</stringProp>
</RandomVariableConfig>
<hashTree/>
<IfController guiclass="IfControllerPanel" testclass="IfController" testname="IfC Проверка на источник чтения">
<IfController guiclass="IfControllerPanel" testclass="IfController" testname="IfC_Save">
<stringProp name="IfController.condition">${__jexl3(${source_selector} == 1)}</stringProp>
<boolProp name="IfController.evaluateAll">false</boolProp>
<boolProp name="IfController.useExpression">true</boolProp>
@ -1321,9 +1321,9 @@
</UniformRandomTimer>
<hashTree/>
</hashTree>
<TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="TF_UC02_Созданиеользователя" enabled="true"/>
<TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="TF_UC02_Созданиеользователя"/>
<hashTree>
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC01_Авторизация_Админа">
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC01_Авторизация_Админа" enabled="true">
<collectionProp name="ModuleController.node_path">
<stringProp name="764597751">Test Plan</stringProp>
<stringProp name="764597751">Test Plan</stringProp>
@ -1337,7 +1337,7 @@
<hashTree>
<GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SC_UC02_Созданиеользователя"/>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&lt;_/admin/auth/user/add/">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&lt;_/admin/auth/user/add/" enabled="true">
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">${PROTOCOL}</stringProp>
@ -1351,7 +1351,7 @@
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="JSR223 PreProcessor" enabled="true">
<JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="JSR223 PreProcessor">
<stringProp name="scriptLanguage">groovy</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
@ -1392,7 +1392,7 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
</collectionProp>
</HeaderManager>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="CSRF&lt;&lt;&lt;REE" enabled="true">
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="CSRF&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">CSRF</stringProp>
<stringProp name="RegexExtractor.regex">name=&quot;csrfmiddlewaretoken&quot; value=&quot;(.*)&quot;</stringProp>
@ -1403,7 +1403,7 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
</RegexExtractor>
<hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&gt;_/admin/auth/user/add/">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&gt;_/admin/auth/user/add/" enabled="true">
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">${PROTOCOL}</stringProp>
@ -1543,7 +1543,7 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
</ResultCollector>
<hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&lt;_/admin/auth/user/">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&lt;_/admin/auth/user/" enabled="true">
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">${PROTOCOL}</stringProp>
@ -1591,7 +1591,7 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
</collectionProp>
</HeaderManager>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="user_num&lt;&lt;&lt;REE" enabled="true">
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="user_num&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">user_num</stringProp>
<stringProp name="RegexExtractor.regex">&lt;a href=&quot;/admin/auth/user/(\d+)/change/&quot;&gt;${login_user}&lt;/a&gt;</stringProp>
@ -1602,7 +1602,7 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
</RegexExtractor>
<hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&gt;_/admin/auth/user/__user_num__/change/">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&gt;_/admin/auth/user/__user_num__/change/" enabled="true">
<stringProp name="TestPlan.comments">Detected the start of a redirect chain</stringProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
@ -1812,12 +1812,12 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
<boolProp name="IfController.useExpression">true</boolProp>
</IfController>
<hashTree>
<JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="login_user + password_user &gt;&gt;&gt; JSR223" enabled="true">
<JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="login_user + password_user&gt;&gt;&gt;JSR223">
<stringProp name="cacheKey">true</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="script">if (prev.getResponseCode() != &apos;403&apos;) {
def csvPath = &quot;C:/Users/king_/Desktop/users.csv&quot;
def csvPath = &quot;users.csv&quot;
def login = vars.get(&quot;login_user&quot;)
def password = vars.get(&quot;password_user&quot;)
def csvLine = &quot;${login},${password}\n&quot;
@ -1833,7 +1833,7 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
<stringProp name="scriptLanguage">groovy</stringProp>
</JSR223PostProcessor>
<hashTree/>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&gt;_/write?db=test">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&gt;_/write?db=test" enabled="true">
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">8086</stringProp>
<stringProp name="HTTPSampler.path">/write?db=test</stringProp>
@ -1929,7 +1929,7 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
</collectionProp>
</HeaderManager>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="CSRF&lt;&lt;&lt;REE" enabled="true">
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="CSRF&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">CSRF</stringProp>
<stringProp name="RegexExtractor.regex">name=&quot;csrfmiddlewaretoken&quot; value=&quot;(.*)&quot;</stringProp>
@ -1965,7 +1965,7 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
<elementProp name="queue" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.name">queue</stringProp>
<stringProp name="Argument.value">${__Random(1, 2,)}</stringProp>
<stringProp name="Argument.value">${__Random(1, 3,)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
<boolProp name="HTTPArgument.use_equals">true</boolProp>
</elementProp>
@ -1986,7 +1986,7 @@ vars.put(&quot;password_user&quot;, password)</stringProp>
<elementProp name="priority" elementType="HTTPArgument">
<boolProp name="HTTPArgument.always_encode">false</boolProp>
<stringProp name="Argument.name">priority</stringProp>
<stringProp name="Argument.value">${__Random(1, 5,)}</stringProp>
<stringProp name="Argument.value">${__Random(1, 6,)}</stringProp>
<stringProp name="Argument.metadata">=</stringProp>
<boolProp name="HTTPArgument.use_equals">true</boolProp>
</elementProp>