From 36e09e63f779b5ebec4391f1a444ef214850e2fe Mon Sep 17 00:00:00 2001 From: pawel Date: Mon, 1 Jun 2020 14:23:03 +0200 Subject: Add JMeter to performance tests environment Add influxdb as datasource, add JMeter with example test scenario Issue-ID: DCAEGEN2-608 Signed-off-by: Pawel Change-Id: I55656588d8c1f6f373fd3d04a52f39834a396c81 --- performanceTests/README.md | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) (limited to 'performanceTests/README.md') diff --git a/performanceTests/README.md b/performanceTests/README.md index 70e1e9b9..4b09ec66 100644 --- a/performanceTests/README.md +++ b/performanceTests/README.md @@ -7,10 +7,32 @@ This section describes how to configure VES Performance Tests environment on the First of all you have to change variable in file **ves/performanceTests/Makefile:** ``` +#Configuration for RKE RKE_NODE_USER_AND_HOSTNAME = @ RKE_PRIVATE_KEY = RKE_KUBECONFIG_FILE_PATH = + +#Configuration for JMeter +JMETER_VM_USER_AND_HOSTNAME = @ +JMETER_VM_PRIVATE_KEY = +``` +Secondly change ip (****) in file **ves/performanceTests/testScenario/test_scenario.jmx:** ``` +###Ves collector address + +30417 +https + +###Ves collector address + + https://:30417/eventListener/v7 + +### Influxdb address + + influxdbUrl + http://:30002/write?db=jmeter +``` + Important: Make sure you have entered the correct configuration path(**RKE_KUBECONFIG_FILE_PATH**), because it is necessary for kubectl to work properly on RKE over ssh. @@ -45,10 +67,14 @@ after saving changes VES Collector pod should restarted automatically ###Automatic configuration and run performance tests on RKE -In this step, the performance tests environment will be copied to your RKE node and Prometheus and Grafana will be deployed +In this step, the performance tests environment will be copied to your RKE node and Prometheus, Grafana and Influxdb will be deployed ``` make all ``` +###Run test scenario +``` +make run-jmeter +``` ### Step by step configuration performance tests on RKE ###1. Copy performance tests environment to RKE @@ -66,4 +92,16 @@ make clear-performanceTests ###4. Remove performance tests environment from RKE ``` make remove-performanceTests +``` +###5. Copy JMeter to VM +``` +make copy-jmeter +``` +###6. Run JMeter test scenario on VM +``` +make run-jmeter +``` +###7. Remove JMeter from VM +``` +make remove-jmeter ``` \ No newline at end of file -- cgit 1.2.3-korg