1 <?xml version="1.0" encoding="UTF-8"?>
2 <jmeterTestPlan version="1.2" properties="5.0" jmeter="5.1.1 r1855137">
4 <TestPlan guiclass="TestPlanGui" testclass="TestPlan" testname="Policy XACML PDP Performance" enabled="true">
5 <stringProp name="TestPlan.comments">Policy XACML PDP Performance Tests</stringProp>
6 <boolProp name="TestPlan.functional_mode">false</boolProp>
7 <boolProp name="TestPlan.tearDown_on_shutdown">true</boolProp>
8 <boolProp name="TestPlan.serialize_threadgroups">false</boolProp>
9 <elementProp name="TestPlan.user_defined_variables" elementType="Arguments" guiclass="ArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
10 <collectionProp name="Arguments.arguments">
11 <elementProp name="POLICY_PDPX_HOST" elementType="Argument">
12 <stringProp name="Argument.name">POLICY_PDPX_HOST</stringProp>
13 <stringProp name="Argument.value">${__P(host,10.12.6.106)}</stringProp>
14 <stringProp name="Argument.metadata">=</stringProp>
16 <elementProp name="DURATION" elementType="Argument">
17 <stringProp name="Argument.name">DURATION</stringProp>
18 <stringProp name="Argument.value">${__P(duration, 3000)}</stringProp>
19 <stringProp name="Argument.metadata">=</stringProp>
21 <elementProp name="USERS" elementType="Argument">
22 <stringProp name="Argument.name">USERS</stringProp>
23 <stringProp name="Argument.value">${__P(users, 10)}</stringProp>
24 <stringProp name="Argument.metadata">=</stringProp>
26 <elementProp name="PDP_PORT" elementType="Argument">
27 <stringProp name="Argument.name">PDP_PORT</stringProp>
28 <stringProp name="Argument.value">${__P(port, 30420)}</stringProp>
29 <stringProp name="Argument.metadata">=</stringProp>
31 <elementProp name="PAP_PORT" elementType="Argument">
32 <stringProp name="Argument.name">PAP_PORT</stringProp>
33 <stringProp name="Argument.value">${__P(port, 30089)}</stringProp>
34 <stringProp name="Argument.metadata">=</stringProp>
36 <elementProp name="API_PORT" elementType="Argument">
37 <stringProp name="Argument.name">API_PORT</stringProp>
38 <stringProp name="Argument.value">${__P(port, 32187)}</stringProp>
39 <stringProp name="Argument.metadata">=</stringProp>
43 <stringProp name="TestPlan.user_define_classpath"></stringProp>
46 <HeaderManager guiclass="HeaderPanel" testclass="HeaderManager" testname="HTTP Header Manager" enabled="true">
47 <collectionProp name="HeaderManager.headers">
48 <elementProp name="" elementType="Header">
49 <stringProp name="Header.name">Content-Type</stringProp>
50 <stringProp name="Header.value">application/json</stringProp>
52 <elementProp name="" elementType="Header">
53 <stringProp name="Header.name">Accept</stringProp>
54 <stringProp name="Header.value">application/json</stringProp>
59 <SetupThreadGroup guiclass="SetupThreadGroupGui" testclass="SetupThreadGroup" testname="setUp Thread Group" enabled="true">
60 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
61 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
62 <boolProp name="LoopController.continue_forever">false</boolProp>
63 <stringProp name="LoopController.loops">1</stringProp>
65 <stringProp name="ThreadGroup.num_threads">1</stringProp>
66 <stringProp name="ThreadGroup.ramp_time">1</stringProp>
67 <boolProp name="ThreadGroup.scheduler">false</boolProp>
68 <stringProp name="ThreadGroup.duration"></stringProp>
69 <stringProp name="ThreadGroup.delay"></stringProp>
72 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Monitoring Policy" enabled="true">
73 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
74 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
75 <collectionProp name="Arguments.arguments">
76 <elementProp name="" elementType="HTTPArgument">
77 <boolProp name="HTTPArgument.always_encode">false</boolProp>
78 <stringProp name="Argument.value">{
79 "tosca_definitions_version": "tosca_simple_yaml_1_0_0",
80 "topology_template": {
81 "policies": [
83 "onap.scaleout.tca": {
84 "type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
85 "version": "1.0.0",
86 "metadata": {
87 "policy-id": "onap.scaleout.tca"
89 "properties": {
90 "tca_policy": {
91 "domain": "measurementsForVfScaling",
92 "metricsPerEventName": [
94 "eventName": "vLoadBalancer",
95 "controlLoopSchemaType": "VNF",
96 "policyScope": "type=configuration",
97 "policyName": "onap.scaleout.tca",
98 "policyVersion": "v0.0.1",
99 "thresholds": [
101 "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
102 "closedLoopEventStatus": "ONSET",
103 "version": "1.0.2",
104 "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated",
105 "thresholdValue": 500,
106 "direction": "LESS_OR_EQUAL",
107 "severity": "MAJOR"
110 "closedLoopControlName": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
111 "closedLoopEventStatus": "ONSET",
112 "version": "1.0.2",
113 "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated",
114 "thresholdValue": 5000,
115 "direction": "GREATER_OR_EQUAL",
116 "severity": "CRITICAL"
128 <stringProp name="Argument.metadata">=</stringProp>
132 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
133 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
134 <stringProp name="HTTPSampler.protocol">https</stringProp>
135 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
136 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies</stringProp>
137 <stringProp name="HTTPSampler.method">POST</stringProp>
138 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
139 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
140 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
141 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
142 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
143 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
144 <stringProp name="HTTPSampler.response_timeout"></stringProp>
147 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
148 <collectionProp name="AuthManager.auth_list">
149 <elementProp name="" elementType="Authorization">
150 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1</stringProp>
151 <stringProp name="Authorization.username">healthcheck</stringProp>
152 <stringProp name="Authorization.password">zb!XztG34</stringProp>
153 <stringProp name="Authorization.domain"></stringProp>
154 <stringProp name="Authorization.realm"></stringProp>
157 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
161 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Min/Max Guard Policy" enabled="true">
162 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
163 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
164 <collectionProp name="Arguments.arguments">
165 <elementProp name="" elementType="HTTPArgument">
166 <boolProp name="HTTPArgument.always_encode">false</boolProp>
167 <stringProp name="Argument.value">{
168 "policy-id" : "guard.minmax.scaleout",
169 "content" : {
170 "actor": "SO",
171 "recipe": "scaleOut",
172 "targets": ".*",
173 "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
174 "min": "1",
175 "max": "5",
176 "guardActiveStart": "00:00:01-05:00",
177 "guardActiveEnd": "23:59:59-05:00"
180 <stringProp name="Argument.metadata">=</stringProp>
184 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
185 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
186 <stringProp name="HTTPSampler.protocol">https</stringProp>
187 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
188 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies</stringProp>
189 <stringProp name="HTTPSampler.method">POST</stringProp>
190 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
191 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
192 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
193 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
194 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
195 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
196 <stringProp name="HTTPSampler.response_timeout"></stringProp>
199 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
200 <collectionProp name="AuthManager.auth_list">
201 <elementProp name="" elementType="Authorization">
202 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1</stringProp>
203 <stringProp name="Authorization.username">healthcheck</stringProp>
204 <stringProp name="Authorization.password">zb!XztG34</stringProp>
205 <stringProp name="Authorization.domain"></stringProp>
206 <stringProp name="Authorization.realm"></stringProp>
209 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
213 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Create Frequency Limiter Guard Policy" enabled="true">
214 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
215 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
216 <collectionProp name="Arguments.arguments">
217 <elementProp name="" elementType="HTTPArgument">
218 <boolProp name="HTTPArgument.always_encode">false</boolProp>
219 <stringProp name="Argument.value">{
220 "policy-id" : "guard.frequency.scaleout",
221 "content" : {
222 "actor": "SO",
223 "recipe": "scaleOut",
224 "targets": ".*",
225 "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
226 "limit": "1",
227 "timeWindow": "10",
228 "timeUnits": "minute",
229 "guardActiveStart": "00:00:01-05:00",
230 "guardActiveEnd": "23:59:59-05:00"
233 <stringProp name="Argument.metadata">=</stringProp>
237 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
238 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
239 <stringProp name="HTTPSampler.protocol">https</stringProp>
240 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
241 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.Guard/versions/1.0.0/policies</stringProp>
242 <stringProp name="HTTPSampler.method">POST</stringProp>
243 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
244 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
245 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
246 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
247 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
248 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
249 <stringProp name="HTTPSampler.response_timeout"></stringProp>
252 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
253 <collectionProp name="AuthManager.auth_list">
254 <elementProp name="" elementType="Authorization">
255 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1</stringProp>
256 <stringProp name="Authorization.username">healthcheck</stringProp>
257 <stringProp name="Authorization.password">zb!XztG34</stringProp>
258 <stringProp name="Authorization.domain"></stringProp>
259 <stringProp name="Authorization.realm"></stringProp>
262 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
266 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Monitoring Policy" enabled="true">
267 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
268 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
269 <collectionProp name="Arguments.arguments">
270 <elementProp name="" elementType="HTTPArgument">
271 <boolProp name="HTTPArgument.always_encode">false</boolProp>
272 <stringProp name="Argument.value">{"policies":[{"policy-id":"onap.scaleout.tca"}]}</stringProp>
273 <stringProp name="Argument.metadata">=</stringProp>
277 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
278 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
279 <stringProp name="HTTPSampler.protocol">https</stringProp>
280 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
281 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
282 <stringProp name="HTTPSampler.method">POST</stringProp>
283 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
284 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
285 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
286 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
287 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
288 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
289 <stringProp name="HTTPSampler.response_timeout"></stringProp>
292 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
293 <collectionProp name="AuthManager.auth_list">
294 <elementProp name="" elementType="Authorization">
295 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
296 <stringProp name="Authorization.username">healthcheck</stringProp>
297 <stringProp name="Authorization.password">zb!XztG34</stringProp>
298 <stringProp name="Authorization.domain"></stringProp>
299 <stringProp name="Authorization.realm"></stringProp>
302 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
306 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Min/Max Policy" enabled="true">
307 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
308 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
309 <collectionProp name="Arguments.arguments">
310 <elementProp name="" elementType="HTTPArgument">
311 <boolProp name="HTTPArgument.always_encode">false</boolProp>
312 <stringProp name="Argument.value">{"policies":[{"policy-id":"guard.minmax.scaleout"}]}</stringProp>
313 <stringProp name="Argument.metadata">=</stringProp>
317 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
318 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
319 <stringProp name="HTTPSampler.protocol">https</stringProp>
320 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
321 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
322 <stringProp name="HTTPSampler.method">POST</stringProp>
323 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
324 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
325 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
326 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
327 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
328 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
329 <stringProp name="HTTPSampler.response_timeout"></stringProp>
332 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
333 <collectionProp name="AuthManager.auth_list">
334 <elementProp name="" elementType="Authorization">
335 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
336 <stringProp name="Authorization.username">healthcheck</stringProp>
337 <stringProp name="Authorization.password">zb!XztG34</stringProp>
338 <stringProp name="Authorization.domain"></stringProp>
339 <stringProp name="Authorization.realm"></stringProp>
342 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
346 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Deploy Frequency Limiter Policy" enabled="true">
347 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
348 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
349 <collectionProp name="Arguments.arguments">
350 <elementProp name="" elementType="HTTPArgument">
351 <boolProp name="HTTPArgument.always_encode">false</boolProp>
352 <stringProp name="Argument.value">{"policies":[{"policy-id":"guard.frequency.scaleout"}]}</stringProp>
353 <stringProp name="Argument.metadata">=</stringProp>
357 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
358 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
359 <stringProp name="HTTPSampler.protocol">https</stringProp>
360 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
361 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies</stringProp>
362 <stringProp name="HTTPSampler.method">POST</stringProp>
363 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
364 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
365 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
366 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
367 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
368 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
369 <stringProp name="HTTPSampler.response_timeout"></stringProp>
372 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
373 <collectionProp name="AuthManager.auth_list">
374 <elementProp name="" elementType="Authorization">
375 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
376 <stringProp name="Authorization.username">healthcheck</stringProp>
377 <stringProp name="Authorization.password">zb!XztG34</stringProp>
378 <stringProp name="Authorization.domain"></stringProp>
379 <stringProp name="Authorization.realm"></stringProp>
382 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
386 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
387 <boolProp name="ResultCollector.error_logging">false</boolProp>
389 <name>saveConfig</name>
390 <value class="SampleSaveConfiguration">
392 <latency>true</latency>
393 <timestamp>true</timestamp>
394 <success>true</success>
397 <message>true</message>
398 <threadName>true</threadName>
399 <dataType>true</dataType>
400 <encoding>false</encoding>
401 <assertions>true</assertions>
402 <subresults>true</subresults>
403 <responseData>false</responseData>
404 <samplerData>false</samplerData>
406 <fieldNames>true</fieldNames>
407 <responseHeaders>false</responseHeaders>
408 <requestHeaders>false</requestHeaders>
409 <responseDataOnError>false</responseDataOnError>
410 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
411 <assertionsResultsToSave>0</assertionsResultsToSave>
413 <sentBytes>true</sentBytes>
415 <threadCounts>true</threadCounts>
416 <idleTime>true</idleTime>
417 <connectTime>true</connectTime>
420 <stringProp name="filename">/tmp/pdpx_perf_setup.log</stringProp>
424 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="Policy XACML PDP Health Check " enabled="true">
425 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
426 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
427 <boolProp name="LoopController.continue_forever">false</boolProp>
428 <intProp name="LoopController.loops">-1</intProp>
430 <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp>
431 <stringProp name="ThreadGroup.ramp_time">10</stringProp>
432 <boolProp name="ThreadGroup.scheduler">true</boolProp>
433 <stringProp name="ThreadGroup.duration">${DURATION}</stringProp>
434 <stringProp name="ThreadGroup.delay">1</stringProp>
437 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Health" enabled="true">
438 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
439 <collectionProp name="Arguments.arguments"/>
441 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
442 <stringProp name="HTTPSampler.port">${PDP_PORT}</stringProp>
443 <stringProp name="HTTPSampler.protocol">https</stringProp>
444 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
445 <stringProp name="HTTPSampler.path">policy/pdpx/v1/healthcheck</stringProp>
446 <stringProp name="HTTPSampler.method">GET</stringProp>
447 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
448 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
449 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
450 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
451 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
452 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
453 <stringProp name="HTTPSampler.response_timeout"></stringProp>
454 <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
457 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
458 <collectionProp name="Asserion.test_strings">
459 <stringProp name="49586">200</stringProp>
461 <stringProp name="Assertion.custom_message"></stringProp>
462 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
463 <boolProp name="Assertion.assume_success">false</boolProp>
464 <intProp name="Assertion.test_type">1</intProp>
465 <stringProp name="Assertion.scope">all</stringProp>
468 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
469 <stringProp name="scriptLanguage">groovy</stringProp>
470 <stringProp name="parameters"></stringProp>
471 <stringProp name="filename"></stringProp>
472 <stringProp name="cacheKey">true</stringProp>
473 <stringProp name="script">import groovy.json.JsonSlurper;
476 if (prev.getResponseCode() == '200') {
477 def jsonSlurper = new JsonSlurper();
478 res = jsonSlurper.parseText(prev.getResponseDataAsString());
480 assert res instanceof Map;
481 assert res.code == 200;
487 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
488 <collectionProp name="AuthManager.auth_list">
489 <elementProp name="" elementType="Authorization">
490 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${PDP_PORT}/policy/pdpx/v1</stringProp>
491 <stringProp name="Authorization.username">healthcheck</stringProp>
492 <stringProp name="Authorization.password">zb!XztG34</stringProp>
493 <stringProp name="Authorization.domain"></stringProp>
494 <stringProp name="Authorization.realm"></stringProp>
497 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
500 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
501 <boolProp name="ResultCollector.error_logging">false</boolProp>
503 <name>saveConfig</name>
504 <value class="SampleSaveConfiguration">
506 <latency>true</latency>
507 <timestamp>true</timestamp>
508 <success>true</success>
511 <message>true</message>
512 <threadName>true</threadName>
513 <dataType>true</dataType>
514 <encoding>false</encoding>
515 <assertions>true</assertions>
516 <subresults>true</subresults>
517 <responseData>false</responseData>
518 <samplerData>false</samplerData>
520 <fieldNames>true</fieldNames>
521 <responseHeaders>false</responseHeaders>
522 <requestHeaders>false</requestHeaders>
523 <responseDataOnError>false</responseDataOnError>
524 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
525 <assertionsResultsToSave>0</assertionsResultsToSave>
527 <sentBytes>true</sentBytes>
529 <threadCounts>true</threadCounts>
530 <idleTime>true</idleTime>
531 <connectTime>true</connectTime>
534 <stringProp name="filename">/tmp/pdpx_perf_health.log</stringProp>
535 <stringProp name="TestPlan.comments"> </stringProp>
539 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="XACML PDP Statistics Check " enabled="true">
540 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
541 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
542 <boolProp name="LoopController.continue_forever">false</boolProp>
543 <intProp name="LoopController.loops">-1</intProp>
545 <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp>
546 <stringProp name="ThreadGroup.ramp_time">10</stringProp>
547 <boolProp name="ThreadGroup.scheduler">true</boolProp>
548 <stringProp name="ThreadGroup.duration">${DURATION}</stringProp>
549 <stringProp name="ThreadGroup.delay">1</stringProp>
552 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Check Statistics" enabled="true">
553 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
554 <collectionProp name="Arguments.arguments"/>
556 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
557 <stringProp name="HTTPSampler.port">${PDP_PORT}</stringProp>
558 <stringProp name="HTTPSampler.protocol">https</stringProp>
559 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
560 <stringProp name="HTTPSampler.path">policy/pdpx/v1/statistics</stringProp>
561 <stringProp name="HTTPSampler.method">GET</stringProp>
562 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
563 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
564 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
565 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
566 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
567 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
568 <stringProp name="HTTPSampler.response_timeout"></stringProp>
569 <stringProp name="TestPlan.comments">Basic Health Check</stringProp>
572 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
573 <collectionProp name="Asserion.test_strings">
574 <stringProp name="49586">200</stringProp>
576 <stringProp name="Assertion.custom_message"></stringProp>
577 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
578 <boolProp name="Assertion.assume_success">false</boolProp>
579 <intProp name="Assertion.test_type">1</intProp>
582 <JSR223Assertion guiclass="TestBeanGUI" testclass="JSR223Assertion" testname="JSR223 Assertion" enabled="true">
583 <stringProp name="scriptLanguage">groovy</stringProp>
584 <stringProp name="parameters"></stringProp>
585 <stringProp name="filename"></stringProp>
586 <stringProp name="cacheKey">true</stringProp>
587 <stringProp name="script">import groovy.json.JsonSlurper;
590 if (prev.getResponseCode() == '200') {
591 def jsonSlurper = new JsonSlurper();
592 res = jsonSlurper.parseText(prev.getResponseDataAsString());
594 assert res instanceof Map;
595 assert res.code == 200;
602 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
603 <collectionProp name="AuthManager.auth_list">
604 <elementProp name="" elementType="Authorization">
605 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${PDP_PORT}/policy/pdpx/v1</stringProp>
606 <stringProp name="Authorization.username">healthcheck</stringProp>
607 <stringProp name="Authorization.password">zb!XztG34</stringProp>
608 <stringProp name="Authorization.domain"></stringProp>
609 <stringProp name="Authorization.realm"></stringProp>
612 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
615 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
616 <boolProp name="ResultCollector.error_logging">false</boolProp>
618 <name>saveConfig</name>
619 <value class="SampleSaveConfiguration">
621 <latency>true</latency>
622 <timestamp>true</timestamp>
623 <success>true</success>
626 <message>true</message>
627 <threadName>true</threadName>
628 <dataType>true</dataType>
629 <encoding>false</encoding>
630 <assertions>true</assertions>
631 <subresults>true</subresults>
632 <responseData>false</responseData>
633 <samplerData>false</samplerData>
635 <fieldNames>true</fieldNames>
636 <responseHeaders>false</responseHeaders>
637 <requestHeaders>false</requestHeaders>
638 <responseDataOnError>false</responseDataOnError>
639 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
640 <assertionsResultsToSave>0</assertionsResultsToSave>
642 <sentBytes>true</sentBytes>
644 <threadCounts>true</threadCounts>
645 <idleTime>true</idleTime>
646 <connectTime>true</connectTime>
649 <stringProp name="filename">/tmp/pdpx_perf_stats.log</stringProp>
653 <ThreadGroup guiclass="ThreadGroupGui" testclass="ThreadGroup" testname="XACML PDP Decisions" enabled="true">
654 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
655 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
656 <boolProp name="LoopController.continue_forever">false</boolProp>
657 <intProp name="LoopController.loops">-1</intProp>
659 <stringProp name="ThreadGroup.num_threads">${USERS}</stringProp>
660 <stringProp name="ThreadGroup.ramp_time">10</stringProp>
661 <boolProp name="ThreadGroup.scheduler">true</boolProp>
662 <stringProp name="ThreadGroup.duration">${DURATION}</stringProp>
663 <stringProp name="ThreadGroup.delay">1</stringProp>
666 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Monitoring Decisions" enabled="true">
667 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
668 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
669 <collectionProp name="Arguments.arguments">
670 <elementProp name="" elementType="HTTPArgument">
671 <boolProp name="HTTPArgument.always_encode">false</boolProp>
672 <stringProp name="Argument.value">{
673 "ONAPName": "DCAE",
674 "ONAPComponent": "PolicyHandler",
675 "ONAPInstance": "622431a4-9dea-4eae-b443-3b2164639c64",
676 "action": "configure",
677 "resource": {
678 "policy-id": "onap.scaleout.tca"
681 <stringProp name="Argument.metadata">=</stringProp>
685 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
686 <stringProp name="HTTPSampler.port">${PDP_PORT}</stringProp>
687 <stringProp name="HTTPSampler.protocol">https</stringProp>
688 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
689 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
690 <stringProp name="HTTPSampler.method">POST</stringProp>
691 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
692 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
693 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
694 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
695 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
696 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
697 <stringProp name="HTTPSampler.response_timeout"></stringProp>
698 <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp>
701 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
702 <collectionProp name="Asserion.test_strings">
703 <stringProp name="49586">200</stringProp>
705 <stringProp name="Assertion.custom_message"></stringProp>
706 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
707 <boolProp name="Assertion.assume_success">false</boolProp>
708 <intProp name="Assertion.test_type">1</intProp>
712 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Frequency Limiter Guard Decisions" enabled="true">
713 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
714 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
715 <collectionProp name="Arguments.arguments">
716 <elementProp name="" elementType="HTTPArgument">
717 <boolProp name="HTTPArgument.always_encode">false</boolProp>
718 <stringProp name="Argument.value">{
719 "ONAPName": "Policy",
720 "ONAPComponent": "drools-pdp",
721 "ONAPInstance": "usecase-template",
722 "requestId": "unique-request-id-1",
723 "action": "guard",
724 "resource": {
725 "guard": {
726 "actor": "SO",
727 "recipe": "scaleOut",
728 "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
729 "target": "vLoadBalancer-00"
736 <stringProp name="Argument.metadata">=</stringProp>
740 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
741 <stringProp name="HTTPSampler.port">${PDP_PORT}</stringProp>
742 <stringProp name="HTTPSampler.protocol">https</stringProp>
743 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
744 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
745 <stringProp name="HTTPSampler.method">POST</stringProp>
746 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
747 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
748 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
749 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
750 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
751 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
752 <stringProp name="HTTPSampler.response_timeout"></stringProp>
753 <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp>
756 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
757 <collectionProp name="Asserion.test_strings">
758 <stringProp name="49586">200</stringProp>
760 <stringProp name="Assertion.custom_message"></stringProp>
761 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
762 <boolProp name="Assertion.assume_success">false</boolProp>
763 <intProp name="Assertion.test_type">1</intProp>
767 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Fetch Min/Max Guard Decisions" enabled="true">
768 <boolProp name="HTTPSampler.postBodyRaw">true</boolProp>
769 <elementProp name="HTTPsampler.Arguments" elementType="Arguments">
770 <collectionProp name="Arguments.arguments">
771 <elementProp name="" elementType="HTTPArgument">
772 <boolProp name="HTTPArgument.always_encode">false</boolProp>
773 <stringProp name="Argument.value">{
774 "ONAPName": "Policy",
775 "ONAPComponent": "drools-pdp",
776 "ONAPInstance": "usecase-template",
777 "requestId": "unique-request-id-1",
778 "action": "guard",
779 "resource": {
780 "guard": {
781 "actor": "SO",
782 "recipe": "scaleOut",
783 "clname": "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3",
784 "target": "vLoadBalancer-00",
785 "vfCount": "1"
789 <stringProp name="Argument.metadata">=</stringProp>
793 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
794 <stringProp name="HTTPSampler.port">${PDP_PORT}</stringProp>
795 <stringProp name="HTTPSampler.protocol">https</stringProp>
796 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
797 <stringProp name="HTTPSampler.path">policy/pdpx/v1/decision</stringProp>
798 <stringProp name="HTTPSampler.method">POST</stringProp>
799 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
800 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
801 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
802 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
803 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
804 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
805 <stringProp name="HTTPSampler.response_timeout"></stringProp>
806 <stringProp name="TestPlan.comments">Get Configuration Data for Monitoring Policy</stringProp>
809 <ResponseAssertion guiclass="AssertionGui" testclass="ResponseAssertion" testname="Response Assertion" enabled="true">
810 <collectionProp name="Asserion.test_strings">
811 <stringProp name="49586">200</stringProp>
813 <stringProp name="Assertion.custom_message"></stringProp>
814 <stringProp name="Assertion.test_field">Assertion.response_code</stringProp>
815 <boolProp name="Assertion.assume_success">false</boolProp>
816 <intProp name="Assertion.test_type">1</intProp>
820 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
821 <collectionProp name="AuthManager.auth_list">
822 <elementProp name="" elementType="Authorization">
823 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${PDP_PORT}/policy/pdpx/v1</stringProp>
824 <stringProp name="Authorization.username">healthcheck</stringProp>
825 <stringProp name="Authorization.password">zb!XztG34</stringProp>
826 <stringProp name="Authorization.domain"></stringProp>
827 <stringProp name="Authorization.realm"></stringProp>
830 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
833 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
834 <boolProp name="ResultCollector.error_logging">false</boolProp>
836 <name>saveConfig</name>
837 <value class="SampleSaveConfiguration">
839 <latency>true</latency>
840 <timestamp>true</timestamp>
841 <success>true</success>
844 <message>true</message>
845 <threadName>true</threadName>
846 <dataType>true</dataType>
847 <encoding>false</encoding>
848 <assertions>true</assertions>
849 <subresults>true</subresults>
850 <responseData>false</responseData>
851 <samplerData>false</samplerData>
853 <fieldNames>true</fieldNames>
854 <responseHeaders>false</responseHeaders>
855 <requestHeaders>false</requestHeaders>
856 <responseDataOnError>false</responseDataOnError>
857 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
858 <assertionsResultsToSave>0</assertionsResultsToSave>
860 <sentBytes>true</sentBytes>
862 <threadCounts>true</threadCounts>
863 <idleTime>true</idleTime>
864 <connectTime>true</connectTime>
867 <stringProp name="filename">/tmp/pdpx_perf_decisions.log</stringProp>
871 <PostThreadGroup guiclass="PostThreadGroupGui" testclass="PostThreadGroup" testname="tearDown Thread Group" enabled="true">
872 <stringProp name="ThreadGroup.on_sample_error">continue</stringProp>
873 <elementProp name="ThreadGroup.main_controller" elementType="LoopController" guiclass="LoopControlPanel" testclass="LoopController" testname="Loop Controller" enabled="true">
874 <boolProp name="LoopController.continue_forever">false</boolProp>
875 <stringProp name="LoopController.loops">1</stringProp>
877 <stringProp name="ThreadGroup.num_threads">1</stringProp>
878 <stringProp name="ThreadGroup.ramp_time">1</stringProp>
879 <boolProp name="ThreadGroup.scheduler">false</boolProp>
880 <stringProp name="ThreadGroup.duration"></stringProp>
881 <stringProp name="ThreadGroup.delay"></stringProp>
884 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Monitoring Policy" enabled="true">
885 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
886 <collectionProp name="Arguments.arguments"/>
888 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
889 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
890 <stringProp name="HTTPSampler.protocol">https</stringProp>
891 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
892 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/onap.scaleout.tca</stringProp>
893 <stringProp name="HTTPSampler.method">DELETE</stringProp>
894 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
895 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
896 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
897 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
898 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
899 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
900 <stringProp name="HTTPSampler.response_timeout"></stringProp>
903 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
904 <collectionProp name="AuthManager.auth_list">
905 <elementProp name="" elementType="Authorization">
906 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
907 <stringProp name="Authorization.username">healthcheck</stringProp>
908 <stringProp name="Authorization.password">zb!XztG34</stringProp>
909 <stringProp name="Authorization.domain"></stringProp>
910 <stringProp name="Authorization.realm"></stringProp>
913 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
917 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Min/Max Guard Policy" enabled="true">
918 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
919 <collectionProp name="Arguments.arguments"/>
921 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
922 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
923 <stringProp name="HTTPSampler.protocol">https</stringProp>
924 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
925 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.minmax.scaleout</stringProp>
926 <stringProp name="HTTPSampler.method">DELETE</stringProp>
927 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
928 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
929 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
930 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
931 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
932 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
933 <stringProp name="HTTPSampler.response_timeout"></stringProp>
936 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
937 <collectionProp name="AuthManager.auth_list">
938 <elementProp name="" elementType="Authorization">
939 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
940 <stringProp name="Authorization.username">healthcheck</stringProp>
941 <stringProp name="Authorization.password">zb!XztG34</stringProp>
942 <stringProp name="Authorization.domain"></stringProp>
943 <stringProp name="Authorization.realm"></stringProp>
946 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
950 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Undeploy Frequency Limiter Guard Policy" enabled="true">
951 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
952 <collectionProp name="Arguments.arguments"/>
954 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
955 <stringProp name="HTTPSampler.port">${PAP_PORT}</stringProp>
956 <stringProp name="HTTPSampler.protocol">https</stringProp>
957 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
958 <stringProp name="HTTPSampler.path">policy/pap/v1/pdps/policies/guard.frequency.scaleout</stringProp>
959 <stringProp name="HTTPSampler.method">DELETE</stringProp>
960 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
961 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
962 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
963 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
964 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
965 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
966 <stringProp name="HTTPSampler.response_timeout"></stringProp>
969 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
970 <collectionProp name="AuthManager.auth_list">
971 <elementProp name="" elementType="Authorization">
972 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${PAP_PORT}/policy/pap/v1</stringProp>
973 <stringProp name="Authorization.username">healthcheck</stringProp>
974 <stringProp name="Authorization.password">zb!XztG34</stringProp>
975 <stringProp name="Authorization.domain"></stringProp>
976 <stringProp name="Authorization.realm"></stringProp>
979 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
983 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Monitoring Policy" enabled="true">
984 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
985 <collectionProp name="Arguments.arguments"/>
987 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
988 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
989 <stringProp name="HTTPSampler.protocol">https</stringProp>
990 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
991 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.monitoring.cdap.tca.hi.lo.app/versions/1.0.0/policies/onap.scaleout.tca/versions/1.0.0</stringProp>
992 <stringProp name="HTTPSampler.method">DELETE</stringProp>
993 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
994 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
995 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
996 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
997 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
998 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
999 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1002 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1003 <collectionProp name="AuthManager.auth_list">
1004 <elementProp name="" elementType="Authorization">
1005 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1</stringProp>
1006 <stringProp name="Authorization.username">healthcheck</stringProp>
1007 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1008 <stringProp name="Authorization.domain"></stringProp>
1009 <stringProp name="Authorization.realm"></stringProp>
1012 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1016 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Min/Max Guard Policy" enabled="true">
1017 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1018 <collectionProp name="Arguments.arguments"/>
1020 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
1021 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1022 <stringProp name="HTTPSampler.protocol">https</stringProp>
1023 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1024 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.MinMax/versions/1.0.0/policies/guard.minmax.scaleout/versions/1.0.0</stringProp>
1025 <stringProp name="HTTPSampler.method">DELETE</stringProp>
1026 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1027 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1028 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1029 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1030 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1031 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1032 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1035 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1036 <collectionProp name="AuthManager.auth_list">
1037 <elementProp name="" elementType="Authorization">
1038 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1</stringProp>
1039 <stringProp name="Authorization.username">healthcheck</stringProp>
1040 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1041 <stringProp name="Authorization.domain"></stringProp>
1042 <stringProp name="Authorization.realm"></stringProp>
1045 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1049 <HTTPSamplerProxy guiclass="HttpTestSampleGui" testclass="HTTPSamplerProxy" testname="Delete Frequency Limiter Guard Policy" enabled="true">
1050 <elementProp name="HTTPsampler.Arguments" elementType="Arguments" guiclass="HTTPArgumentsPanel" testclass="Arguments" testname="User Defined Variables" enabled="true">
1051 <collectionProp name="Arguments.arguments"/>
1053 <stringProp name="HTTPSampler.domain">${POLICY_PDPX_HOST}</stringProp>
1054 <stringProp name="HTTPSampler.port">${API_PORT}</stringProp>
1055 <stringProp name="HTTPSampler.protocol">https</stringProp>
1056 <stringProp name="HTTPSampler.contentEncoding"></stringProp>
1057 <stringProp name="HTTPSampler.path">policy/api/v1/policytypes/onap.policies.controlloop.guard.FrequencyLimiter/versions/1.0.0/policies/guard.frequency.scaleout/versions/1.0.0</stringProp>
1058 <stringProp name="HTTPSampler.method">DELETE</stringProp>
1059 <boolProp name="HTTPSampler.follow_redirects">true</boolProp>
1060 <boolProp name="HTTPSampler.auto_redirects">false</boolProp>
1061 <boolProp name="HTTPSampler.use_keepalive">true</boolProp>
1062 <boolProp name="HTTPSampler.DO_MULTIPART_POST">false</boolProp>
1063 <stringProp name="HTTPSampler.embedded_url_re"></stringProp>
1064 <stringProp name="HTTPSampler.connect_timeout"></stringProp>
1065 <stringProp name="HTTPSampler.response_timeout"></stringProp>
1068 <AuthManager guiclass="AuthPanel" testclass="AuthManager" testname="HTTP Authorization Manager" enabled="true">
1069 <collectionProp name="AuthManager.auth_list">
1070 <elementProp name="" elementType="Authorization">
1071 <stringProp name="Authorization.url">https://${POLICY_PDPX_HOST}:${API_PORT}/policy/api/v1</stringProp>
1072 <stringProp name="Authorization.username">healthcheck</stringProp>
1073 <stringProp name="Authorization.password">zb!XztG34</stringProp>
1074 <stringProp name="Authorization.domain"></stringProp>
1075 <stringProp name="Authorization.realm"></stringProp>
1078 <boolProp name="AuthManager.clearEachIteration">true</boolProp>
1082 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1083 <boolProp name="ResultCollector.error_logging">false</boolProp>
1085 <name>saveConfig</name>
1086 <value class="SampleSaveConfiguration">
1088 <latency>true</latency>
1089 <timestamp>true</timestamp>
1090 <success>true</success>
1093 <message>true</message>
1094 <threadName>true</threadName>
1095 <dataType>true</dataType>
1096 <encoding>false</encoding>
1097 <assertions>true</assertions>
1098 <subresults>true</subresults>
1099 <responseData>false</responseData>
1100 <samplerData>false</samplerData>
1102 <fieldNames>true</fieldNames>
1103 <responseHeaders>false</responseHeaders>
1104 <requestHeaders>false</requestHeaders>
1105 <responseDataOnError>false</responseDataOnError>
1106 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1107 <assertionsResultsToSave>0</assertionsResultsToSave>
1109 <sentBytes>true</sentBytes>
1111 <threadCounts>true</threadCounts>
1112 <idleTime>true</idleTime>
1113 <connectTime>true</connectTime>
1116 <stringProp name="filename">/tmp/pdpx_perf_teardown.log</stringProp>
1120 <ResultCollector guiclass="SummaryReport" testclass="ResultCollector" testname="Summary Report" enabled="true">
1121 <boolProp name="ResultCollector.error_logging">false</boolProp>
1123 <name>saveConfig</name>
1124 <value class="SampleSaveConfiguration">
1126 <latency>true</latency>
1127 <timestamp>true</timestamp>
1128 <success>true</success>
1131 <message>true</message>
1132 <threadName>true</threadName>
1133 <dataType>true</dataType>
1134 <encoding>false</encoding>
1135 <assertions>true</assertions>
1136 <subresults>true</subresults>
1137 <responseData>false</responseData>
1138 <samplerData>false</samplerData>
1140 <fieldNames>true</fieldNames>
1141 <responseHeaders>false</responseHeaders>
1142 <requestHeaders>false</requestHeaders>
1143 <responseDataOnError>false</responseDataOnError>
1144 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1145 <assertionsResultsToSave>0</assertionsResultsToSave>
1147 <sentBytes>true</sentBytes>
1149 <threadCounts>true</threadCounts>
1150 <idleTime>true</idleTime>
1151 <connectTime>true</connectTime>
1154 <stringProp name="filename">/tmp/pdpx_perf_summaryReport.log</stringProp>
1155 <boolProp name="useGroupName">true</boolProp>
1158 <ResultCollector guiclass="ViewResultsFullVisualizer" testclass="ResultCollector" testname="View Results Tree" enabled="true">
1159 <boolProp name="ResultCollector.error_logging">false</boolProp>
1161 <name>saveConfig</name>
1162 <value class="SampleSaveConfiguration">
1164 <latency>true</latency>
1165 <timestamp>true</timestamp>
1166 <success>true</success>
1169 <message>true</message>
1170 <threadName>true</threadName>
1171 <dataType>true</dataType>
1172 <encoding>false</encoding>
1173 <assertions>true</assertions>
1174 <subresults>true</subresults>
1175 <responseData>false</responseData>
1176 <samplerData>false</samplerData>
1178 <fieldNames>true</fieldNames>
1179 <responseHeaders>false</responseHeaders>
1180 <requestHeaders>false</requestHeaders>
1181 <responseDataOnError>false</responseDataOnError>
1182 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1183 <assertionsResultsToSave>0</assertionsResultsToSave>
1185 <sentBytes>true</sentBytes>
1187 <threadCounts>true</threadCounts>
1188 <idleTime>true</idleTime>
1189 <connectTime>true</connectTime>
1192 <stringProp name="filename">/tmp/pdpx_perf_resultsTree.log</stringProp>
1195 <ResultCollector guiclass="TableVisualizer" testclass="ResultCollector" testname="View Results in Table" enabled="true">
1196 <boolProp name="ResultCollector.error_logging">false</boolProp>
1198 <name>saveConfig</name>
1199 <value class="SampleSaveConfiguration">
1201 <latency>true</latency>
1202 <timestamp>true</timestamp>
1203 <success>true</success>
1206 <message>true</message>
1207 <threadName>true</threadName>
1208 <dataType>true</dataType>
1209 <encoding>false</encoding>
1210 <assertions>true</assertions>
1211 <subresults>true</subresults>
1212 <responseData>false</responseData>
1213 <samplerData>false</samplerData>
1215 <fieldNames>true</fieldNames>
1216 <responseHeaders>false</responseHeaders>
1217 <requestHeaders>false</requestHeaders>
1218 <responseDataOnError>false</responseDataOnError>
1219 <saveAssertionResultsFailureMessage>true</saveAssertionResultsFailureMessage>
1220 <assertionsResultsToSave>0</assertionsResultsToSave>
1222 <sentBytes>true</sentBytes>
1224 <threadCounts>true</threadCounts>
1225 <idleTime>true</idleTime>
1226 <connectTime>true</connectTime>
1229 <stringProp name="filename">/tmp/pdpx_perf_resultsTable.log</stringProp>