From 526961ff4067bdb3fd24962c54127e592e8b4862 Mon Sep 17 00:00:00 2001 From: Veljko Date: Thu, 21 Oct 2021 15:09:57 +0200 Subject: [PATCH] Update ReadMe file --- plugins/woocommerce/tests/performance/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/woocommerce/tests/performance/README.md b/plugins/woocommerce/tests/performance/README.md index fa523fa2024..61b1cb33f0e 100644 --- a/plugins/woocommerce/tests/performance/README.md +++ b/plugins/woocommerce/tests/performance/README.md @@ -82,6 +82,7 @@ product_sku | SKU of product to be used in cart and checkout flow | yes `__ENV.P product_url | the `product-name` portion of product permalink of the product to be used in cart and checkout flow | yes `__ENV.P_URL` product_id | the product ID of of product to be used in cart and checkout flow | yes `__ENV.P_ID` product_search_term | search term to return product to be used in cart and checkout flow | yes `__ENV.P_TERM` +product_category | category of product to be used for browsing category products | yes `__ENV.P_CAT` coupon_code | coupon code to be used in applying coupon flow | yes `__ENV.P_COUPON` add_product_title | title of product to be added in merchant add product flow | no add_product_regular_price | regular price of product to be added in merchant add product flow | no @@ -102,7 +103,7 @@ To execute an individual test file (for example `requests/shopper/shop-page.js`) CLI `k6 run requests/shopper/shop-page.js` -Docker `docker run --network="host" -v /[YOUR LOCAL WC DIRECTORY FULL PATH]/requests:/requests -it loadimpact/k6 run /requests/shopper/shop-page.js` +Docker `docker run --network="host" -v /[YOUR LOCAL WC DIRECTORY FULL PATH]/tests:/tests -it loadimpact/k6 run /tests/performance/requests/shopper/shop-page.js` This will run the individual test for 1 iteration.