diff options
author | Filip Krzywka <filip.krzywka@nokia.com> | 2018-12-18 10:10:06 +0100 |
---|---|---|
committer | Filip Krzywka <filip.krzywka@nokia.com> | 2019-01-03 08:36:41 +0000 |
commit | 88871ce8d9e069c7967734163c4406d78f91823d (patch) | |
tree | 39e1f60210c18658e821117dbf653d9097a41b23 /development/start-simulation.sh | |
parent | 3d3eff47f0f94176f351d05f7dca39957a0c3c8b (diff) |
Add script for sending messages from multiple xNFs
Change-Id: I9acd3278929c30a3036f97f403a31a8817723d27
Issue-ID: DCAEGEN2-1027
Signed-off-by: Filip Krzywka <filip.krzywka@nokia.com>
Diffstat (limited to 'development/start-simulation.sh')
-rwxr-xr-x | development/start-simulation.sh | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/development/start-simulation.sh b/development/start-simulation.sh deleted file mode 100755 index 6f38ea7b..00000000 --- a/development/start-simulation.sh +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/env bash -# TODO: Merge this file with bin/xnf-simulation.sh - -currentTimeMicros=$((`date +%s%N`/1000)) - -curl --header 'Content-Type: application/json' --request POST \ - --data '[ - { - "commonEventHeader": { - "version": "sample-version", - "domain": "perf3gpp", - "sequence": 1, - "priority": 1, - "eventId": "sample-event-id", - "eventName": "sample-event-name", - "eventType": "sample-event-type", - "startEpochMicrosec": 1545049703000000, - "lastEpochMicrosec": '$currentTimeMicros', - "nfNamingCode": "sample-nf-naming-code", - "nfcNamingCode": "sample-nfc-naming-code", - "reportingEntityId": "sample-reporting-entity-id", - "reportingEntityName": "sample-reporting-entity-name", - "sourceId": "sample-source-id", - "sourceName": "sample-source-name", - "vesEventListenerVersion": "7.2" - }, - "messageType": "VALID", - "messagesAmount": 1000000 - } - ]' \ - http://localhost:6062/simulator/async |