From 0d74b64c3374f590bbfc49bea771f4fa0420d729 Mon Sep 17 00:00:00 2001 From: Christian Arenas Date: Thu, 31 Aug 2017 15:56:04 +0200 Subject: [PATCH 1/4] Add globar variables in app.config and refactor Catalog.API & Marketing.API --- .../LoadTest/Basket.API/AddBasket.webtest | 39 ++++++++++-------- .../Catalog.API/GetCatalogBrands.webtest | 16 +++++--- .../Catalog.API/GetCatalogFiltered.webtest | 14 +++++-- .../Catalog.API/GetCatalogTypes.webtest | 16 +++++--- .../LoadTest/Catalog.API/GetItem.webtest | 14 +++++-- .../LoadTest/Catalog.API/GetItemPic.webtest | 14 +++++-- .../LoadTest/Catalog.API/GetItems.webtest | 16 +++++--- .../Catalog.API/GetItemsByName.webtest | 14 +++++-- test/Services/LoadTest/Local.testsettings | 13 ++++++ .../Marketing.API/GetAllCampaigns.webtest | 41 ++++++++++--------- .../Marketing.API/GetCampaign.webtest | 39 ++++++++++-------- .../Marketing.API/GetUserCampaigns.webtest | 41 ++++++++++--------- test/Services/LoadTest/app.config | 13 ++++++ 13 files changed, 184 insertions(+), 106 deletions(-) create mode 100644 test/Services/LoadTest/Local.testsettings diff --git a/test/Services/LoadTest/Basket.API/AddBasket.webtest b/test/Services/LoadTest/Basket.API/AddBasket.webtest index 50ce0ebfb..9ad6d5a6e 100644 --- a/test/Services/LoadTest/Basket.API/AddBasket.webtest +++ b/test/Services/LoadTest/Basket.API/AddBasket.webtest @@ -1,9 +1,9 @@ - + - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - + + - + -
+
@@ -65,7 +65,7 @@ - +
@@ -73,14 +73,19 @@ ewAiAEIAdQB5AGUAcgBJAGQAIgA6ACIAYQBjADEAMAAwAGYAZgBjAC0AOABmADAANwAtADQAMQAzADAALQBhADMAZgA0AC0AMAA2AGYAOQBlADEAZQA4ADkANABhADQAIgB9AA== + + + + + + + + + + + - - - - - - diff --git a/test/Services/LoadTest/Catalog.API/GetCatalogBrands.webtest b/test/Services/LoadTest/Catalog.API/GetCatalogBrands.webtest index ba4224c13..8247a72a4 100644 --- a/test/Services/LoadTest/Catalog.API/GetCatalogBrands.webtest +++ b/test/Services/LoadTest/Catalog.API/GetCatalogBrands.webtest @@ -1,12 +1,16 @@ - + - + - - - - + + + + + + + + diff --git a/test/Services/LoadTest/Catalog.API/GetCatalogFiltered.webtest b/test/Services/LoadTest/Catalog.API/GetCatalogFiltered.webtest index e273211b4..a3d36923f 100644 --- a/test/Services/LoadTest/Catalog.API/GetCatalogFiltered.webtest +++ b/test/Services/LoadTest/Catalog.API/GetCatalogFiltered.webtest @@ -1,13 +1,19 @@ - + - + + + + + + + + + - - diff --git a/test/Services/LoadTest/Catalog.API/GetCatalogTypes.webtest b/test/Services/LoadTest/Catalog.API/GetCatalogTypes.webtest index 7c7bbadf2..854d5d78c 100644 --- a/test/Services/LoadTest/Catalog.API/GetCatalogTypes.webtest +++ b/test/Services/LoadTest/Catalog.API/GetCatalogTypes.webtest @@ -1,12 +1,16 @@ - + - + - - - - + + + + + + + + diff --git a/test/Services/LoadTest/Catalog.API/GetItem.webtest b/test/Services/LoadTest/Catalog.API/GetItem.webtest index 11ee2e39f..3807cabcf 100644 --- a/test/Services/LoadTest/Catalog.API/GetItem.webtest +++ b/test/Services/LoadTest/Catalog.API/GetItem.webtest @@ -1,11 +1,17 @@ - + - + + + + + + + + + - - diff --git a/test/Services/LoadTest/Catalog.API/GetItemPic.webtest b/test/Services/LoadTest/Catalog.API/GetItemPic.webtest index 3fe51a341..9bfd649bb 100644 --- a/test/Services/LoadTest/Catalog.API/GetItemPic.webtest +++ b/test/Services/LoadTest/Catalog.API/GetItemPic.webtest @@ -1,11 +1,17 @@ - + - + + + + + + + + + - - diff --git a/test/Services/LoadTest/Catalog.API/GetItems.webtest b/test/Services/LoadTest/Catalog.API/GetItems.webtest index f7d826d6e..8364086d2 100644 --- a/test/Services/LoadTest/Catalog.API/GetItems.webtest +++ b/test/Services/LoadTest/Catalog.API/GetItems.webtest @@ -1,12 +1,16 @@ - + - + - - - - + + + + + + + + diff --git a/test/Services/LoadTest/Catalog.API/GetItemsByName.webtest b/test/Services/LoadTest/Catalog.API/GetItemsByName.webtest index f829ba5ab..bc659d083 100644 --- a/test/Services/LoadTest/Catalog.API/GetItemsByName.webtest +++ b/test/Services/LoadTest/Catalog.API/GetItemsByName.webtest @@ -1,12 +1,18 @@ - + - + + + + + + + + + - - diff --git a/test/Services/LoadTest/Local.testsettings b/test/Services/LoadTest/Local.testsettings new file mode 100644 index 000000000..4e1e6ab7f --- /dev/null +++ b/test/Services/LoadTest/Local.testsettings @@ -0,0 +1,13 @@ + + + These are default test settings for a local test run. + + + + + + + + + + \ No newline at end of file diff --git a/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest b/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest index 462f44079..0f894fcc9 100644 --- a/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest +++ b/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,21 +65,24 @@ - +
- - - - - - - - + + + + + + + + + + + diff --git a/test/Services/LoadTest/Marketing.API/GetCampaign.webtest b/test/Services/LoadTest/Marketing.API/GetCampaign.webtest index 2726b89a6..62fd029db 100644 --- a/test/Services/LoadTest/Marketing.API/GetCampaign.webtest +++ b/test/Services/LoadTest/Marketing.API/GetCampaign.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,20 +65,25 @@ - +
+ + + + + + + + + + + - - - - - - diff --git a/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest b/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest index 6978b6766..beb5981e7 100644 --- a/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest +++ b/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,21 +65,24 @@ - +
- - - - - - - - + + + + + + + + + + + diff --git a/test/Services/LoadTest/app.config b/test/Services/LoadTest/app.config index 99ddf3e08..0098f2f5e 100644 --- a/test/Services/LoadTest/app.config +++ b/test/Services/LoadTest/app.config @@ -1,3 +1,16 @@  + + + + + + + + + + + + + \ No newline at end of file From 146c302a5d7ab78b4d5330e6388beeea00a28fd9 Mon Sep 17 00:00:00 2001 From: Christian Arenas Date: Thu, 31 Aug 2017 16:28:31 +0200 Subject: [PATCH 2/4] Add Ordering refactor --- .../LoadTest/Ordering.API/CancelOrder.webtest | 45 ++++++++++--------- .../Ordering.API/GetAllOrders.webtest | 41 +++++++++-------- .../Ordering.API/GetCardTypes.webtest | 41 +++++++++-------- .../LoadTest/Ordering.API/GetOrder.webtest | 39 +++++++++------- .../LoadTest/Ordering.API/ShipOrder.webtest | 45 ++++++++++--------- test/Services/LoadTest/app.config | 2 + 6 files changed, 116 insertions(+), 97 deletions(-) diff --git a/test/Services/LoadTest/Ordering.API/CancelOrder.webtest b/test/Services/LoadTest/Ordering.API/CancelOrder.webtest index dc7d55244..ca87f175d 100644 --- a/test/Services/LoadTest/Ordering.API/CancelOrder.webtest +++ b/test/Services/LoadTest/Ordering.API/CancelOrder.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,24 +65,27 @@ - +
-
+
ewAiAE8AcgBkAGUAcgBOAHUAbQBiAGUAcgAiADoAIAAxAH0A - - - - - - - - - + + + + + + + + + + + + diff --git a/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest b/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest index c9860e076..58c7016f3 100644 --- a/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest +++ b/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,21 +65,24 @@ - +
- - - - - - - - + + + + + + + + + + + diff --git a/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest b/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest index fb3ca3dc3..ac103ced3 100644 --- a/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest +++ b/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,21 +65,24 @@ - +
- - - - - - - - + + + + + + + + + + + diff --git a/test/Services/LoadTest/Ordering.API/GetOrder.webtest b/test/Services/LoadTest/Ordering.API/GetOrder.webtest index 73024671b..62c3d9b99 100644 --- a/test/Services/LoadTest/Ordering.API/GetOrder.webtest +++ b/test/Services/LoadTest/Ordering.API/GetOrder.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,20 +65,25 @@ - +
+ + + + + + + + + + + - - - - - - diff --git a/test/Services/LoadTest/Ordering.API/ShipOrder.webtest b/test/Services/LoadTest/Ordering.API/ShipOrder.webtest index 85e6ed92d..6a424a4f5 100644 --- a/test/Services/LoadTest/Ordering.API/ShipOrder.webtest +++ b/test/Services/LoadTest/Ordering.API/ShipOrder.webtest @@ -1,9 +1,9 @@  - + -
+
@@ -27,9 +27,9 @@ - + -
+
@@ -40,19 +40,19 @@ - + - - - + + + - + -
+
@@ -65,24 +65,27 @@ - +
-
+
ewAiAE8AcgBkAGUAcgBOAHUAbQBiAGUAcgAiADoAIAAxAH0A - - - - - - - - - + + + + + + + + + + + + diff --git a/test/Services/LoadTest/app.config b/test/Services/LoadTest/app.config index 0098f2f5e..1a0e53942 100644 --- a/test/Services/LoadTest/app.config +++ b/test/Services/LoadTest/app.config @@ -8,8 +8,10 @@ + + From 8dd071ba83bc36c54154de18d5d7d4a9257d92fd Mon Sep 17 00:00:00 2001 From: Christian Arenas Date: Fri, 1 Sep 2017 14:17:51 +0200 Subject: [PATCH 3/4] 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 From cf7bbc804f52679c3584b89f6e7580dc82f860a9 Mon Sep 17 00:00:00 2001 From: Christian Arenas Date: Fri, 1 Sep 2017 15:10:20 +0200 Subject: [PATCH 4/4] Add logout at performance test --- .../LoadTest/Basket.API/AddBasket.webtest | 8 ++ .../LoadTest/Basket.API/Checkout.webtest | 8 ++ .../LoadTest/Basket.API/DeleteBasket.webtest | 8 ++ .../LoadTest/Basket.API/GetBasket.webtest | 8 ++ .../Login.webtest} | 10 +- .../LoadTest/Identity.API/Logout.webtest | 23 +++ test/Services/LoadTest/LoadTest.csproj | 11 +- .../CreateOrUpdateUserLocation.webtest | 8 ++ .../Location.API/GetAllLocations.webtest | 8 ++ .../LoadTest/Location.API/GetLocation.webtest | 8 ++ .../Location.API/GetUserLocation.webtest | 8 ++ .../Marketing.API/GetAllCampaigns.webtest | 8 ++ .../Marketing.API/GetCampaign.webtest | 8 ++ .../Marketing.API/GetUserCampaigns.webtest | 8 ++ .../LoadTest/Ordering.API/CancelOrder.webtest | 8 ++ .../Ordering.API/GetAllOrders.webtest | 8 ++ .../Ordering.API/GetCardTypes.webtest | 8 ++ .../LoadTest/Ordering.API/GetOrder.webtest | 8 ++ .../LoadTest/Ordering.API/ShipOrder.webtest | 8 ++ .../LoadTest/WebMVC/AddProducts.webtest | 72 ++++++++++ .../WebMVC/AddProductsWithLogin.webtest | 134 ------------------ 21 files changed, 231 insertions(+), 147 deletions(-) rename test/Services/LoadTest/{WebMVC/LoginAndLogout.webtest => Identity.API/Login.webtest} (90%) create mode 100644 test/Services/LoadTest/Identity.API/Logout.webtest delete mode 100644 test/Services/LoadTest/WebMVC/AddProductsWithLogin.webtest diff --git a/test/Services/LoadTest/Basket.API/AddBasket.webtest b/test/Services/LoadTest/Basket.API/AddBasket.webtest index fc4af448a..cb933b141 100644 --- a/test/Services/LoadTest/Basket.API/AddBasket.webtest +++ b/test/Services/LoadTest/Basket.API/AddBasket.webtest @@ -72,6 +72,14 @@ ewAiAEIAdQB5AGUAcgBJAGQAIgA6ACIAewB7AEwAbwBjAGEAbABUAGUAcwB0AFMAZQB0AHQAaQBuAGcAcwAuAFUAcwBlAHIALgBpAGQAfQB9ACIAfQA= + + +
+ + + + + diff --git a/test/Services/LoadTest/Basket.API/Checkout.webtest b/test/Services/LoadTest/Basket.API/Checkout.webtest index d9357ce04..168e6e422 100644 --- a/test/Services/LoadTest/Basket.API/Checkout.webtest +++ b/test/Services/LoadTest/Basket.API/Checkout.webtest @@ -73,6 +73,14 @@ ewAiAEMAaQB0AHkAIgA6ACIAYwBpAHQAeQAiACwAIgBTAHQAcgBlAGUAdAAiADoAIgBzAHQAcgBlAGUAdAAiACwAIgBTAHQAYQB0AGUAIgA6ACIAcwB0AGEAdABlACIALAAiAEMAbwB1AG4AdAByAHkAIgA6ACIAYwBvAHUAdAByAHkAIgAsACIAWgBpAHAAQwBvAGQAZQAiADoAIgB6AGkAcABjAG8AZABlACIALAAiAEMAYQByAGQATgB1AG0AYgBlAHIAIgA6ACIAQwBhAHIAZABOAHUAbQBiAGUAcgAiACwAIgBDAGEAcgBkAEgAbwBsAGQAZQByAE4AYQBtAGUAIgA6ACIAQwBhAHIAZABIAG8AbABkAGUAcgBOAGEAbQBlACIALAAiAEMAYQByAGQARQB4AHAAaQByAGEAdABpAG8AbgAiADoAIgAyADAAMQA3AC0AMAA2AC0AMwAwAFQAMQAyADoAMgA1ADoAMwAxAC4AOAA3ADQANwAyADIANwBaACIALAAiAEMAYQByAGQAUwBlAGMAdQByAGkAdAB5AE4AdQBtAGIAZQByACIAOgAiADEAMgAzADQAIgAsACIAQwBhAHIAZABUAHkAcABlAEkAZAAiADoAMQAsACIAQgB1AHkAZQByACIAOgAiAEIAdQB5AGUAcgAiACwAIgBSAGUAcQB1AGUAcwB0AEkAZAAiADoAIgBlAGIAOAAwADAAMwA2ADQALQBiADQAZQAxAC0ANAA2AGUAYgAtADkAMgAzADUALQBlADgAYwA0ADcANAA3AGQAYQAyAGQANAAiAH0A + + +
+ + + + + diff --git a/test/Services/LoadTest/Basket.API/DeleteBasket.webtest b/test/Services/LoadTest/Basket.API/DeleteBasket.webtest index face3c799..129f6c946 100644 --- a/test/Services/LoadTest/Basket.API/DeleteBasket.webtest +++ b/test/Services/LoadTest/Basket.API/DeleteBasket.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Basket.API/GetBasket.webtest b/test/Services/LoadTest/Basket.API/GetBasket.webtest index e7d6d08d7..061f0ecec 100644 --- a/test/Services/LoadTest/Basket.API/GetBasket.webtest +++ b/test/Services/LoadTest/Basket.API/GetBasket.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/WebMVC/LoginAndLogout.webtest b/test/Services/LoadTest/Identity.API/Login.webtest similarity index 90% rename from test/Services/LoadTest/WebMVC/LoginAndLogout.webtest rename to test/Services/LoadTest/Identity.API/Login.webtest index 759b2e2fd..62c93eb66 100644 --- a/test/Services/LoadTest/WebMVC/LoginAndLogout.webtest +++ b/test/Services/LoadTest/Identity.API/Login.webtest @@ -1,5 +1,5 @@  - + @@ -70,14 +70,6 @@ - - -
- - - - - diff --git a/test/Services/LoadTest/Identity.API/Logout.webtest b/test/Services/LoadTest/Identity.API/Logout.webtest new file mode 100644 index 000000000..393952ab2 --- /dev/null +++ b/test/Services/LoadTest/Identity.API/Logout.webtest @@ -0,0 +1,23 @@ + + + + + +
+ + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/Services/LoadTest/LoadTest.csproj b/test/Services/LoadTest/LoadTest.csproj index 374492daa..3178554c1 100644 --- a/test/Services/LoadTest/LoadTest.csproj +++ b/test/Services/LoadTest/LoadTest.csproj @@ -88,6 +88,9 @@ PreserveNewest + + Always + Always @@ -127,18 +130,18 @@ Always - - Always - PreserveNewest - + PreserveNewest PreserveNewest + + Always + diff --git a/test/Services/LoadTest/Location.API/CreateOrUpdateUserLocation.webtest b/test/Services/LoadTest/Location.API/CreateOrUpdateUserLocation.webtest index c5da33f35..d5d1630ac 100644 --- a/test/Services/LoadTest/Location.API/CreateOrUpdateUserLocation.webtest +++ b/test/Services/LoadTest/Location.API/CreateOrUpdateUserLocation.webtest @@ -72,6 +72,14 @@ ewAiAEwAbwBuAGcAaQB0AHUAZABlACIAOgAtADEAMgAxAC4AMAA0ADAAMwA2ACwAIgBMAGEAdABpAHQAdQBkAGUAIgA6ADQAOAAuADAAOQAxADYAMwAxAH0A + + +
+ + + + + diff --git a/test/Services/LoadTest/Location.API/GetAllLocations.webtest b/test/Services/LoadTest/Location.API/GetAllLocations.webtest index 9c10c08c5..f0171aa26 100644 --- a/test/Services/LoadTest/Location.API/GetAllLocations.webtest +++ b/test/Services/LoadTest/Location.API/GetAllLocations.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Location.API/GetLocation.webtest b/test/Services/LoadTest/Location.API/GetLocation.webtest index 9f1019084..fb078c9a1 100644 --- a/test/Services/LoadTest/Location.API/GetLocation.webtest +++ b/test/Services/LoadTest/Location.API/GetLocation.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Location.API/GetUserLocation.webtest b/test/Services/LoadTest/Location.API/GetUserLocation.webtest index 7ab6c1dac..a60387329 100644 --- a/test/Services/LoadTest/Location.API/GetUserLocation.webtest +++ b/test/Services/LoadTest/Location.API/GetUserLocation.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest b/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest index 45fbbbd2f..cb5ac96b3 100644 --- a/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest +++ b/test/Services/LoadTest/Marketing.API/GetAllCampaigns.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Marketing.API/GetCampaign.webtest b/test/Services/LoadTest/Marketing.API/GetCampaign.webtest index c46c053b9..d37f95364 100644 --- a/test/Services/LoadTest/Marketing.API/GetCampaign.webtest +++ b/test/Services/LoadTest/Marketing.API/GetCampaign.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest b/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest index 9d44c3aee..4b81e5de1 100644 --- a/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest +++ b/test/Services/LoadTest/Marketing.API/GetUserCampaigns.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Ordering.API/CancelOrder.webtest b/test/Services/LoadTest/Ordering.API/CancelOrder.webtest index 708b3b013..efc3a69b0 100644 --- a/test/Services/LoadTest/Ordering.API/CancelOrder.webtest +++ b/test/Services/LoadTest/Ordering.API/CancelOrder.webtest @@ -73,6 +73,14 @@ ewAiAE8AcgBkAGUAcgBOAHUAbQBiAGUAcgAiADoAIAAxAH0A + + +
+ + + + + diff --git a/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest b/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest index 765281042..64a7c54e7 100644 --- a/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest +++ b/test/Services/LoadTest/Ordering.API/GetAllOrders.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest b/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest index 28241f8a1..9548aef0c 100644 --- a/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest +++ b/test/Services/LoadTest/Ordering.API/GetCardTypes.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Ordering.API/GetOrder.webtest b/test/Services/LoadTest/Ordering.API/GetOrder.webtest index 97a5556f6..5a94b203f 100644 --- a/test/Services/LoadTest/Ordering.API/GetOrder.webtest +++ b/test/Services/LoadTest/Ordering.API/GetOrder.webtest @@ -71,6 +71,14 @@
+ + +
+ + + + + diff --git a/test/Services/LoadTest/Ordering.API/ShipOrder.webtest b/test/Services/LoadTest/Ordering.API/ShipOrder.webtest index c3104a744..812371fc6 100644 --- a/test/Services/LoadTest/Ordering.API/ShipOrder.webtest +++ b/test/Services/LoadTest/Ordering.API/ShipOrder.webtest @@ -73,6 +73,14 @@ ewAiAE8AcgBkAGUAcgBOAHUAbQBiAGUAcgAiADoAIAAxAH0A + + +
+ + + + + diff --git a/test/Services/LoadTest/WebMVC/AddProducts.webtest b/test/Services/LoadTest/WebMVC/AddProducts.webtest index 3305509ae..b9217d6ff 100644 --- a/test/Services/LoadTest/WebMVC/AddProducts.webtest +++ b/test/Services/LoadTest/WebMVC/AddProducts.webtest @@ -1,6 +1,70 @@  + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + @@ -31,6 +95,14 @@ + + +
+ + + + + diff --git a/test/Services/LoadTest/WebMVC/AddProductsWithLogin.webtest b/test/Services/LoadTest/WebMVC/AddProductsWithLogin.webtest deleted file mode 100644 index 3b617826c..000000000 --- a/test/Services/LoadTest/WebMVC/AddProductsWithLogin.webtest +++ /dev/null @@ -1,134 +0,0 @@ -< -?xml version="1.0" encoding="utf-8"?> - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file