From 8dd071ba83bc36c54154de18d5d7d4a9257d92fd Mon Sep 17 00:00:00 2001 From: Christian Arenas Date: Fri, 1 Sep 2017 14:17:51 +0200 Subject: [PATCH] Refactor global variables --- .../LoadTest/Basket.API/AddBasket.webtest | 30 ++++----- .../LoadTest/Basket.API/Checkout.webtest | 46 +++++++------ .../LoadTest/Basket.API/DeleteBasket.webtest | 43 +++++++------ .../LoadTest/Basket.API/GetBasket.webtest | 43 +++++++------ .../CreateOrUpdateUserLocation.webtest | 42 ++++++------ .../Location.API/GetAllLocations.webtest | 42 ++++++------ .../LoadTest/Location.API/GetLocation.webtest | 40 +++++++----- .../Location.API/GetUserLocation.webtest | 43 +++++++------ .../Marketing.API/GetAllCampaigns.webtest | 13 ++-- .../Marketing.API/GetCampaign.webtest | 13 ++-- .../Marketing.API/GetUserCampaigns.webtest | 13 ++-- .../LoadTest/Ordering.API/CancelOrder.webtest | 13 ++-- .../Ordering.API/GetAllOrders.webtest | 13 ++-- .../Ordering.API/GetCardTypes.webtest | 13 ++-- .../LoadTest/Ordering.API/GetOrder.webtest | 13 ++-- .../LoadTest/Ordering.API/ShipOrder.webtest | 13 ++-- .../LoadTest/WebMVC/AddProducts.webtest | 16 +++-- .../WebMVC/AddProductsWithLogin.webtest | 45 +++++++------ .../LoadTest/WebMVC/CatalogFilter.webtest | 52 ++++++++------- .../LoadTest/WebMVC/CreateNewOrder.webtest | 64 ++++++++++--------- .../LoadTest/WebMVC/LoginAndLogout.webtest | 40 ++++++------ test/Services/LoadTest/app.config | 4 +- 22 files changed, 356 insertions(+), 298 deletions(-) diff --git a/test/Services/LoadTest/Basket.API/AddBasket.webtest b/test/Services/LoadTest/Basket.API/AddBasket.webtest index 9ad6d5a6e..fc4af448a 100644 --- a/test/Services/LoadTest/Basket.API/AddBasket.webtest +++ b/test/Services/LoadTest/Basket.API/AddBasket.webtest @@ -1,7 +1,7 @@ - + - +
@@ -27,9 +27,9 @@ - + -
+
@@ -40,10 +40,10 @@ - + - + @@ -52,7 +52,7 @@ -
+
@@ -70,23 +70,21 @@
- ewAiAEIAdQB5AGUAcgBJAGQAIgA6ACIAYQBjADEAMAAwAGYAZgBjAC0AOABmADAANwAtADQAMQAzADAALQBhADMAZgA0AC0AMAA2AGYAOQBlADEAZQA4ADkANABhADQAIgB9AA== + ewAiAEIAdQB5AGUAcgBJAGQAIgA6ACIAewB7AEwAbwBjAGEAbABUAGUAcwB0AFMAZQB0AHQAaQBuAGcAcwAuAFUAcwBlAHIALgBpAGQAfQB9ACIAfQA= - - - - - + + + + + + - - - diff --git a/test/Services/LoadTest/Basket.API/Checkout.webtest b/test/Services/LoadTest/Basket.API/Checkout.webtest index a12e46e6d..d9357ce04 100644 --- a/test/Services/LoadTest/Basket.API/Checkout.webtest +++ b/test/Services/LoadTest/Basket.API/Checkout.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,24 +65,28 @@ - +
-
+
ewAiAEMAaQB0AHkAIgA6ACIAYwBpAHQAeQAiACwAIgBTAHQAcgBlAGUAdAAiADoAIgBzAHQAcgBlAGUAdAAiACwAIgBTAHQAYQB0AGUAIgA6ACIAcwB0AGEAdABlACIALAAiAEMAbwB1AG4AdAByAHkAIgA6ACIAYwBvAHUAdAByAHkAIgAsACIAWgBpAHAAQwBvAGQAZQAiADoAIgB6AGkAcABjAG8AZABlACIALAAiAEMAYQByAGQATgB1AG0AYgBlAHIAIgA6ACIAQwBhAHIAZABOAHUAbQBiAGUAcgAiACwAIgBDAGEAcgBkAEgAbwBsAGQAZQByAE4AYQBtAGUAIgA6ACIAQwBhAHIAZABIAG8AbABkAGUAcgBOAGEAbQBlACIALAAiAEMAYQByAGQARQB4AHAAaQByAGEAdABpAG8AbgAiADoAIgAyADAAMQA3AC0AMAA2AC0AMwAwAFQAMQAyADoAMgA1ADoAMwAxAC4AOAA3ADQANwAyADIANwBaACIALAAiAEMAYQByAGQAUwBlAGMAdQByAGkAdAB5AE4AdQBtAGIAZQByACIAOgAiADEAMgAzADQAIgAsACIAQwBhAHIAZABUAHkAcABlAEkAZAAiADoAMQAsACIAQgB1AHkAZQByACIAOgAiAEIAdQB5AGUAcgAiACwAIgBSAGUAcQB1AGUAcwB0AEkAZAAiADoAIgBlAGIAOAAwADAAMwA2ADQALQBiADQAZQAxAC0ANAA2AGUAYgAtADkAMgAzADUALQBlADgAYwA0ADcANAA3AGQAYQAyAGQANAAiAH0A - - - - - - - - - + + + + + + + + + + + + + diff --git a/test/Services/LoadTest/Basket.API/DeleteBasket.webtest b/test/Services/LoadTest/Basket.API/DeleteBasket.webtest index 38ffc4538..face3c799 100644 --- a/test/Services/LoadTest/Basket.API/DeleteBasket.webtest +++ b/test/Services/LoadTest/Basket.API/DeleteBasket.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,22 +65,25 @@ - +
- - - - - - - - - + + + + + + + + + + + + diff --git a/test/Services/LoadTest/Basket.API/GetBasket.webtest b/test/Services/LoadTest/Basket.API/GetBasket.webtest index 881e94570..e7d6d08d7 100644 --- a/test/Services/LoadTest/Basket.API/GetBasket.webtest +++ b/test/Services/LoadTest/Basket.API/GetBasket.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,22 +65,25 @@ - +
- - - - - - - - - + + + + + + + + + + + + diff --git a/test/Services/LoadTest/Location.API/CreateOrUpdateUserLocation.webtest b/test/Services/LoadTest/Location.API/CreateOrUpdateUserLocation.webtest index d95b56cf8..c5da33f35 100644 --- a/test/Services/LoadTest/Location.API/CreateOrUpdateUserLocation.webtest +++ b/test/Services/LoadTest/Location.API/CreateOrUpdateUserLocation.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,7 +65,7 @@ - +
@@ -73,14 +73,18 @@ ewAiAEwAbwBuAGcAaQB0AHUAZABlACIAOgAtADEAMgAxAC4AMAA0ADAAMwA2ACwAIgBMAGEAdABpAHQAdQBkAGUAIgA6ADQAOAAuADAAOQAxADYAMwAxAH0A - - - - - - - - + + + + + + + + + + + + diff --git a/test/Services/LoadTest/Location.API/GetAllLocations.webtest b/test/Services/LoadTest/Location.API/GetAllLocations.webtest index 6900daf36..9c10c08c5 100644 --- a/test/Services/LoadTest/Location.API/GetAllLocations.webtest +++ b/test/Services/LoadTest/Location.API/GetAllLocations.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,21 +65,25 @@ - +
- - - - - - - - + + + + + + + + + + + + diff --git a/test/Services/LoadTest/Location.API/GetLocation.webtest b/test/Services/LoadTest/Location.API/GetLocation.webtest index bcaa470d7..9f1019084 100644 --- a/test/Services/LoadTest/Location.API/GetLocation.webtest +++ b/test/Services/LoadTest/Location.API/GetLocation.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,20 +65,26 @@ - +
+ + + + + + + + + + + + - - - - - - diff --git a/test/Services/LoadTest/Location.API/GetUserLocation.webtest b/test/Services/LoadTest/Location.API/GetUserLocation.webtest index 767580b71..7ab6c1dac 100644 --- a/test/Services/LoadTest/Location.API/GetUserLocation.webtest +++ b/test/Services/LoadTest/Location.API/GetUserLocation.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,22 +65,25 @@ - +
- - - - - - - - - + + + + + + + + + + + + diff --git a/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest b/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest index 0f894fcc9..45fbbbd2f 100644 --- a/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest +++ b/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest @@ -1,7 +1,7 @@  - +
@@ -27,9 +27,9 @@ - + -
+
@@ -40,10 +40,10 @@ - + - + @@ -52,7 +52,7 @@ -
+
@@ -80,6 +80,7 @@ + diff --git a/test/Services/LoadTest/Marketing.API/GetCampaign.webtest b/test/Services/LoadTest/Marketing.API/GetCampaign.webtest index 62fd029db..c46c053b9 100644 --- a/test/Services/LoadTest/Marketing.API/GetCampaign.webtest +++ b/test/Services/LoadTest/Marketing.API/GetCampaign.webtest @@ -1,7 +1,7 @@  - +
@@ -27,9 +27,9 @@ - + -
+
@@ -40,10 +40,10 @@ - + - + @@ -52,7 +52,7 @@ -
+
@@ -80,6 +80,7 @@ + diff --git a/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest b/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest index beb5981e7..9d44c3aee 100644 --- a/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest +++ b/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest @@ -1,7 +1,7 @@  - +
@@ -27,9 +27,9 @@ - + -
+
@@ -40,10 +40,10 @@ - + - + @@ -52,7 +52,7 @@ -
+
@@ -80,6 +80,7 @@ + diff --git a/test/Services/LoadTest/Ordering.API/CancelOrder.webtest b/test/Services/LoadTest/Ordering.API/CancelOrder.webtest index ca87f175d..708b3b013 100644 --- a/test/Services/LoadTest/Ordering.API/CancelOrder.webtest +++ b/test/Services/LoadTest/Ordering.API/CancelOrder.webtest @@ -1,7 +1,7 @@  - +
@@ -27,9 +27,9 @@ - + -
+
@@ -40,10 +40,10 @@ - + - + @@ -52,7 +52,7 @@ -
+
@@ -83,6 +83,7 @@ + diff --git a/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest b/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest index 58c7016f3..765281042 100644 --- a/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest +++ b/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest @@ -1,7 +1,7 @@  - +
@@ -27,9 +27,9 @@ - + -
+
@@ -40,10 +40,10 @@ - + - + @@ -52,7 +52,7 @@ -
+
@@ -80,6 +80,7 @@ + diff --git a/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest b/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest index ac103ced3..28241f8a1 100644 --- a/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest +++ b/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest @@ -1,7 +1,7 @@  - +
@@ -27,9 +27,9 @@ - + -
+
@@ -40,10 +40,10 @@ - + - + @@ -52,7 +52,7 @@ -
+
@@ -80,6 +80,7 @@ + diff --git a/test/Services/LoadTest/Ordering.API/GetOrder.webtest b/test/Services/LoadTest/Ordering.API/GetOrder.webtest index 62c3d9b99..97a5556f6 100644 --- a/test/Services/LoadTest/Ordering.API/GetOrder.webtest +++ b/test/Services/LoadTest/Ordering.API/GetOrder.webtest @@ -1,7 +1,7 @@  - +
@@ -27,9 +27,9 @@ - + -
+
@@ -40,10 +40,10 @@ - + - + @@ -52,7 +52,7 @@ -
+
@@ -80,6 +80,7 @@ + diff --git a/test/Services/LoadTest/Ordering.API/ShipOrder.webtest b/test/Services/LoadTest/Ordering.API/ShipOrder.webtest index 6a424a4f5..c3104a744 100644 --- a/test/Services/LoadTest/Ordering.API/ShipOrder.webtest +++ b/test/Services/LoadTest/Ordering.API/ShipOrder.webtest @@ -1,7 +1,7 @@  - +
@@ -27,9 +27,9 @@ - + -
+
@@ -40,10 +40,10 @@ - + - + @@ -52,7 +52,7 @@ -
+
@@ -83,6 +83,7 @@ + diff --git a/test/Services/LoadTest/WebMVC/AddProducts.webtest b/test/Services/LoadTest/WebMVC/AddProducts.webtest index b92ac98c0..3305509ae 100644 --- a/test/Services/LoadTest/WebMVC/AddProducts.webtest +++ b/test/Services/LoadTest/WebMVC/AddProducts.webtest @@ -12,9 +12,9 @@ - + -
+
@@ -32,10 +32,16 @@ + + + + + + + + + - - - diff --git a/test/Services/LoadTest/WebMVC/AddProductsWithLogin.webtest b/test/Services/LoadTest/WebMVC/AddProductsWithLogin.webtest index 12df248d8..3b617826c 100644 --- a/test/Services/LoadTest/WebMVC/AddProductsWithLogin.webtest +++ b/test/Services/LoadTest/WebMVC/AddProductsWithLogin.webtest @@ -1,9 +1,10 @@ - +< +?xml version="1.0" encoding="utf-8"?> - + -
+
@@ -27,9 +28,9 @@ - + -
+
@@ -40,19 +41,19 @@ - + - - - + + + - + -
+
@@ -81,9 +82,9 @@ - + -
+
@@ -100,20 +101,26 @@ - + -
+
+ + + + + + + + + + - - - - diff --git a/test/Services/LoadTest/WebMVC/CatalogFilter.webtest b/test/Services/LoadTest/WebMVC/CatalogFilter.webtest index 5be4227b7..9f6583b50 100644 --- a/test/Services/LoadTest/WebMVC/CatalogFilter.webtest +++ b/test/Services/LoadTest/WebMVC/CatalogFilter.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -70,9 +70,9 @@ - + -
+
@@ -104,9 +104,9 @@ - + -
+
@@ -138,9 +138,9 @@ - + -
+
@@ -151,21 +151,25 @@ - + -
+
- - - - - - + + + + + + + + + + diff --git a/test/Services/LoadTest/WebMVC/CreateNewOrder.webtest b/test/Services/LoadTest/WebMVC/CreateNewOrder.webtest index 7cf3b32d9..266fd63b4 100644 --- a/test/Services/LoadTest/WebMVC/CreateNewOrder.webtest +++ b/test/Services/LoadTest/WebMVC/CreateNewOrder.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -70,9 +70,9 @@ - + -
+
@@ -87,9 +87,9 @@ - + -
+
@@ -118,9 +118,9 @@ - + -
+
@@ -210,9 +210,9 @@ - + -
+
@@ -234,31 +234,35 @@ - + -
+
- + -
+
- + -
+
- - - - - - + + + + + + + + + + diff --git a/test/Services/LoadTest/WebMVC/LoginAndLogout.webtest b/test/Services/LoadTest/WebMVC/LoginAndLogout.webtest index 09eb965c9..759b2e2fd 100644 --- a/test/Services/LoadTest/WebMVC/LoginAndLogout.webtest +++ b/test/Services/LoadTest/WebMVC/LoginAndLogout.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -70,19 +70,23 @@ - + -
+
- - - - - - + + + + + + + + + + \ No newline at end of file diff --git a/test/Services/LoadTest/app.config b/test/Services/LoadTest/app.config index 1a0e53942..5e1a9dbc8 100644 --- a/test/Services/LoadTest/app.config +++ b/test/Services/LoadTest/app.config @@ -8,11 +8,11 @@ - + - + \ No newline at end of file