LoadTesting

modify oregon urls

9/6/2018 8:59:54 AM

Details

diff --git a/oregon/locustfile_exportImage.py b/oregon/locustfile_exportImage.py
index 9179f91..ffdf885 100644
--- a/oregon/locustfile_exportImage.py
+++ b/oregon/locustfile_exportImage.py
@@ -13,11 +13,11 @@ import resource
 service_host = "http://imagery.oregonexplorer.info"
 # Routes for ArcGIS Server
 routes = {
-    "1995": "/arcgis/rest/services/NAIP_1995/NAIP_1995_SL/ImageServer/",
-    "2000": "/arcgis/rest/services/NAIP_2000/NAIP_2000_SL/ImageServer/",
-    "2005": "/arcgis/rest/services/NAIP_2005/NAIP_2005_SL/ImageServer/",
-    "2009": "/arcgis/rest/services/NAIP_2009/NAIP_2009_SL/ImageServer/",
-    "2011": "/arcgis/rest/services/NAIP_2011/NAIP_2011_SL/ImageServer/",
+    "1995": "/arcgis/rest/services/NAIP_1995/NAIP_1995_Dynamic/ImageServer/",
+    "2000": "/arcgis/rest/services/NAIP_2000/NAIP_2000_Dynamic/ImageServer/",
+    "2005": "/arcgis/rest/services/NAIP_2005/NAIP_2005_Dynamic/ImageServer/",
+    "2009": "/arcgis/rest/services/NAIP_2009/NAIP_2009_Dynamic/ImageServer/",
+    "2011": "/arcgis/rest/services/NAIP_2011/NAIP_2011_Dynamic/ImageServer/",
 }
 
 class UserBehavior(TaskSet):
@@ -54,7 +54,7 @@ class UserBehavior(TaskSet):
             'bboxSR': 2992,
             'imageSR': 2992,
             'size': '1908,612',
-            # 'format': 'png8'
+            'format': 'jpeg'
         }
 
         qstr = "?"
diff --git a/qsi/locustfile_exportImage.py b/qsi/locustfile_exportImage.py
index ec438e0..0eab279 100644
--- a/qsi/locustfile_exportImage.py
+++ b/qsi/locustfile_exportImage.py
@@ -55,10 +55,10 @@ class UserBehavior(TaskSet):
             'dpi': 96,
             'transparent': 'true',
             'bbox': ','.join(map(str, [x1, y1, x2, y2])),
-            'bboxSR': 3857,
-            'imageSR': 3857,
+            'bboxSR': 2992,
+            'imageSR': 2992,
             'size': '1908,612',
-            # 'format': 'png8'
+            'format': 'jpeg'
         }
 
         qstr = "?"
@@ -93,19 +93,19 @@ class UserBehavior(TaskSet):
         self.baseQuery(routes['2011'])
 
     @task(3)
-    def service5(self):
+    def service6(self):
         self.baseQuery(routes['2012'])
 
     @task(7)
-    def service5(self):
+    def service6(self):
         self.baseQuery(routes['2014'])
 
     @task(10)
-    def service5(self):
+    def service8(self):
         self.baseQuery(routes['2016'])
 
     @task(70)
-    def service5(self):
+    def service9(self):
         self.baseQuery(routes['2017'])
 
 class WebsiteUser(HttpLocust):
