Skip to content

Test Map Broadcast Rate Event

Ivan Yourshaw edited this page Mar 27, 2024 · 7 revisions

Test for MAP Broadcast Rate Events

Inputs

A series MAPs sent at with an interval varying between 500 ms and increasing to 1500 ms.

Output Topic

topic.CmMapBroadcastRateEvents

Test Script

Script: MAP_Validation.csv

Expected Output

Several events with both low and high numbers of messages.

Actual Output

Several events similar to:

Topic: topic.CmMapBroadcastRateEvents
Key: {"rsuId":"10.11.81.12","intersectionId":12109,"region":-1}
Offset: 13
Timestamp: 1711509489479
Value: 
{
	"eventGeneratedAt":1711509495761,
	"eventType":"MapBroadcastRate",
	"intersectionID":12109,
	"roadRegulatorID":-1,
	"topicName":"topic.ProcessedMap",
	"source":"{ rsuId='10.11.81.12', intersectionId='12109', region='-1'}",
	"timePeriod":{"beginTimestamp":1711509480000,"endTimestamp":1711509490000},
	"numberOfMessages":14
}
% Reached end of topic topic.CmMapBroadcastRateEvents [0] at offset 14

Topic: topic.CmMapBroadcastRateEvents
Key: {"rsuId":"10.11.81.12","intersectionId":12109,"region":-1}
Offset: 14
Timestamp: 1711509504109
Value: 
{
	"eventGeneratedAt":1711509510304,
	"eventType":"MapBroadcastRate",
	"intersectionID":12109,
	"roadRegulatorID":-1,
	"topicName":"topic.ProcessedMap",
	"source":"{ rsuId='10.11.81.12', intersectionId='12109', region='-1'}",
	"timePeriod":{"beginTimestamp":1711509495000,"endTimestamp":1711509505000},
	"numberOfMessages":7
}
% Reached end of topic topic.CmMapBroadcastRateEvents [0] at offset 15

Comments