Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Update data:

...

  • OpenJDK version 13.0.4, 2020-07-14
  • OpenJDK Runtime Environment (build 13.0.4+8-Ubuntu-120.04)
  • OpenJDK 64-Bit Server VM (build 13.0.4+8-Ubuntu-120.04, mixed mode)
  • java -XX:+PrintFlagsFinal -version > java-print-flags-final.txt


Test Results

CPS revision

Tested CPS from a master branch at state on  
representing the Honolulu 1.0.1 + DELETE ANCHOR functionality targeted for Istanbul release

Operation execution time

The operation per seconds was calculated as 1000/(exec time in millis).

...

Full dump of JVM flags is listed in attachment java-print-flags-final.txt


Test Application

Source

The source of test application is attachedcps-load-test-application.zip

...

Code Block
languagexml
titlecps/pom.xml
collapsetrue
...
    <modules>
        <module>cps-dependencies</module>
        <module>cps-bom</module>
        <module>cps-parent</module>
        <module>cps-service</module>
        <module>cps-rest</module>
        <module>cps-ncmp-service</module>
        <module>cps-ncmp-rest</module>
        <module>cps-ri</module>
        <module>checkstyle</module>
        <module>spotbugs</module>
        <module>cps-application</module>
        <!-- add following-line -->
        <module>cps-load-test-application</module>
    </modules>
...

Refresh the maven project. New module will appear as on screenshot below

...

Tests related configuration is allocated within cps-load-test-application/src/main/resources/application.yml in load-test section 
like below

Code Block
languageyml
titleapplication.yml
collapsetrue
load-test:
    preset:
        dataspace: test-dataspace
        schema-set: test-schema-set
        anchor-prefix: test-anchor-
    embedded:
        enabled: true
    remote:
        enabled: true
        # resources zip file is corrupted on build, so referencing original from resources
        resources-zip: src/main/resources/yang/network-topology.zip
        base-url: http://localhost:8883/cps/api/
        auth:
            username: ***
            password: ***
    # number of threads
    threads: 50
    # number of times the flow repeated within a thread
    circles: 20
    # thread termination timeout
    termination-timeout-seconds: 1200

spring:
...

...