Test duration : 45.175s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.709s |
2021-01-04 22:01:21 |
2021-01-04 22:01:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-04 22:01:21 | ------------------------------------ 2021-01-04 22:01:21 | [Mutex] isItemNotified: node_ch5r9e0203:exists :: false 2021-01-04 22:01:21 | [Mutex] waiting for: [node_ch5r9e0203:create_node] 2021-01-04 22:01:21 | [Mutex] received everything. 2021-01-04 22:01:21 | [Mutex] isItemNotified: node_ch5r9e0203:create_node:success :: true 2021-01-04 22:01:21 | [Mutex] waiting for: [node_ch5r9e0203:subscribe_node] 2021-01-04 22:01:21 | [Mutex] received everything. 2021-01-04 22:01:21 | [Mutex] isItemNotified: node_ch5r9e0203:subscribe_node:success :: true 2021-01-04 22:01:21 | ===== publishing normal message (to online) 2021-01-04 22:01:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-04 22:01:21 | command: <data><node>node_ch5r9e0203</node><entry><content>content_e7g1dx0204</content></entry></data> 2021-01-04 22:01:21 | target: http://localhost:8088 2021-01-04 22:01:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-04 22:01:21 | entity: <data><node>node_ch5r9e0203</node><entry><content>content_e7g1dx0204</content></entry></data> 2021-01-04 22:01:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 06:01:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-04 22:01:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0b747e6c-cf61-45ad-99c0-ed890e0c4205</value></item-id></result> 2021-01-04 22:01:21 | contains: true 2021-01-04 22:01:21 | [Mutex] received everything. 2021-01-04 22:01:21 | [Mutex] isItemNotified: user_regulart5w8pv0202@test-domain.com:message:received:content_e7g1dx0204 :: true 2021-01-04 22:01:21 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-04 22:01:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-04 22:01:21 | command: <data><node>node_ch5r9e0203</node><expire-at>2021-01-05T06:01:16Z</expire-at><entry><content>content_kaf0cx0205</content></entry></data> 2021-01-04 22:01:21 | target: http://localhost:8088 2021-01-04 22:01:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-04 22:01:21 | entity: <data><node>node_ch5r9e0203</node><expire-at>2021-01-05T06:01:16Z</expire-at><entry><content>content_kaf0cx0205</content></entry></data> 2021-01-04 22:01:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 06:01:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-04 22:01:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c0b32d0-2f3e-47c7-b860-25ae7d09b8cd</value></item-id></result> 2021-01-04 22:01:21 | contains: true 2021-01-04 22:01:21 | [Mutex] waiting for: [user_regulart5w8pv0202@test-domain.com:message:received:content_kaf0cx0205] 2021-01-04 22:01:36 | [Mutex] timeout. Not received [user_regulart5w8pv0202@test-domain.com:message:received:content_kaf0cx0205] 2021-01-04 22:01:36 | [Mutex] isItemNotified: user_regulart5w8pv0202@test-domain.com:message:received:content_kaf0cx0205 :: false 2021-01-04 22:01:36 | ===== publishing normal message (to offline) 2021-01-04 22:01:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-04 22:01:36 | command: <data><node>node_ch5r9e0203</node><entry><content>content_3cdgzp0206</content></entry></data> 2021-01-04 22:01:36 | target: http://localhost:8088 2021-01-04 22:01:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-04 22:01:36 | entity: <data><node>node_ch5r9e0203</node><entry><content>content_3cdgzp0206</content></entry></data> 2021-01-04 22:01:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 06:01:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-04 22:01:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>41967e05-b139-423d-b6bb-43b98742aec7</value></item-id></result> 2021-01-04 22:01:36 | contains: true 2021-01-04 22:01:42 | [Mutex] waiting for: [user_regulart5w8pv0202@test-domain.com:message:received:content_3cdgzp0206] 2021-01-04 22:01:42 | [Mutex] received everything. 2021-01-04 22:01:42 | [Mutex] isItemNotified: user_regulart5w8pv0202@test-domain.com:message:received:content_3cdgzp0206 :: true 2021-01-04 22:01:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-04 22:01:42 | [Mutex] received everything. 2021-01-04 22:01:42 | [Mutex] isItemNotified: node_ch5r9e0203:subscribe_node:success :: true 2021-01-04 22:01:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-04 22:01:42 | command: <data><node>node_ch5r9e0203</node><expire-at>2021-01-05T06:01:47Z</expire-at><entry><content>content_9i6cnq0207</content></entry></data> 2021-01-04 22:01:42 | target: http://localhost:8088 2021-01-04 22:01:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-04 22:01:42 | entity: <data><node>node_ch5r9e0203</node><expire-at>2021-01-05T06:01:47Z</expire-at><entry><content>content_9i6cnq0207</content></entry></data> 2021-01-04 22:01:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 05 Jan 2021 06:01:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-04 22:01:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c7adf48a-815b-4e1e-b05c-6dae8d989b68</value></item-id></result> 2021-01-04 22:01:42 | contains: true 2021-01-04 22:01:50 | [Mutex] waiting for: [user_regulart5w8pv0202@test-domain.com:message:received:content_9i6cnq0207] 2021-01-04 22:01:50 | [Mutex] waiting for: [user_regulart5w8pv0202@test-domain.com:message:received:content_9i6cnq0207] 2021-01-04 22:02:05 | [Mutex] timeout. Not received [user_regulart5w8pv0202@test-domain.com:message:received:content_9i6cnq0207] 2021-01-04 22:02:05 | [Mutex] received everything. 2021-01-04 22:02:05 | [Mutex] isItemNotified: user_regulart5w8pv0202@test-domain.com:message:received:content_9i6cnq0207 :: false 2021-01-04 22:02:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9i6cnq0207 :: true |