Test duration : 45.734s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.793s |
2021-01-03 21:30:50 |
2021-01-03 21:30:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-03 21:30:50 | ------------------------------------ 2021-01-03 21:30:50 | [Mutex] isItemNotified: node_tu6pfj0203:exists :: false 2021-01-03 21:30:50 | [Mutex] waiting for: [node_tu6pfj0203:create_node] 2021-01-03 21:30:50 | [Mutex] received everything. 2021-01-03 21:30:50 | [Mutex] isItemNotified: node_tu6pfj0203:create_node:success :: true 2021-01-03 21:30:50 | [Mutex] waiting for: [node_tu6pfj0203:subscribe_node] 2021-01-03 21:30:50 | [Mutex] waiting for: [node_tu6pfj0203:subscribe_node] 2021-01-03 21:30:50 | [Mutex] received everything. 2021-01-03 21:30:50 | [Mutex] isItemNotified: node_tu6pfj0203:subscribe_node:success :: true 2021-01-03 21:30:50 | ===== publishing normal message (to online) 2021-01-03 21:30:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 21:30:50 | command: <data><node>node_tu6pfj0203</node><entry><content>content_1vl0bd0204</content></entry></data> 2021-01-03 21:30:50 | target: http://localhost:8088 2021-01-03 21:30:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-03 21:30:50 | entity: <data><node>node_tu6pfj0203</node><entry><content>content_1vl0bd0204</content></entry></data> 2021-01-03 21:30:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:30:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 21:30:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8ff5eef8-3da1-48e0-aa76-0a650986b37f</value></item-id></result> 2021-01-03 21:30:50 | contains: true 2021-01-03 21:30:50 | [Mutex] received everything. 2021-01-03 21:30:50 | [Mutex] isItemNotified: user_regularomgr1w0202@test-domain.com:message:received:content_1vl0bd0204 :: true 2021-01-03 21:30:50 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-03 21:30:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 21:30:51 | command: <data><node>node_tu6pfj0203</node><expire-at>2021-01-04T05:30:45Z</expire-at><entry><content>content_yth96g0205</content></entry></data> 2021-01-03 21:30:51 | target: http://localhost:8088 2021-01-03 21:30:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-03 21:30:51 | entity: <data><node>node_tu6pfj0203</node><expire-at>2021-01-04T05:30:45Z</expire-at><entry><content>content_yth96g0205</content></entry></data> 2021-01-03 21:30:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:30:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 21:30:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ef1a29c8-6059-4727-98be-68c1d96e673b</value></item-id></result> 2021-01-03 21:30:51 | contains: true 2021-01-03 21:30:51 | [Mutex] waiting for: [user_regularomgr1w0202@test-domain.com:message:received:content_yth96g0205] 2021-01-03 21:31:06 | [Mutex] timeout. Not received [user_regularomgr1w0202@test-domain.com:message:received:content_yth96g0205] 2021-01-03 21:31:06 | [Mutex] isItemNotified: user_regularomgr1w0202@test-domain.com:message:received:content_yth96g0205 :: false 2021-01-03 21:31:06 | ===== publishing normal message (to offline) 2021-01-03 21:31:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 21:31:06 | command: <data><node>node_tu6pfj0203</node><entry><content>content_mmdgn30206</content></entry></data> 2021-01-03 21:31:06 | target: http://localhost:8088 2021-01-03 21:31:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-03 21:31:06 | entity: <data><node>node_tu6pfj0203</node><entry><content>content_mmdgn30206</content></entry></data> 2021-01-03 21:31:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:31:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 21:31:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d19d2b3f-b049-4000-bba0-3a948ea9208f</value></item-id></result> 2021-01-03 21:31:06 | contains: true 2021-01-03 21:31:11 | [Mutex] waiting for: [user_regularomgr1w0202@test-domain.com:message:received:content_mmdgn30206] 2021-01-03 21:31:11 | [Mutex] waiting for: [user_regularomgr1w0202@test-domain.com:message:received:content_mmdgn30206] 2021-01-03 21:31:11 | [Mutex] received everything. 2021-01-03 21:31:11 | [Mutex] isItemNotified: user_regularomgr1w0202@test-domain.com:message:received:content_mmdgn30206 :: true 2021-01-03 21:31:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-03 21:31:11 | [Mutex] received everything. 2021-01-03 21:31:11 | [Mutex] isItemNotified: node_tu6pfj0203:subscribe_node:success :: true 2021-01-03 21:31:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-03 21:31:11 | command: <data><node>node_tu6pfj0203</node><expire-at>2021-01-04T05:31:16Z</expire-at><entry><content>content_r27p1u0207</content></entry></data> 2021-01-03 21:31:11 | target: http://localhost:8088 2021-01-03 21:31:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-03 21:31:11 | entity: <data><node>node_tu6pfj0203</node><expire-at>2021-01-04T05:31:16Z</expire-at><entry><content>content_r27p1u0207</content></entry></data> 2021-01-03 21:31:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 04 Jan 2021 05:31:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-03 21:31:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7cf4658b-c658-4094-819d-214b4092fd64</value></item-id></result> 2021-01-03 21:31:11 | contains: true 2021-01-03 21:31:19 | [Mutex] waiting for: [user_regularomgr1w0202@test-domain.com:message:received:content_r27p1u0207] 2021-01-03 21:31:19 | [Mutex] waiting for: [user_regularomgr1w0202@test-domain.com:message:received:content_r27p1u0207] 2021-01-03 21:31:34 | [Mutex] timeout. Not received [user_regularomgr1w0202@test-domain.com:message:received:content_r27p1u0207] 2021-01-03 21:31:34 | [Mutex] received everything. 2021-01-03 21:31:34 | [Mutex] isItemNotified: user_regularomgr1w0202@test-domain.com:message:received:content_r27p1u0207 :: false 2021-01-03 21:31:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r27p1u0207 :: true |