View Issue Details

IDProjectCategoryView StatusLast Update
0010136CTT UA Scripts1 - Script Issuepublic2025-06-03 01:54
ReporterSebastian Allmendinger Assigned ToSebastian Allmendinger  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Fixed in Version1.04.509 
Summary0010136: Subscription Minimum 02/020: CTT may send an empty DeleteMonitoredItemsRequest
Description

The test script creates the max supported number of MonitoredItems.
In order to revert the values to the orinial, it adds 2 TriggerItems to the array. The TriggerItems are not created as MonitoredItems in the server.

If the server provides the OperationLimit MaxMonitoredItemsPerCall and its number matches the max number of supported MonitoredItems, the CTT wants to split the DeleteMonitoredItemsRequest.
In the first request, all MonitoredItems are listed and he second request would only contain the TriggerItems. Before sending the request, the CTT automatically removes all nodes from the list, that are not created as MonitoredItems. As a result, the second request contains an empty list.

Additional Information

Sending an empty list is a valid error test case. Therefore either the test script should be updated and the other test scripts should be reviewed or the default behavior of the CTT must be updated and the Err-Testcases must be reviewed to ensure that an empty list is sent.

TagsNo tags attached.
Files Affected

/maintree/Subscription Services/Subscription Minimum 02/Test Cases/020.js

Activities

Sebastian Allmendinger

2025-05-31 09:35

developer   ~0022834

Instead of using one array for reverting the values and deleting the MonitoredItems, a new array is now created.
The array to revert the values contains all MonitoredItems and the used Event trigger variables.
The array to delete the MonitoredItems only contains all MonitoredItems.

Paul Hunkar

2025-06-03 01:54

administrator   ~0022864

after off-line code reviews all agreed to change, issue closed

Issue History

Date Modified Username Field Change
2025-02-04 10:26 Sebastian Allmendinger New Issue
2025-04-10 15:29 Paul Hunkar Assigned To => Sebastian Allmendinger
2025-04-10 15:29 Paul Hunkar Status new => assigned
2025-05-31 09:29 Sebastian Allmendinger Files Affected => /maintree/Subscription Services/Subscription Minimum 02/Test Cases/020.js
2025-05-31 09:35 Sebastian Allmendinger Status assigned => resolved
2025-05-31 09:35 Sebastian Allmendinger Resolution open => fixed
2025-05-31 09:35 Sebastian Allmendinger Note Added: 0022834
2025-06-03 01:54 Paul Hunkar Status resolved => closed
2025-06-03 01:54 Paul Hunkar Fixed in Version => 1.04.509
2025-06-03 01:54 Paul Hunkar Note Added: 0022864