Update ReadMe file
This commit is contained in:
parent
348396ec71
commit
526961ff40
|
@ -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_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_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_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`
|
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_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
|
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`
|
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.
|
This will run the individual test for 1 iteration.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue