View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006715 | Compliance Test Tool (CTT) Unified Architecture | 1 - Script Issue | public | 2021-03-29 12:06 | 2021-05-27 15:46 |
Reporter | Etienne Rossignon | Assigned To | Sebastian Allmendinger | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | 1.04.09.396 | ||||
Fixed in Version | 1.03.341.399 | ||||
Summary | 0006715: Take into account maxNotificationPerPublish | ||||
Description | The CTT scripts dealing with a large number of monitored Items need to take into account the fact that the server may not send all the initial notification changes in a single PublishRequest due to the maxNotificiationPerPublish limit. At this time, most of the scripts assume that all monitored item initial change notification will be receive in the first PublishRequest. Instead we need to iterate and continue sending a PublishRequest until the moreNotification flags comes to false or we receive a KeepAlive Publish Response. (in createMonitoredItems591025 for instance ) | ||||
Additional Information | How I resolved it :
| ||||
Tags | No tags attached. | ||||
Files Affected | |||||
|
I am refering to maintree\Monitored Item Services\Monitor Value Change\Test Cases\015.js |
|
Need to review what test case 15 is actually testing, library function should not be updated (affects to many other scripts) |
|
A new library function "GetAllNotifications()" has been introduced that is part of the Publish service. The function can be called directly in the test scripts or as part of the Execute-function by setting the parameter "GetAllNotifications" to true. By default the received Notifications are pushed in the arrays like it is done if a single Publish has been issued. By setting the parameter AllNotificationsInCurrentArray, the Notifications, gained while MoreNotifications is set to true, are stored in the same Current... array and will be treatened like they were all received in a single response. In the test script (Monitored Item Services\Monitor Value Change\Test Cases\015.js) itself, only the new parameter in the Execute function are set. |
|
Reviewed code in CMP call, agreed to changes/updates, closed issue |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-03-29 12:06 | Etienne Rossignon | New Issue | |
2021-03-29 12:34 | Etienne Rossignon | Note Added: 0014103 | |
2021-04-01 15:54 | Paul Hunkar | Note Added: 0014161 | |
2021-04-01 15:54 | Paul Hunkar | Assigned To | => Alexander Allmendinger |
2021-04-01 15:54 | Paul Hunkar | Status | new => assigned |
2021-05-21 04:50 | Sebastian Allmendinger | Assigned To | Alexander Allmendinger => Sebastian Allmendinger |
2021-05-21 04:50 | Sebastian Allmendinger | Status | assigned => resolved |
2021-05-21 04:50 | Sebastian Allmendinger | Resolution | open => fixed |
2021-05-21 04:50 | Sebastian Allmendinger | Fixed in Version | => 1.03.341.399 |
2021-05-21 04:50 | Sebastian Allmendinger | Note Added: 0014415 | |
2021-05-27 15:46 | Paul Hunkar | Status | resolved => closed |
2021-05-27 15:46 | Paul Hunkar | Note Added: 0014433 |