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

This commit is contained in:
Шимченко 2025-08-06 18:41:53 +00:00
parent 6037e77407
commit e59eacd94a

View File

@ -162,7 +162,7 @@
</collectionProp>
</ModuleController>
<hashTree/>
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC06_Открытиеадачи" enabled="true">
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC06_Открытиеадачи">
<collectionProp name="ModuleController.node_path">
<stringProp name="764597751">Test Plan</stringProp>
<stringProp name="764597751">Test Plan</stringProp>
@ -213,7 +213,7 @@
</hashTree>
<TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="___SCENARIO___" enabled="false"/>
<hashTree/>
<TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="TF_UC00_Задержка" enabled="true"/>
<TestFragmentController guiclass="TestFragmentControllerGui" testclass="TestFragmentController" testname="TF_UC00_Задержка"/>
<hashTree>
<TestAction guiclass="TestActionGui" testclass="TestAction" testname="Flow Control Action" enabled="true">
<intProp name="ActionProcessor.action">1</intProp>
@ -2860,7 +2860,7 @@ try {
<hashTree>
<GenericController guiclass="LogicControllerGui" testclass="GenericController" testname="SC_UC04_Пагинация"/>
<hashTree>
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC01_Авторизация_Пользователя" enabled="true">
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="MC_UC01_Авторизация_Пользователя">
<collectionProp name="ModuleController.node_path">
<stringProp name="764597751">Test Plan</stringProp>
<stringProp name="764597751">Test Plan</stringProp>
@ -2915,7 +2915,7 @@ try {
</collectionProp>
</HeaderManager>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="query_encoded&lt;&lt;&lt;REE" enabled="true">
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="query_encoded&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">query_encoded</stringProp>
<stringProp name="RegexExtractor.regex">&lt;input type=&apos;hidden&apos; name=&apos;query_encoded&apos; value=&apos;([^&apos;]+)&apos;/&gt;</stringProp>
@ -4045,7 +4045,7 @@ vars.put(&quot;random_page&quot;, randomPage.toString())
</stringProp>
</JSR223PreProcessor>
<hashTree/>
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager">
<collectionProp name="HeaderManager.headers">
<elementProp name="Referer" elementType="Header">
<stringProp name="Header.name">Referer</stringProp>
@ -5544,7 +5544,7 @@ vars.put(&quot;random_page&quot;, randomPage.toString())
</collectionProp>
</ModuleController>
<hashTree/>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&lt;_/tickets/" enabled="true">
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&lt;_/tickets/">
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">${PROTOCOL}</stringProp>
@ -5587,7 +5587,7 @@ vars.put(&quot;random_page&quot;, randomPage.toString())
</collectionProp>
</HeaderManager>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="query_encoded&lt;&lt;&lt;REE" enabled="true">
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="query_encoded&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">query_encoded</stringProp>
<stringProp name="RegexExtractor.regex">&lt;input type=&apos;hidden&apos; name=&apos;query_encoded&apos; value=&apos;([^&apos;]+)&apos;/&gt;</stringProp>
@ -6160,84 +6160,40 @@ vars.put(&quot;random_page&quot;, randomPage.toString())
</collectionProp>
</HeaderManager>
<hashTree/>
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="ticket_list&lt;&lt;&lt;JE" enabled="true">
<stringProp name="JSONPostProcessor.referenceNames">ticket_list</stringProp>
<stringProp name="JSONPostProcessor.jsonPathExprs">$..ticket</stringProp>
<stringProp name="JSONPostProcessor.match_numbers">-1</stringProp>
<stringProp name="JSONPostProcessor.defaultValues">id ERROR</stringProp>
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="random_ticket&lt;&lt;&lt;JE">
<stringProp name="JSONPostProcessor.referenceNames">random_ticket</stringProp>
<stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
<stringProp name="JSONPostProcessor.match_numbers">0</stringProp>
<stringProp name="JSONPostProcessor.defaultValues">random_ticket ERROR</stringProp>
</JSONPostProcessor>
<hashTree/>
<JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="random_ticket&lt;&lt;&lt;JSR" enabled="true">
<stringProp name="scriptLanguage">groovy</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="cacheKey">true</stringProp>
<stringProp name="script">def ticketNumbers = (1..(vars.get(&quot;ticket_list_matchNr&quot;) as Integer)).collect {
vars.get(&quot;ticket_list_${it}&quot;).split(&quot; &quot;)[0]
}
def randomTicket = ticketNumbers.shuffled().first()
vars.put(&quot;random_ticket&quot;, randomTicket)</stringProp>
</JSR223PostProcessor>
<hashTree/>
</hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&lt;_/tickets/__random_ticket__">
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">${PROTOCOL}</stringProp>
<stringProp name="HTTPSampler.path">/tickets/${random_ticket}/</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
<collectionProp name="HeaderManager.headers">
<elementProp name="Referer" elementType="Header">
<stringProp name="Header.name">Referer</stringProp>
<stringProp name="Header.value">${PROTOCOL}://${HOSTNAME}:${PORT}/tickets/</stringProp>
</elementProp>
<elementProp name="Accept-Language" elementType="Header">
<stringProp name="Header.name">Accept-Language</stringProp>
<stringProp name="Header.value">ru,en;q=0.9,en-GB;q=0.8,en-US;q=0.7</stringProp>
</elementProp>
<elementProp name="Upgrade-Insecure-Requests" elementType="Header">
<stringProp name="Header.name">Upgrade-Insecure-Requests</stringProp>
<stringProp name="Header.value">1</stringProp>
</elementProp>
<elementProp name="Accept-Encoding" elementType="Header">
<stringProp name="Header.name">Accept-Encoding</stringProp>
<stringProp name="Header.value">gzip, deflate</stringProp>
</elementProp>
<elementProp name="User-Agent" elementType="Header">
<stringProp name="Header.name">User-Agent</stringProp>
<stringProp name="Header.value">Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0</stringProp>
</elementProp>
<elementProp name="Accept" elementType="Header">
<stringProp name="Header.name">Accept</stringProp>
<stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="is_assigned&lt;&lt;&lt;REE" enabled="true">
<stringProp name="RegexExtractor.useHeaders">false</stringProp>
<stringProp name="RegexExtractor.refname">is_assigned</stringProp>
<stringProp name="RegexExtractor.regex">&lt;td&gt;(\w+) &lt;strong&gt;</stringProp>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="id&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">as_document</stringProp>
<stringProp name="RegexExtractor.refname">id</stringProp>
<stringProp name="RegexExtractor.regex">&quot;id&quot;:(\d+)</stringProp>
<stringProp name="RegexExtractor.template">$1$</stringProp>
<stringProp name="RegexExtractor.default">Assigned</stringProp>
<stringProp name="RegexExtractor.default">id ERROR</stringProp>
<boolProp name="RegexExtractor.default_empty_value">false</boolProp>
<stringProp name="RegexExtractor.match_number">1</stringProp>
<stringProp name="Sample.scope">variable</stringProp>
<stringProp name="Scope.variable">random_ticket</stringProp>
</RegexExtractor>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="assigned&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">as_document</stringProp>
<stringProp name="RegexExtractor.refname">assigned</stringProp>
<stringProp name="RegexExtractor.regex">&quot;assigned_to&quot;:\s*&quot;([^&quot;]+)&quot;</stringProp>
<stringProp name="RegexExtractor.template">$1$</stringProp>
<stringProp name="RegexExtractor.default">id ERROR</stringProp>
<boolProp name="RegexExtractor.default_empty_value">false</boolProp>
<stringProp name="RegexExtractor.match_number">1</stringProp>
<stringProp name="Sample.scope">variable</stringProp>
<stringProp name="Scope.variable">random_ticket</stringProp>
</RegexExtractor>
<hashTree/>
</hashTree>
<IfController guiclass="IfControllerPanel" testclass="IfController" testname="IfC_Проверкаанятости">
<stringProp name="IfController.condition">${__jexl3(&quot;${is_assigned}&quot;.equals(&quot;Unassigned&quot;))}</stringProp>
<IfController guiclass="IfControllerPanel" testclass="IfController" testname="IfC_Задачаанята">
<stringProp name="IfController.condition">${__jexl3(&quot;${assigned}&quot;.equals(&quot;None&quot;))}</stringProp>
<boolProp name="IfController.evaluateAll">false</boolProp>
<boolProp name="IfController.useExpression">true</boolProp>
</IfController>
@ -6296,6 +6252,59 @@ vars.put(&quot;random_ticket&quot;, randomTicket)</stringProp>
<hashTree/>
</hashTree>
</hashTree>
<IfController guiclass="IfControllerPanel" testclass="IfController" testname="IfC_Задача_свободна">
<stringProp name="IfController.condition">${__jexl3(!(&quot;${assigned}&quot;.equals(&quot;None&quot;)))}</stringProp>
<boolProp name="IfController.evaluateAll">false</boolProp>
<boolProp name="IfController.useExpression">true</boolProp>
</IfController>
<hashTree>
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="&lt;_/tickets/__random_ticket__">
<stringProp name="TestPlan.comments">Detected the start of a redirect chain</stringProp>
<stringProp name="HTTPSampler.domain">${HOSTNAME}</stringProp>
<stringProp name="HTTPSampler.port">${PORT}</stringProp>
<stringProp name="HTTPSampler.protocol">${PROTOCOL}</stringProp>
<stringProp name="HTTPSampler.contentEncoding">utf-8</stringProp>
<stringProp name="HTTPSampler.path">/tickets/${random_ticket}/</stringProp>
<boolProp name="HTTPSampler.follow_redirects">true</boolProp>
<stringProp name="HTTPSampler.method">GET</stringProp>
<boolProp name="HTTPSampler.use_keepalive">true</boolProp>
<boolProp name="HTTPSampler.postBodyRaw">false</boolProp>
<elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables">
<collectionProp name="Arguments.arguments"/>
</elementProp>
</HTTPSamplerProxy>
<hashTree>
<HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
<collectionProp name="HeaderManager.headers">
<elementProp name="Referer" elementType="Header">
<stringProp name="Header.name">Referer</stringProp>
<stringProp name="Header.value">${PROTOCOL}://${HOSTNAME}:${PORT}/tickets/4/</stringProp>
</elementProp>
<elementProp name="Accept-Language" elementType="Header">
<stringProp name="Header.name">Accept-Language</stringProp>
<stringProp name="Header.value">ru,en;q=0.9,en-GB;q=0.8,en-US;q=0.7</stringProp>
</elementProp>
<elementProp name="Upgrade-Insecure-Requests" elementType="Header">
<stringProp name="Header.name">Upgrade-Insecure-Requests</stringProp>
<stringProp name="Header.value">1</stringProp>
</elementProp>
<elementProp name="Accept-Encoding" elementType="Header">
<stringProp name="Header.name">Accept-Encoding</stringProp>
<stringProp name="Header.value">gzip, deflate</stringProp>
</elementProp>
<elementProp name="User-Agent" elementType="Header">
<stringProp name="Header.name">User-Agent</stringProp>
<stringProp name="Header.value">Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0</stringProp>
</elementProp>
<elementProp name="Accept" elementType="Header">
<stringProp name="Header.name">Accept</stringProp>
<stringProp name="Header.value">text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7</stringProp>
</elementProp>
</collectionProp>
</HeaderManager>
<hashTree/>
</hashTree>
</hashTree>
</hashTree>
</hashTree>
<ModuleController guiclass="ModuleControllerGui" testclass="ModuleController" testname="wait" enabled="true">
@ -7523,14 +7532,14 @@ vars.put(&quot;random_page&quot;, randomPage.toString())
</collectionProp>
</HeaderManager>
<hashTree/>
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="random_ticket&lt;&lt;&lt;JE" enabled="true">
<JSONPostProcessor guiclass="JSONPostProcessorGui" testclass="JSONPostProcessor" testname="random_ticket&lt;&lt;&lt;JE">
<stringProp name="JSONPostProcessor.referenceNames">random_ticket</stringProp>
<stringProp name="JSONPostProcessor.jsonPathExprs">$.data[*]</stringProp>
<stringProp name="JSONPostProcessor.match_numbers">0</stringProp>
<stringProp name="JSONPostProcessor.defaultValues">random_ticket ERROR</stringProp>
</JSONPostProcessor>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="id&lt;&lt;&lt;REE" enabled="true">
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="id&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">as_document</stringProp>
<stringProp name="RegexExtractor.refname">id</stringProp>
<stringProp name="RegexExtractor.regex">&quot;id&quot;:(\d+)</stringProp>
@ -7542,7 +7551,7 @@ vars.put(&quot;random_page&quot;, randomPage.toString())
<stringProp name="Scope.variable">random_ticket</stringProp>
</RegexExtractor>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="title&lt;&lt;&lt;REE" enabled="true">
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="title&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">as_document</stringProp>
<stringProp name="RegexExtractor.refname">title</stringProp>
<stringProp name="RegexExtractor.regex">&quot;title&quot;:&quot;(.+?)&quot;</stringProp>
@ -7554,7 +7563,7 @@ vars.put(&quot;random_page&quot;, randomPage.toString())
<stringProp name="Scope.variable">random_ticket</stringProp>
</RegexExtractor>
<hashTree/>
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="priority&lt;&lt;&lt;REE" enabled="true">
<RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="priority&lt;&lt;&lt;REE">
<stringProp name="RegexExtractor.useHeaders">as_document</stringProp>
<stringProp name="RegexExtractor.refname">priority</stringProp>
<stringProp name="RegexExtractor.regex">&quot;priority&quot;:(\d+)</stringProp>
@ -8435,7 +8444,7 @@ vars.put(&quot;random_page&quot;, randomPage.toString())
<stringProp name="JSONPostProcessor.defaultValues">id ERROR</stringProp>
</JSONPostProcessor>
<hashTree/>
<JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="random_ticket&lt;&lt;&lt;JSR" enabled="true">
<JSR223PostProcessor guiclass="TestBeanGUI" testclass="JSR223PostProcessor" testname="random_ticket&lt;&lt;&lt;JSR">
<stringProp name="scriptLanguage">groovy</stringProp>
<stringProp name="parameters"></stringProp>
<stringProp name="filename"></stringProp>
@ -8455,7 +8464,7 @@ catch (Exception e)
}</stringProp>
</JSR223PostProcessor>
<hashTree/>
<JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="post_processor_status&lt;&lt;&lt;JSR223" enabled="true">
<JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="post_processor_status&lt;&lt;&lt;JSR223">
<stringProp name="cacheKey">true</stringProp>
<stringProp name="filename"></stringProp>
<stringProp name="parameters"></stringProp>