Test duration : 45.444s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.676s |
2021-10-03 22:34:07 |
2021-10-03 22:34:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-03 22:34:07 | ------------------------------------ 2021-10-03 22:34:07 | [Mutex] isItemNotified: node_nmaebz0203:exists :: false 2021-10-03 22:34:07 | [Mutex] waiting for: [node_nmaebz0203:create_node] 2021-10-03 22:34:07 | [Mutex] received everything. 2021-10-03 22:34:07 | [Mutex] isItemNotified: node_nmaebz0203:create_node:success :: true 2021-10-03 22:34:07 | [Mutex] waiting for: [node_nmaebz0203:subscribe_node] 2021-10-03 22:34:07 | [Mutex] waiting for: [node_nmaebz0203:subscribe_node] 2021-10-03 22:34:07 | [Mutex] received everything. 2021-10-03 22:34:07 | [Mutex] isItemNotified: node_nmaebz0203:subscribe_node:success :: true 2021-10-03 22:34:07 | ===== publishing normal message (to online) 2021-10-03 22:34:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-03 22:34:07 | command: <data><node>node_nmaebz0203</node><entry><content>content_b9s4qb0204</content></entry></data> 2021-10-03 22:34:07 | target: http://localhost:8088 2021-10-03 22:34:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-03 22:34:07 | entity: <data><node>node_nmaebz0203</node><entry><content>content_b9s4qb0204</content></entry></data> 2021-10-03 22:34:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:34:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-03 22:34:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f86a7f17-6063-41fa-8133-b4cc01c8c2db</value></item-id></result> 2021-10-03 22:34:07 | contains: true 2021-10-03 22:34:07 | [Mutex] received everything. 2021-10-03 22:34:07 | [Mutex] isItemNotified: user_regularrhly120202@test-domain.com:message:received:content_b9s4qb0204 :: true 2021-10-03 22:34:07 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-03 22:34:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-03 22:34:07 | command: <data><node>node_nmaebz0203</node><expire-at>2021-10-04T05:34:02Z</expire-at><entry><content>content_5b390v0205</content></entry></data> 2021-10-03 22:34:07 | target: http://localhost:8088 2021-10-03 22:34:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-03 22:34:07 | entity: <data><node>node_nmaebz0203</node><expire-at>2021-10-04T05:34:02Z</expire-at><entry><content>content_5b390v0205</content></entry></data> 2021-10-03 22:34:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:34:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-03 22:34:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6b275410-5fc6-40aa-858d-5b2d0ecb41f7</value></item-id></result> 2021-10-03 22:34:07 | contains: true 2021-10-03 22:34:07 | [Mutex] waiting for: [user_regularrhly120202@test-domain.com:message:received:content_5b390v0205] 2021-10-03 22:34:22 | [Mutex] timeout. Not received [user_regularrhly120202@test-domain.com:message:received:content_5b390v0205] 2021-10-03 22:34:22 | [Mutex] isItemNotified: user_regularrhly120202@test-domain.com:message:received:content_5b390v0205 :: false 2021-10-03 22:34:22 | ===== publishing normal message (to offline) 2021-10-03 22:34:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-03 22:34:22 | command: <data><node>node_nmaebz0203</node><entry><content>content_szc0yi0206</content></entry></data> 2021-10-03 22:34:22 | target: http://localhost:8088 2021-10-03 22:34:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-03 22:34:22 | entity: <data><node>node_nmaebz0203</node><entry><content>content_szc0yi0206</content></entry></data> 2021-10-03 22:34:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:34:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-03 22:34:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ded08fe0-e1ff-4581-ad02-fafd32d91ad5</value></item-id></result> 2021-10-03 22:34:22 | contains: true 2021-10-03 22:34:27 | [Mutex] waiting for: [user_regularrhly120202@test-domain.com:message:received:content_szc0yi0206] 2021-10-03 22:34:27 | [Mutex] waiting for: [user_regularrhly120202@test-domain.com:message:received:content_szc0yi0206] 2021-10-03 22:34:27 | [Mutex] received everything. 2021-10-03 22:34:27 | [Mutex] isItemNotified: user_regularrhly120202@test-domain.com:message:received:content_szc0yi0206 :: true 2021-10-03 22:34:27 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-03 22:34:27 | [Mutex] received everything. 2021-10-03 22:34:27 | [Mutex] isItemNotified: node_nmaebz0203:subscribe_node:success :: true 2021-10-03 22:34:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-03 22:34:27 | command: <data><node>node_nmaebz0203</node><expire-at>2021-10-04T05:34:32Z</expire-at><entry><content>content_hdb0240207</content></entry></data> 2021-10-03 22:34:27 | target: http://localhost:8088 2021-10-03 22:34:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-03 22:34:27 | entity: <data><node>node_nmaebz0203</node><expire-at>2021-10-04T05:34:32Z</expire-at><entry><content>content_hdb0240207</content></entry></data> 2021-10-03 22:34:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Oct 2021 05:34:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-03 22:34:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8d631fdf-07d1-48b8-a95c-9e9cb1ffb195</value></item-id></result> 2021-10-03 22:34:27 | contains: true 2021-10-03 22:34:35 | [Mutex] waiting for: [user_regularrhly120202@test-domain.com:message:received:content_hdb0240207] 2021-10-03 22:34:35 | [Mutex] waiting for: [user_regularrhly120202@test-domain.com:message:received:content_hdb0240207] 2021-10-03 22:34:50 | [Mutex] timeout. Not received [user_regularrhly120202@test-domain.com:message:received:content_hdb0240207] 2021-10-03 22:34:50 | [Mutex] received everything. 2021-10-03 22:34:50 | [Mutex] isItemNotified: user_regularrhly120202@test-domain.com:message:received:content_hdb0240207 :: false 2021-10-03 22:34:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hdb0240207 :: true |