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