aboutsummaryrefslogtreecommitdiffstats
path: root/sanitycheck
diff options
context:
space:
mode:
Diffstat (limited to 'sanitycheck')
-rw-r--r--sanitycheck/README.md32
-rw-r--r--sanitycheck/events/eventToVes.json1
2 files changed, 17 insertions, 16 deletions
diff --git a/sanitycheck/README.md b/sanitycheck/README.md
index 9fb4929..ad5f3e3 100644
--- a/sanitycheck/README.md
+++ b/sanitycheck/README.md
@@ -14,39 +14,41 @@ You have to change the IP address in file events/vesAddressConfiguration.json
"vesServerUrl": "http://<IP_Address>:8080/eventListener/v7"
}
```
-and in file events/eventToVes.json
-
-```
-{
-"vesServerUrl": "http://<IP_Address>:8080/eventListener/v7",
-"event": { ...
-```
### 1. Build Projects
```
make start
```
-### 2. Send one event
+### 2. Reconfigure ves url
```
-make generate-event
+make reconfigure-ves-url
```
### 2.1 Check dmaap sim
+should return empty list
```
make check-dmaap
```
-### 3. Send few events:
-### 3.1 Reconfigure ves url
+### 3. Send one event
+### 3.1 Send events:
```
-make reconfigure-ves-url
+make generate-event
+```
+### 3.2 Check dmaap sim
+should return list containing 1 event
+```
+make check-dmaap
```
-### 3.2 Send events
+### 4. Send few events:
+### 4.1 Send events
+this will send 4 event with interval 1 second
```
make generate-multiple-events
```
-### 3.3 Check dmaap sim
+### 4.2 Check dmaap sim
+should return list containing 5 event (1 from point 3.1 and 4 from point 4.1)
```
make check-dmaap
```
-### 4. Clear environment
+### 5. Clear environment
```
make stop
```
diff --git a/sanitycheck/events/eventToVes.json b/sanitycheck/events/eventToVes.json
index 7299306..8d37f5a 100644
--- a/sanitycheck/events/eventToVes.json
+++ b/sanitycheck/events/eventToVes.json
@@ -1,5 +1,4 @@
{
- "vesServerUrl": "http://172.17.0.1:8080/eventListener/v7",
"event": {
"event": {
"commonEventHeader": {