From 9be521befb7f6c9597f16485540fa34f0576b082 Mon Sep 17 00:00:00 2001 From: Tam Mullen Date: Fri, 25 Jun 2021 00:46:18 +0100 Subject: [PATCH] update to allow product details to also come from env Co-authored-by: Vedanshu Jain --- tests/performance/config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/performance/config.js b/tests/performance/config.js index 3f608d63495..afd9f0f2852 100644 --- a/tests/performance/config.js +++ b/tests/performance/config.js @@ -15,9 +15,9 @@ export const addresses_customer_billing_email = 'john.doe@example.com'; export const payment_method = 'cod'; -export const product_sku = 'woo-beanie'; -export const product_url = 'beanie'; -export const product_id = '13'; +export const product_sku = __ENV.P_SKU || 'woo-beanie'; +export const product_url = __ENV.P_URL || 'beanie'; +export const product_id = __ENV.P_ID || '13'; export const think_time_min = '1'; export const think_time_max = '4';