...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
...
<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 | ||||||
---|---|---|---|---|---|---|
| ||||||
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: ... |
...