LoadTesting
Changes
oregon/locustfile_exportImage.py 29(+10 -19)
qsi/locustfile_exportImage.py 8(+4 -4)
results/.DS_Store 0(+0 -0)
results/06042018/.DS_Store 0(+0 -0)
Details
oregon/locustfile_exportImage.py 29(+10 -19)
diff --git a/oregon/locustfile_exportImage.py b/oregon/locustfile_exportImage.py
index b6ab960..9179f91 100644
--- a/oregon/locustfile_exportImage.py
+++ b/oregon/locustfile_exportImage.py
@@ -13,13 +13,11 @@ import resource
service_host = "http://imagery.oregonexplorer.info"
# Routes for ArcGIS Server
routes = {
- "1995": "/arcgis/rest/services/NAIP_1995/NAIP_1995_WM/ImageServer/",
- "2000": "/arcgis/rest/services/NAIP_2000/NAIP_2000_WM/ImageServer/",
- "2005": "/arcgis/rest/services/NAIP_2005/NAIP_2005_WM/ImageServer/",
- "2009": "/arcgis/rest/services/NAIP_2009/NAIP_2009_WM/ImageServer/",
- "2011": "/arcgis/rest/services/NAIP_2011/NAIP_2011_WM/ImageServer/",
- "pictometry": "/arcgis/rest/services/Pictometry/BestofPictometry/ImageServer/",
- "hillshade": "/arcgis/rest/services/Derived_surfaces/Hillshade_derivedsurfaces/ImageServer/"
+ "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/",
}
class UserBehavior(TaskSet):
@@ -53,10 +51,10 @@ class UserBehavior(TaskSet):
'dpi': 96,
'transparent': 'true',
'bbox': ','.join(map(str, [x1, y1, x2, y2])),
- 'bboxSR': 102100,
- 'imageSR': 102100,
- 'size': '1160, 578',
- 'format': 'png8'
+ 'bboxSR': 2992,
+ 'imageSR': 2992,
+ 'size': '1908,612',
+ # 'format': 'png8'
}
qstr = "?"
@@ -86,17 +84,10 @@ class UserBehavior(TaskSet):
def service4(self):
self.baseQuery(routes['2009'])
- @task(15)
+ @task(80)
def service5(self):
self.baseQuery(routes['2011'])
- @task(60)
- def service6(self):
- self.baseQuery(routes['pictometry'])
-
- @task(5)
- def service7(self):
- self.baseQuery(routes['hillshade'])
class WebsiteUser(HttpLocust):
host = service_host
qsi/locustfile_exportImage.py 8(+4 -4)
diff --git a/qsi/locustfile_exportImage.py b/qsi/locustfile_exportImage.py
index b0b4ba6..065e21c 100644
--- a/qsi/locustfile_exportImage.py
+++ b/qsi/locustfile_exportImage.py
@@ -54,10 +54,10 @@ class UserBehavior(TaskSet):
'dpi': 96,
'transparent': 'true',
'bbox': ','.join(map(str, [x1, y1, x2, y2])),
- 'bboxSR': 102100,
- 'imageSR': 102100,
- 'size': '1160, 578',
- 'format': 'png8'
+ 'bboxSR': 2992,
+ 'imageSR': 2992,
+ 'size': '1908,612',
+ # 'format': 'png8'
}
qstr = "?"
results/.DS_Store 0(+0 -0)
diff --git a/results/.DS_Store b/results/.DS_Store
index 00e7bfe..30e9ed6 100644
Binary files a/results/.DS_Store and b/results/.DS_Store differ
results/06042018/.DS_Store 0(+0 -0)
diff --git a/results/06042018/.DS_Store b/results/06042018/.DS_Store
index 10a6790..117f881 100644
Binary files a/results/06042018/.DS_Store and b/results/06042018/.DS_Store differ