Subscription Client Republish

Evaluate the sequence number in Notifications to detect lost Notifications. Use Republish to request missing Notifications.


Questions? Contact us
Generated: 22/11/2021 at 17:22:12 p.m.
Subscription Client Republish - 7 Test Cases
Test Case Id Test Type Keywords Test Case Description Test Requirements Expected Result

001

CTT Republish  Client establishes one active subscription. Use the CTT to increment the SequenceNumber by 1 within the Publish response.
Client specifies the retransmitSequenceNumber that it last used (send last NotificationMessage).
Note: CTT Script will need to be created such that only the first Publish response will be injected, not all subsequent responses.
Client correctly specifies the SubscriptionId and the SequenceNumber.

002

Republish  Client establishes one active subscription. Use the CTT to increment the SequenceNumber by 2 within the Publish response.
Client specifies the retransmitSequenceNumber that it last used (send last NotificationMessage).
Note: CTT Script will need to be created such that only the first Publish response will be injected, not all subsequent responses.
Client correctly specifies the SubscriptionId and the SequenceNumber using multiple calls to Republish.

003

Republish  Client establishes multiple active subscriptions. Use the CTT to increment the SequenceNumber by 1 within the Publish response, for one subscription.
Client specifies the retransmitSequenceNumber that it last used (send last NotificationMessage).
Note: CTT Script will need to be created such that only the first Publish response will be injected, not all subsequent responses.
Client correctly specifies the SubscriptionId and the SequenceNumber using multiple calls to Republish.

Err-001

CTT Republish  Randomly inject one of the following ServiceResult codes. Repeat this test several times each tmie varying the result
1. Bad_SubscriptionIdInvalid
2. Bad_MessageNotAvailable.
Client reports the error.

Err-002

CTT Republish  ServiceResult = Good, but clear the NotificationMessage collection.
Client handles the situation and then reports an error to the end-user.

Err-003

CTT Republish  ServiceResult = Good, but modify the sequenceNumber to use a previously acknowledged number.
Client handles the situation and then reports an error to the end-user.

Err-004

CTT Republish  Randomly inject one of the following code. Repeat this test several times each tmie varying the result
1. ServiceResult = Good, but the publishTime parameter uses a time in the future, i.e. Now + 1 day.
2.ServiceResult = Good, but the publishTime parameter uses a time in the
future, i.e. Now + 1 year.
Client logs and/or displays a warning message stating that it is receiving events from the future.