From 025301d08b061482c1f046d562bf017c8cbcfe8d Mon Sep 17 00:00:00 2001 From: ChrisC Date: Tue, 31 Jan 2017 11:40:03 +0100 Subject: Initial OpenECOMP MSO commit Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC --- .../src/test/resources/JMeter/MSO-Perf.jmx | 866 +++++++++++++++++++++ 1 file changed, 866 insertions(+) create mode 100644 packages/arquillian-unit-tests/src/test/resources/JMeter/MSO-Perf.jmx (limited to 'packages/arquillian-unit-tests/src/test/resources/JMeter') diff --git a/packages/arquillian-unit-tests/src/test/resources/JMeter/MSO-Perf.jmx b/packages/arquillian-unit-tests/src/test/resources/JMeter/MSO-Perf.jmx new file mode 100644 index 0000000000..4d7e95ca4f --- /dev/null +++ b/packages/arquillian-unit-tests/src/test/resources/JMeter/MSO-Perf.jmx @@ -0,0 +1,866 @@ + + + + + + false + false + + + + + + + + + + MSO_HOST + localhost + The host/ip where to send the MSO queries + = + + + MSO_PORT + 18080 + The port where to send the mso queries + = + + + USER_CSI + CSIClient + The csi queriy user to use + = + + + PASSWORD_CSI + password1$ + The csi query password to use + = + + + USER_GUI + GUIClient + The gui queriy user to use + = + + + PASSWORD_GUI + password1$ + The gui query password to use + = + + + + + + + + http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v1/services/ + ${USER_CSI} + ${PASSWORD_CSI} + + + + + http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v2/services/features/ + ${USER_GUI} + ${PASSWORD_GUI} + + + + + http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v1/requests/services/ + ${USER_GUI} + ${PASSWORD_GUI} + + + + + http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v1/requests/services/features + ${USER_GUI} + ${PASSWORD_GUI} + + + + + http://${MSO_HOST}:${MSO_PORT}/ecomp/mso/v1/requests/ + ${USER_GUI} + ${PASSWORD_GUI} + + + + + + + + continue + + false + 1000 + + 1 + 60 + 1448375429000 + 1448375429000 + false + + + + + + 0 + + 1 + REQUEST_ID + + false + + + + 0 + + 1 + SERVICE_ID + + false + + + + 0 + + 1 + FEATURE_ID + + false + + + + true + + + + false + <service-request xmlns="http://ecomp.att.com/mso/request/layer3serviceactivate/schema/v1" xmlns:msolayer3="http://ecomp.att.com/mso/request/layer3/schema/v1" xmlns:msoservtypes="http://ecomp.att.com/mso/request/types/v1"> +<msoservtypes:request-information> +<msoservtypes:request-id>test${REQUEST_ID}-service</msoservtypes:request-id> +<msoservtypes:request-action>Layer3ServiceActivateRequest</msoservtypes:request-action> +<msoservtypes:source>OMX</msoservtypes:source> +<msoservtypes:notification-url>https://csi-tst-q22.it.att.com:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws</msoservtypes:notification-url> +<msoservtypes:order-number>5051560</msoservtypes:order-number> +<msoservtypes:order-version>1</msoservtypes:order-version> +</msoservtypes:request-information> +<msoservtypes:service-information> +<msoservtypes:service-type>SDN-ETHERNET-INTERNET</msoservtypes:service-type> +<msoservtypes:service-instance-id>serv-id${SERVICE_ID}</msoservtypes:service-instance-id> +<msoservtypes:subscriber-name>ST E2E Test50565_13000050565</msoservtypes:subscriber-name> +</msoservtypes:service-information> +<service-parameters> +<msolayer3:l2-homing-information> +<msolayer3:evc-name>AS/VLXM/003717//SW</msolayer3:evc-name> +<msolayer3:topology>MultiPoint</msolayer3:topology> +<msolayer3:preferred-aic-clli>MTSNJA4LCP1</msolayer3:preferred-aic-clli> +</msolayer3:l2-homing-information> +<msolayer3:internet-service-information> +<msolayer3:internet-evc-access-information> +<msolayer3:internet-evc-speed-value>8</msolayer3:internet-evc-speed-value> +<msolayer3:internet-evc-speed-units>Mbps</msolayer3:internet-evc-speed-units> +<msolayer3:ip-version>ds</msolayer3:ip-version> +</msolayer3:internet-evc-access-information> +<msolayer3:vr-lan> +<msolayer3:routing-protocol>none</msolayer3:routing-protocol> +<msolayer3:vr-lan-interface> +<msolayer3:vr-designation>primary</msolayer3:vr-designation> +<msolayer3:v4-vr-lan-prefix>10.172.125.0</msolayer3:v4-vr-lan-prefix> +<msolayer3:v4-vr-lan-prefix-length>28</msolayer3:v4-vr-lan-prefix-length> +<msolayer3:v6-vr-lan-prefix>2001:112a:86c6:0045:1007:8a5d:0412:9179</msolayer3:v6-vr-lan-prefix> +<msolayer3:v6-vr-lan-prefix-length>64</msolayer3:v6-vr-lan-prefix-length> +<msolayer3:v4-public-lan-prefixes> +<msolayer3:t-provided-v4-lan-public-prefixes> +<msolayer3:request-index>1</msolayer3:request-index> +<msolayer3:v4-lan-public-prefix>18.181.120.12</msolayer3:v4-lan-public-prefix> +<msolayer3:v4-lan-public-prefix-length>28</msolayer3:v4-lan-public-prefix-length> +</msolayer3:t-provided-v4-lan-public-prefixes> +</msolayer3:v4-public-lan-prefixes> +<msolayer3:v6-public-lan-prefixes> +<msolayer3:t-provided-v6-lan-public-prefixes> +<msolayer3:request-index>1</msolayer3:request-index> +<msolayer3:v6-lan-public-prefix>2022:0cf7:87a6:0048:1008:8a4c:0373:1048</msolayer3:v6-lan-public-prefix> +<msolayer3:v6-lan-public-prefix-length>64</msolayer3:v6-lan-public-prefix-length> +</msolayer3:t-provided-v6-lan-public-prefixes> +</msolayer3:v6-public-lan-prefixes> + +<msolayer3:dhcp> +<msolayer3:v4-dhcp-server-enabled>Y</msolayer3:v4-dhcp-server-enabled> +<msolayer3:v6-dhcp-server-enabled>Y</msolayer3:v6-dhcp-server-enabled> +<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> +<msolayer3:use-v6-default-pool>N</msolayer3:use-v6-default-pool> +</msolayer3:dhcp> +<msolayer3:pat> +<msolayer3:v4-pat-enabled>Y</msolayer3:v4-pat-enabled> +<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> +</msolayer3:pat> +<msolayer3:firewall-lite> +<msolayer3:stateful-firewall-lite-v4-enabled>Y</msolayer3:stateful-firewall-lite-v4-enabled> +<msolayer3:stateful-firewall-lite-v6-enabled>Y</msolayer3:stateful-firewall-lite-v6-enabled> +</msolayer3:firewall-lite> +</msolayer3:vr-lan-interface> +</msolayer3:vr-lan> +</msolayer3:internet-service-information> +</service-parameters> +</service-request> + = + + + + ${MSO_HOST} + ${MSO_PORT} + 10000 + 30000 + + UTF-8 + /ecomp/mso/v1/services/ + POST + false + false + true + false + HttpClient4 + false + + + + + + + false + if (prev.getResponseCode().equals("500") == true) { + prev.setResponseOK(); + + /* the same is + prev.setSuccessful(true); + prev.setResponseCodeOK(); + prev.setResponseMessageOK(); + */ +} + + + + + true + + + + false + <feature-request + xmlns="http://ecomp.att.com/mso/request/layer3serviceactivate/schema/v1" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:msolayer3="http://ecomp.att.com/mso/request/layer3/schema/v1" + xmlns:msoservtypes="http://ecomp.att.com/mso/request/types/v1"> + <msoservtypes:request-information> + <msoservtypes:request-id>test${REQUEST_ID}-feature</msoservtypes:request-id> + <msoservtypes:request-action>ChangeFeatureActivateRequest</msoservtypes:request-action> + <msoservtypes:source>OMX</msoservtypes:source> + <msoservtypes:notification-url>https://csi-tst-q22.it.att.com:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws</msoservtypes:notification-url> + <msoservtypes:order-number>5051560</msoservtypes:order-number> + <msoservtypes:order-version>1</msoservtypes:order-version> + </msoservtypes:request-information> + <msoservtypes:service-information> + <msoservtypes:service-type>SDN-ETHERNET-INTERNET</msoservtypes:service-type> + <msoservtypes:service-instance-id>serv-id${SERVICE_ID}</msoservtypes:service-instance-id> + <msoservtypes:subscriber-name>ST E2E Test50565_13000050565</msoservtypes:subscriber-name> + </msoservtypes:service-information> + <msoservtypes:feature-information> + <msoservtypes:feature-type>FIREWALL-LITE</msoservtypes:feature-type> + <msoservtypes:feature-instance-id>feature-id${FEATURE_ID}</msoservtypes:feature-instance-id> + <msoservtypes:feature-yang-model>ST E2E Test50565_13000050565</msoservtypes:feature-yang-model> + </msoservtypes:feature-information> + </feature-request> + + = + + + + ${MSO_HOST} + ${MSO_PORT} + 10000 + 30000 + + UTF-8 + /ecomp/mso/v2/services/features/ + POST + false + false + true + false + HttpClient4 + false + + + + + + + false + if (prev.getResponseCode().equals("500") == true) { + prev.setResponseOK(); + + /* the same is + prev.setSuccessful(true); + prev.setResponseCodeOK(); + prev.setResponseMessageOK(); + */ +} + + + + + + + + ${MSO_HOST} + ${MSO_PORT} + 10000 + 30000 + + UTF-8 + /ecomp/mso/v1/requests/test${REQUEST_ID}-service + GET + false + false + true + false + HttpClient4 + false + + + + + + + + ${MSO_HOST} + ${MSO_PORT} + 10000 + 30000 + + UTF-8 + /ecomp/mso/v1/requests/test${REQUEST_ID}-feature + GET + false + false + true + false + HttpClient4 + false + + + + + + + + ${MSO_HOST} + ${MSO_PORT} + 10000 + 30000 + + UTF-8 + /ecomp/mso/v1/requests/services/serv-id${SERVICE_ID} + GET + false + false + true + false + HttpClient4 + false + + + + + + + + ${MSO_HOST} + ${MSO_PORT} + 10000 + 30000 + + UTF-8 + /ecomp/mso/v1/requests/services/features/feature-id${FEATURE_ID} + GET + false + false + true + false + HttpClient4 + false + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + true + + + + true + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + true + false + false + false + false + false + 0 + true + true + + + /tmp/mso-perf.jtl + true + + + + + continue + + false + 1 + + 1 + 60 + 1448375429000 + 1448375429000 + false + + + + + + 0 + + 1 + SERVICE_ID + + false + + + + true + + + + false + <service-request xmlns="http://ecomp.att.com/mso/request/layer3serviceactivate/schema/v1" xmlns:msolayer3="http://ecomp.att.com/mso/request/layer3/schema/v1" xmlns:msoservtypes="http://ecomp.att.com/mso/request/types/v1"> +<msoservtypes:request-information> +<msoservtypes:request-id>test${SERVICE_ID}-service</msoservtypes:request-id> +<msoservtypes:request-action>Layer3ServiceActivateRequest</msoservtypes:request-action> +<msoservtypes:source>OMX</msoservtypes:source> +<msoservtypes:notification-url>https://csi-tst-q22.it.att.com:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws</msoservtypes:notification-url> +<msoservtypes:order-number>5051560</msoservtypes:order-number> +<msoservtypes:order-version>1</msoservtypes:order-version> +</msoservtypes:request-information> +<msoservtypes:service-information> +<msoservtypes:service-type>SDN-ETHERNET-INTERNET</msoservtypes:service-type> +<msoservtypes:service-instance-id>serv-id0</msoservtypes:service-instance-id> +<msoservtypes:subscriber-name>ST E2E Test50565_13000050565</msoservtypes:subscriber-name> +</msoservtypes:service-information> +<service-parameters> +<msolayer3:l2-homing-information> +<msolayer3:evc-name>AS/VLXM/003717//SW</msolayer3:evc-name> +<msolayer3:topology>MultiPoint</msolayer3:topology> +<msolayer3:preferred-aic-clli>MTSNJA4LCP1</msolayer3:preferred-aic-clli> +</msolayer3:l2-homing-information> +<msolayer3:internet-service-information> +<msolayer3:internet-evc-access-information> +<msolayer3:internet-evc-speed-value>8</msolayer3:internet-evc-speed-value> +<msolayer3:internet-evc-speed-units>Mbps</msolayer3:internet-evc-speed-units> +<msolayer3:ip-version>ds</msolayer3:ip-version> +</msolayer3:internet-evc-access-information> +<msolayer3:vr-lan> +<msolayer3:routing-protocol>none</msolayer3:routing-protocol> +<msolayer3:vr-lan-interface> +<msolayer3:vr-designation>primary</msolayer3:vr-designation> +<msolayer3:v4-vr-lan-prefix>10.172.125.0</msolayer3:v4-vr-lan-prefix> +<msolayer3:v4-vr-lan-prefix-length>28</msolayer3:v4-vr-lan-prefix-length> +<msolayer3:v6-vr-lan-prefix>2001:112a:86c6:0045:1007:8a5d:0412:9179</msolayer3:v6-vr-lan-prefix> +<msolayer3:v6-vr-lan-prefix-length>64</msolayer3:v6-vr-lan-prefix-length> +<msolayer3:v4-public-lan-prefixes> +<msolayer3:t-provided-v4-lan-public-prefixes> +<msolayer3:request-index>1</msolayer3:request-index> +<msolayer3:v4-lan-public-prefix>18.181.120.12</msolayer3:v4-lan-public-prefix> +<msolayer3:v4-lan-public-prefix-length>28</msolayer3:v4-lan-public-prefix-length> +</msolayer3:t-provided-v4-lan-public-prefixes> +</msolayer3:v4-public-lan-prefixes> +<msolayer3:v6-public-lan-prefixes> +<msolayer3:t-provided-v6-lan-public-prefixes> +<msolayer3:request-index>1</msolayer3:request-index> +<msolayer3:v6-lan-public-prefix>2022:0cf7:87a6:0048:1008:8a4c:0373:1048</msolayer3:v6-lan-public-prefix> +<msolayer3:v6-lan-public-prefix-length>64</msolayer3:v6-lan-public-prefix-length> +</msolayer3:t-provided-v6-lan-public-prefixes> +</msolayer3:v6-public-lan-prefixes> + +<msolayer3:dhcp> +<msolayer3:v4-dhcp-server-enabled>Y</msolayer3:v4-dhcp-server-enabled> +<msolayer3:v6-dhcp-server-enabled>Y</msolayer3:v6-dhcp-server-enabled> +<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> +<msolayer3:use-v6-default-pool>N</msolayer3:use-v6-default-pool> +</msolayer3:dhcp> +<msolayer3:pat> +<msolayer3:v4-pat-enabled>Y</msolayer3:v4-pat-enabled> +<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> +</msolayer3:pat> +<msolayer3:firewall-lite> +<msolayer3:stateful-firewall-lite-v4-enabled>Y</msolayer3:stateful-firewall-lite-v4-enabled> +<msolayer3:stateful-firewall-lite-v6-enabled>Y</msolayer3:stateful-firewall-lite-v6-enabled> +</msolayer3:firewall-lite> +</msolayer3:vr-lan-interface> +</msolayer3:vr-lan> +</msolayer3:internet-service-information> +</service-parameters> +</service-request> + = + + + + ${MSO_HOST} + ${MSO_PORT} + 10000 + 30000 + + UTF-8 + /ecomp/mso/v1/services/ + POST + false + false + true + false + HttpClient4 + false + + + + + true + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + true + + + + + + + + + + + + Select Statement + Store as String + + + + + + + continue + + false + 1 + + 1 + 60 + 1448375429000 + 1448375429000 + false + + + + + + 0 + + 1 + SERVICE_ID + + false + + + + true + + + + false + <service-request xmlns="http://ecomp.att.com/mso/request/layer3serviceactivate/schema/v1" xmlns:msolayer3="http://ecomp.att.com/mso/request/layer3/schema/v1" xmlns:msoservtypes="http://ecomp.att.com/mso/request/types/v1"> +<msoservtypes:request-information> +<msoservtypes:request-id>test${SERVICE_ID}-service</msoservtypes:request-id> +<msoservtypes:request-action>Layer3ServiceActivateRequest</msoservtypes:request-action> +<msoservtypes:source>OMX</msoservtypes:source> +<msoservtypes:notification-url>https://csi-tst-q22.it.att.com:22443/Services/com/cingular/csi/sdn/SendManagedNetworkStatusNotification.jws</msoservtypes:notification-url> +<msoservtypes:order-number>5051560</msoservtypes:order-number> +<msoservtypes:order-version>1</msoservtypes:order-version> +</msoservtypes:request-information> +<msoservtypes:service-information> +<msoservtypes:service-type>SDN-ETHERNET-INTERNET</msoservtypes:service-type> +<msoservtypes:service-instance-id>serv-id0</msoservtypes:service-instance-id> +<msoservtypes:subscriber-name>ST E2E Test50565_13000050565</msoservtypes:subscriber-name> +</msoservtypes:service-information> +<service-parameters> +<msolayer3:l2-homing-information> +<msolayer3:evc-name>AS/VLXM/003717//SW</msolayer3:evc-name> +<msolayer3:topology>MultiPoint</msolayer3:topology> +<msolayer3:preferred-aic-clli>MTSNJA4LCP1</msolayer3:preferred-aic-clli> +</msolayer3:l2-homing-information> +<msolayer3:internet-service-information> +<msolayer3:internet-evc-access-information> +<msolayer3:internet-evc-speed-value>8</msolayer3:internet-evc-speed-value> +<msolayer3:internet-evc-speed-units>Mbps</msolayer3:internet-evc-speed-units> +<msolayer3:ip-version>ds</msolayer3:ip-version> +</msolayer3:internet-evc-access-information> +<msolayer3:vr-lan> +<msolayer3:routing-protocol>none</msolayer3:routing-protocol> +<msolayer3:vr-lan-interface> +<msolayer3:vr-designation>primary</msolayer3:vr-designation> +<msolayer3:v4-vr-lan-prefix>10.172.125.0</msolayer3:v4-vr-lan-prefix> +<msolayer3:v4-vr-lan-prefix-length>28</msolayer3:v4-vr-lan-prefix-length> +<msolayer3:v6-vr-lan-prefix>2001:112a:86c6:0045:1007:8a5d:0412:9179</msolayer3:v6-vr-lan-prefix> +<msolayer3:v6-vr-lan-prefix-length>64</msolayer3:v6-vr-lan-prefix-length> +<msolayer3:v4-public-lan-prefixes> +<msolayer3:t-provided-v4-lan-public-prefixes> +<msolayer3:request-index>1</msolayer3:request-index> +<msolayer3:v4-lan-public-prefix>18.181.120.12</msolayer3:v4-lan-public-prefix> +<msolayer3:v4-lan-public-prefix-length>28</msolayer3:v4-lan-public-prefix-length> +</msolayer3:t-provided-v4-lan-public-prefixes> +</msolayer3:v4-public-lan-prefixes> +<msolayer3:v6-public-lan-prefixes> +<msolayer3:t-provided-v6-lan-public-prefixes> +<msolayer3:request-index>1</msolayer3:request-index> +<msolayer3:v6-lan-public-prefix>2022:0cf7:87a6:0048:1008:8a4c:0373:1048</msolayer3:v6-lan-public-prefix> +<msolayer3:v6-lan-public-prefix-length>64</msolayer3:v6-lan-public-prefix-length> +</msolayer3:t-provided-v6-lan-public-prefixes> +</msolayer3:v6-public-lan-prefixes> + +<msolayer3:dhcp> +<msolayer3:v4-dhcp-server-enabled>Y</msolayer3:v4-dhcp-server-enabled> +<msolayer3:v6-dhcp-server-enabled>Y</msolayer3:v6-dhcp-server-enabled> +<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> +<msolayer3:use-v6-default-pool>N</msolayer3:use-v6-default-pool> +</msolayer3:dhcp> +<msolayer3:pat> +<msolayer3:v4-pat-enabled>Y</msolayer3:v4-pat-enabled> +<msolayer3:use-v4-default-pool>N</msolayer3:use-v4-default-pool> +</msolayer3:pat> +<msolayer3:firewall-lite> +<msolayer3:stateful-firewall-lite-v4-enabled>Y</msolayer3:stateful-firewall-lite-v4-enabled> +<msolayer3:stateful-firewall-lite-v6-enabled>Y</msolayer3:stateful-firewall-lite-v6-enabled> +</msolayer3:firewall-lite> +</msolayer3:vr-lan-interface> +</msolayer3:vr-lan> +</msolayer3:internet-service-information> +</service-parameters> +</service-request> + = + + + + ${MSO_HOST} + ${MSO_PORT} + 10000 + 30000 + + UTF-8 + /ecomp/mso/v1/services/ + POST + false + false + true + false + HttpClient4 + false + + + + + true + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + true + + + + + + + false + + saveConfig + + + true + true + true + + true + true + true + true + false + true + true + false + false + false + false + false + false + false + false + 0 + true + true + + + + + + + + + + + + Select Statement + Store as String + + + + + + + + -- cgit 1.2.3-korg