diff --git a/results/.DS_Store b/results/.DS_Store
index 09d02be..0106e6e 100644
Binary files a/results/.DS_Store and b/results/.DS_Store differ
diff --git a/results/oregon_09062018/distribution_1536249251.16.csv b/results/oregon_09062018/distribution_1536249251.16.csv
new file mode 100644
index 0000000..1a30585
--- /dev/null
+++ b/results/oregon_09062018/distribution_1536249251.16.csv
@@ -0,0 +1,8 @@
+"Name","# requests","50%","66%","75%","80%","90%","95%","98%","99%","100%"
+"GET /arcgis/rest/services/NAIP_1995/NAIP_1995_Dynamic/ImageServer/",39,35,37,39,40,55,2500,7400,7400,7429
+"/arcgis/rest/services/NAIP_1995/NAIP_1995_Dynamic/ImageServer/",0,"N/A","N/A","N/A","N/A","N/A","N/A","N/A","N/A","N/A"
+"GET /arcgis/rest/services/NAIP_2000/NAIP_2000_Dynamic/ImageServer/",59,35,37,39,41,57,1100,4700,6100,6127
+"GET /arcgis/rest/services/NAIP_2005/NAIP_2005_Dynamic/ImageServer/",99,47,50,53,55,170,1600,8400,9100,9062
+"GET /arcgis/rest/services/NAIP_2009/NAIP_2009_Dynamic/ImageServer/",184,42,44,46,47,54,83,770,1400,4281
+"GET /arcgis/rest/services/NAIP_2011/NAIP_2011_Dynamic/ImageServer/",1530,41,44,45,47,59,390,3600,5000,9154
+"None Total",1911,41,44,46,48,60,400,3500,5100,9154
\ No newline at end of file
diff --git a/results/oregon_09062018/requests_1536249250.12.csv b/results/oregon_09062018/requests_1536249250.12.csv
new file mode 100644
index 0000000..253001c
--- /dev/null
+++ b/results/oregon_09062018/requests_1536249250.12.csv
@@ -0,0 +1,8 @@
+"Method","Name","# requests","# failures","Median response time","Average response time","Min response time","Max response time","Average Content Size","Requests/s"
+"GET","/arcgis/rest/services/NAIP_1995/NAIP_1995_Dynamic/ImageServer/",39,0,35,289,31,7429,14302,0.14
+"POST","/arcgis/rest/services/NAIP_1995/NAIP_1995_Dynamic/ImageServer/",0,0,0,0,0,0,0,0.00
+"GET","/arcgis/rest/services/NAIP_2000/NAIP_2000_Dynamic/ImageServer/",59,0,35,255,30,6127,14302,0.21
+"GET","/arcgis/rest/services/NAIP_2005/NAIP_2005_Dynamic/ImageServer/",99,0,47,357,42,9062,19515,0.36
+"GET","/arcgis/rest/services/NAIP_2009/NAIP_2009_Dynamic/ImageServer/",184,0,42,89,36,4281,19515,0.67
+"GET","/arcgis/rest/services/NAIP_2011/NAIP_2011_Dynamic/ImageServer/",1530,0,41,209,35,9154,19515,5.57
+"None","Total",1911,0,41,208,30,9154,19247,6.96
\ No newline at end of file
diff --git a/results/qsi_09062018/distribution_1536246315.3.csv b/results/qsi_09062018/distribution_1536246315.3.csv
new file mode 100644
index 0000000..169bc3c
--- /dev/null
+++ b/results/qsi_09062018/distribution_1536246315.3.csv
@@ -0,0 +1,11 @@
+"Name","# requests","50%","66%","75%","80%","90%","95%","98%","99%","100%"
+"GET /arcgis/rest/services/NAIP_1995/NAIP_1995_SL/ImageServer/",45,240,310,360,430,510,3100,9200,9200,9154
+"/arcgis/rest/services/NAIP_1995/NAIP_1995_SL/ImageServer/",0,"N/A","N/A","N/A","N/A","N/A","N/A","N/A","N/A","N/A"
+"GET /arcgis/rest/services/NAIP_2000/NAIP_2000_SL/ImageServer/",54,150,250,340,460,700,1100,4000,9400,9378
+"GET /arcgis/rest/services/NAIP_2005/NAIP_2005_SL/ImageServer/",53,330,490,560,760,890,1600,2000,14000,14344
+"GET /arcgis/rest/services/NAIP_2009/NAIP_2009_SL/ImageServer/",35,320,800,1100,1500,2600,17000,21000,21000,20999
+"GET /arcgis/rest/services/NAIP_2011/NAIP_2011_SL/ImageServer/",40,970,1800,2100,2400,3100,4100,11000,11000,10518
+"GET /arcgis/rest/services/NAIP_2014/NAIP_2014_SL/ImageServer/",147,600,1000,1400,1700,2900,4000,15000,15000,16382
+"GET /arcgis/rest/services/NAIP_2016/NAIP_2016_SL/ImageServer/",223,320,430,580,820,1500,2600,8800,13000,23241
+"GET /arcgis/rest/services/NAIP_2016/NAIP_2017_SL/ImageServer/",1554,25,26,26,27,29,69,2800,5200,59276
+"None Total",2151,26,30,150,270,740,2000,3800,11000,59276
\ No newline at end of file
diff --git a/results/qsi_09062018/requests_1536246313.84.csv b/results/qsi_09062018/requests_1536246313.84.csv
new file mode 100644
index 0000000..cefacd8
--- /dev/null
+++ b/results/qsi_09062018/requests_1536246313.84.csv
@@ -0,0 +1,11 @@
+"Method","Name","# requests","# failures","Median response time","Average response time","Min response time","Max response time","Average Content Size","Requests/s"
+"GET","/arcgis/rest/services/NAIP_1995/NAIP_1995_SL/ImageServer/",45,0,240,561,35,9154,121418,0.14
+"POST","/arcgis/rest/services/NAIP_1995/NAIP_1995_SL/ImageServer/",0,0,0,0,0,0,0,0.00
+"GET","/arcgis/rest/services/NAIP_2000/NAIP_2000_SL/ImageServer/",54,0,150,482,43,9378,148048,0.16
+"GET","/arcgis/rest/services/NAIP_2005/NAIP_2005_SL/ImageServer/",53,0,330,717,52,14344,153690,0.16
+"GET","/arcgis/rest/services/NAIP_2009/NAIP_2009_SL/ImageServer/",35,0,320,1708,50,20999,145862,0.11
+"GET","/arcgis/rest/services/NAIP_2011/NAIP_2011_SL/ImageServer/",40,0,970,1528,69,10518,147299,0.12
+"GET","/arcgis/rest/services/NAIP_2014/NAIP_2014_SL/ImageServer/",147,0,600,1352,50,16382,152966,0.44
+"GET","/arcgis/rest/services/NAIP_2016/NAIP_2016_SL/ImageServer/",223,0,320,893,47,23241,129789,0.67
+"GET","/arcgis/rest/services/NAIP_2016/NAIP_2017_SL/ImageServer/",1554,0,25,251,20,59276,7283,4.67
+"None","Total",2151,0,26,464,20,59276,44327,6.46
\ No newline at end of file