aboutsummaryrefslogtreecommitdiffstats
path: root/runSoak.sh
blob: 0769197130f59ed323ef64b56fc9424788c30239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash
INSTALL_DIR=/var/opt/OpenECOMP_ETE
#
# Execute tags built to support the hands on demo,
#
function usage
{
	echo "Usage: runSoak.sh [-p <filename> -d <seconds> -c <seconds>]"
	echo " "
	echo "       -p, --profile"
	echo "               - name of JSON file containing test profile"
	echo " "
	echo "       -d, --duration"
	echo "               - Duration of soak test (overrides value --profile)"
	echo " "
	echo "       -c, --cyclelength"
	echo "               - Time between starting iterations of profile"
	echo "                 If longer than total run time of a single iteration,"
	echo "                 additional wait is added before starting the next iteration."
	echo "                 Value has no effect if it is shorter than the total run time"
	echo "                 of a single iteration over the profile."
	echo "                 (overrides value in --profile)"
}


cd ${INSTALL_DIR}
export PYTHONPATH=${INSTALL_DIR}/robot/library
python -m loadtest.TestMain $@ --logfile /share/logs/soak_$$.log
n class="na">xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.onap.ccsdk.cds.blueprintsprocessor</groupId> <artifactId>modules-blueprints</artifactId> <version>1.1.0-SNAPSHOT</version> </parent> <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> <artifactId>blueprint-validation</artifactId> <name>MS Blueprints Processor Modules - Blueprints - Blueprints Validation Service</name> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> </dependency> <dependency> <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> <artifactId>blueprint-core</artifactId> </dependency> <dependency> <groupId>org.onap.ccsdk.cds.blueprintsprocessor.modules</groupId> <artifactId>resource-dict</artifactId> </dependency> <!--Testing dependencies--> <dependency> <groupId>org.jetbrains.kotlin</groupId> <artifactId>kotlin-test-junit</artifactId> </dependency> <dependency> <groupId>io.mockk</groupId> <artifactId>mockk</artifactId> </dependency> <dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-test</artifactId> </dependency> </dependencies> </project>