Skip to content

Commit 0135d54

Browse files
committed
MC-15734: Create new GraphQL script for our benchmark - part 2
1 parent 4b44e4a commit 0135d54

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

setup/performance-toolkit/benchmark.jmx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -409,9 +409,9 @@
409409
<stringProp name="Argument.value">${__P(graphqlGetNavigationMenuByCategoryIdPercentage,0)}</stringProp>
410410
<stringProp name="Argument.metadata">=</stringProp>
411411
</elementProp>
412-
<elementProp name="graphqlGetProductSearchByProductNamePercentage" elementType="Argument">
413-
<stringProp name="Argument.name">graphqlGetProductSearchByProductNamePercentage</stringProp>
414-
<stringProp name="Argument.value">${__P(graphqlGetProductSearchByProductNamePercentage,0)}</stringProp>
412+
<elementProp name="graphqlGetProductDetailByProductNamePercentage" elementType="Argument">
413+
<stringProp name="Argument.name">graphqlGetProductDetailByProductNamePercentage</stringProp>
414+
<stringProp name="Argument.value">${__P(graphqlGetProductDetailByProductNamePercentage,0)}</stringProp>
415415
<stringProp name="Argument.metadata">=</stringProp>
416416
</elementProp>
417417
<elementProp name="graphqlGetProductSearchByTextAndCategoryIdPercentage" elementType="Argument">
@@ -39803,11 +39803,11 @@ vars.put("product_sku", product.get("sku"));
3980339803
</hashTree>
3980439804

3980539805

39806-
<ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Get Product Search by product_name" enabled="true">
39806+
<ThroughputController guiclass="ThroughputControllerGui" testclass="ThroughputController" testname="Get Product Detail by product_name" enabled="true">
3980739807
<intProp name="ThroughputController.style">1</intProp>
3980839808
<boolProp name="ThroughputController.perThread">false</boolProp>
3980939809
<intProp name="ThroughputController.maxThroughput">1</intProp>
39810-
<stringProp name="ThroughputController.percentThroughput">${graphqlGetProductSearchByProductNamePercentage}</stringProp>
39810+
<stringProp name="ThroughputController.percentThroughput">${graphqlGetProductDetailByProductNamePercentage}</stringProp>
3981139811
<stringProp name="TestPlan.comments">mpaf/tool/fragments/_system/scenario_controller_tmpl.jmx</stringProp></ThroughputController>
3981239812
<hashTree>
3981339813
<JSR223PreProcessor guiclass="TestBeanGUI" testclass="JSR223PreProcessor" testname="Set Test Label" enabled="true">
@@ -39828,7 +39828,7 @@ if (testLabel
3982839828
<hashTree/>
3982939829
<BeanShellSampler guiclass="BeanShellSamplerGui" testclass="BeanShellSampler" testname="SetUp - Set Label" enabled="true">
3983039830
<stringProp name="BeanShellSampler.query">
39831-
vars.put("testLabel", "Get Product Search by product_name");
39831+
vars.put("testLabel", "Get Product Detail by product_name");
3983239832
</stringProp>
3983339833
<boolProp name="BeanShellSampler.resetInterpreter">true</boolProp>
3983439834
</BeanShellSampler>
@@ -39886,7 +39886,7 @@ vars.put("product_sku", product.get("sku"));
3988639886
<stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/product_browsing_and_adding_items_to_the_cart/configurable_products_setup.jmx</stringProp></BeanShellSampler>
3988739887
<hashTree/>
3988839888

39889-
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Product Search by product_name" enabled="true">
39889+
<HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Get Product Detail by product_name" enabled="true">
3989039890
<boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
3989139891
<elementProp name="HTTPsampler.Arguments" elementType="Arguments">
3989239892
<collectionProp name="Arguments.arguments">
@@ -39911,7 +39911,7 @@ vars.put("product_sku", product.get("sku"));
3991139911
<boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
3991239912
<boolProp name="HTTPSampler.monitor">false</boolProp>
3991339913
<stringProp name="HTTPSampler.embedded_url_re"/>
39914-
<stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/get_product_search_by_product_name.jmx</stringProp>
39914+
<stringProp name="TestPlan.comments">mpaf/tool/fragments/ce/graphql/get_product_detail_by_product_name.jmx</stringProp>
3991539915
</HTTPSamplerProxy>
3991639916
<hashTree>
3991739917
<ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">

0 commit comments

Comments
 (0)