@@ -2936,8 +2936,63 @@ if (testLabel
2936
2936
<stringProp name="RegexExtractor.match_number">-1</stringProp>
2937
2937
</RegexExtractor>
2938
2938
<hashTree/>
2939
+ <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: isPageCacheable" enabled="true">
2940
+ <stringProp name="RegexExtractor.useHeaders">false</stringProp>
2941
+ <stringProp name="RegexExtractor.refname">isPageCacheable</stringProp>
2942
+ <stringProp name="RegexExtractor.regex">catalogsearch/searchTermsLog/save</stringProp>
2943
+ <stringProp name="RegexExtractor.template">$0$</stringProp>
2944
+ <stringProp name="RegexExtractor.default">0</stringProp>
2945
+ <stringProp name="RegexExtractor.match_number">1</stringProp>
2946
+ </RegexExtractor>
2947
+ <hashTree/>
2939
2948
</hashTree>
2940
2949
2950
+ <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="true">
2951
+ <stringProp name="IfController.condition">"${isPageCacheable}" != "0"</stringProp>
2952
+ <boolProp name="IfController.evaluateAll">false</boolProp>
2953
+ <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/if_page_cacheable_controller.jmx</stringProp></IfController>
2954
+ <hashTree>
2955
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search Terms Log" enabled="true">
2956
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
2957
+ <collectionProp name="Arguments.arguments">
2958
+ <elementProp name="q" elementType="HTTPArgument">
2959
+ <boolProp name="HTTPArgument.always_encode">true</boolProp>
2960
+ <stringProp name="Argument.name">q</stringProp>
2961
+ <stringProp name="Argument.value">${searchTerm}</stringProp>
2962
+ <stringProp name="Argument.metadata">=</stringProp>
2963
+ <boolProp name="HTTPArgument.use_equals">true</boolProp>
2964
+ </elementProp>
2965
+ </collectionProp>
2966
+ </elementProp>
2967
+ <stringProp name="HTTPSampler.domain"/>
2968
+ <stringProp name="HTTPSampler.port"/>
2969
+ <stringProp name="HTTPSampler.connect_timeout"/>
2970
+ <stringProp name="HTTPSampler.response_timeout"/>
2971
+ <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
2972
+ <stringProp name="HTTPSampler.contentEncoding"/>
2973
+ <stringProp name="HTTPSampler.path">${base_path}catalogsearch/searchTermsLog/save/</stringProp>
2974
+ <stringProp name="HTTPSampler.method">GET</stringProp>
2975
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
2976
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
2977
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
2978
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
2979
+ <boolProp name="HTTPSampler.monitor">false</boolProp>
2980
+ <stringProp name="HTTPSampler.embedded_url_re"/>
2981
+ <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_terms_log_save.jmx</stringProp>
2982
+ </HTTPSamplerProxy>
2983
+ <hashTree>
2984
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert search result" enabled="true">
2985
+ <collectionProp name="Asserion.test_strings">
2986
+ <stringProp name="-547797305">"success":true</stringProp>
2987
+ </collectionProp>
2988
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
2989
+ <boolProp name="Assertion.assume_success">false</boolProp>
2990
+ <intProp name="Assertion.test_type">2</intProp>
2991
+ </ResponseAssertion>
2992
+ <hashTree/>
2993
+ </hashTree>
2994
+ </hashTree>
2995
+
2941
2996
<BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Arguments" enabled="true">
2942
2997
<stringProp name="BeanShellSampler.query">
2943
2998
foundProducts = Integer.parseInt(vars.get("product_url_keys_matchNr"));
@@ -3179,8 +3234,63 @@ if (testLabel
3179
3234
<stringProp name="RegexExtractor.match_number">-1</stringProp>
3180
3235
</RegexExtractor>
3181
3236
<hashTree/>
3237
+ <RegexExtractor guiclass="RegexExtractorGui" testclass="RegexExtractor" testname="Regular Expression Extractor: isPageCacheable" enabled="true">
3238
+ <stringProp name="RegexExtractor.useHeaders">false</stringProp>
3239
+ <stringProp name="RegexExtractor.refname">isPageCacheable</stringProp>
3240
+ <stringProp name="RegexExtractor.regex">catalogsearch/searchTermsLog/save</stringProp>
3241
+ <stringProp name="RegexExtractor.template">$0$</stringProp>
3242
+ <stringProp name="RegexExtractor.default">0</stringProp>
3243
+ <stringProp name="RegexExtractor.match_number">1</stringProp>
3244
+ </RegexExtractor>
3245
+ <hashTree/>
3182
3246
</hashTree>
3183
3247
3248
+ <IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Controller" enabled="true">
3249
+ <stringProp name="IfController.condition">"${isPageCacheable}" != "0"</stringProp>
3250
+ <boolProp name="IfController.evaluateAll">false</boolProp>
3251
+ <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/if_page_cacheable_controller.jmx</stringProp></IfController>
3252
+ <hashTree>
3253
+ <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Search Terms Log" enabled="true">
3254
+ <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" enabled="true">
3255
+ <collectionProp name="Arguments.arguments">
3256
+ <elementProp name="q" elementType="HTTPArgument">
3257
+ <boolProp name="HTTPArgument.always_encode">true</boolProp>
3258
+ <stringProp name="Argument.name">q</stringProp>
3259
+ <stringProp name="Argument.value">${searchTerm}</stringProp>
3260
+ <stringProp name="Argument.metadata">=</stringProp>
3261
+ <boolProp name="HTTPArgument.use_equals">true</boolProp>
3262
+ </elementProp>
3263
+ </collectionProp>
3264
+ </elementProp>
3265
+ <stringProp name="HTTPSampler.domain"/>
3266
+ <stringProp name="HTTPSampler.port"/>
3267
+ <stringProp name="HTTPSampler.connect_timeout"/>
3268
+ <stringProp name="HTTPSampler.response_timeout"/>
3269
+ <stringProp name="HTTPSampler.protocol">${request_protocol}</stringProp>
3270
+ <stringProp name="HTTPSampler.contentEncoding"/>
3271
+ <stringProp name="HTTPSampler.path">${base_path}catalogsearch/searchTermsLog/save/</stringProp>
3272
+ <stringProp name="HTTPSampler.method">GET</stringProp>
3273
+ <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
3274
+ <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
3275
+ <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
3276
+ <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3277
+ <boolProp name="HTTPSampler.monitor">false</boolProp>
3278
+ <stringProp name="HTTPSampler.embedded_url_re"/>
3279
+ <stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/search/search_terms_log_save.jmx</stringProp>
3280
+ </HTTPSamplerProxy>
3281
+ <hashTree>
3282
+ <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion: Assert search result" enabled="true">
3283
+ <collectionProp name="Asserion.test_strings">
3284
+ <stringProp name="-547797305">"success":true</stringProp>
3285
+ </collectionProp>
3286
+ <stringProp name="Assertion.test_field">Assertion.response_data</stringProp>
3287
+ <boolProp name="Assertion.assume_success">false</boolProp>
3288
+ <intProp name="Assertion.test_type">2</intProp>
3289
+ </ResponseAssertion>
3290
+ <hashTree/>
3291
+ </hashTree>
3292
+ </hashTree>
3293
+
3184
3294
<IfController guiclass="IfControllerPanel" testclass="IfController" testname="If Attribute 1 present in layered navigation" enabled="true">
3185
3295
<stringProp name="IfController.condition">${attribute_1_options_count} > 0</stringProp>
3186
3296
<boolProp name="IfController.evaluateAll">false</boolProp>
0 commit comments