Test duration : 45.515s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.769s |
2020-11-30 21:37:58 |
2020-11-30 21:37:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-30 21:37:58 | ------------------------------------ 2020-11-30 21:37:58 | [Mutex] isItemNotified: node_hw0fdw0203:exists :: false 2020-11-30 21:37:58 | [Mutex] waiting for: [node_hw0fdw0203:create_node] 2020-11-30 21:37:58 | [Mutex] received everything. 2020-11-30 21:37:58 | [Mutex] isItemNotified: node_hw0fdw0203:create_node:success :: true 2020-11-30 21:37:58 | [Mutex] waiting for: [node_hw0fdw0203:subscribe_node] 2020-11-30 21:37:58 | [Mutex] received everything. 2020-11-30 21:37:58 | [Mutex] isItemNotified: node_hw0fdw0203:subscribe_node:success :: true 2020-11-30 21:37:58 | ===== publishing normal message (to online) 2020-11-30 21:37:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-30 21:37:58 | command: <data><node>node_hw0fdw0203</node><entry><content>content_tbkhcg0204</content></entry></data> 2020-11-30 21:37:58 | target: http://localhost:8088 2020-11-30 21:37:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-30 21:37:58 | entity: <data><node>node_hw0fdw0203</node><entry><content>content_tbkhcg0204</content></entry></data> 2020-11-30 21:37:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:37:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-30 21:37:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8763a628-3b73-49b3-a714-15519f2ba176</value></item-id></result> 2020-11-30 21:37:58 | contains: true 2020-11-30 21:37:58 | [Mutex] received everything. 2020-11-30 21:37:58 | [Mutex] isItemNotified: user_regularl4n4fl0202@test-domain.com:message:received:content_tbkhcg0204 :: true 2020-11-30 21:37:58 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-30 21:37:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-30 21:37:58 | command: <data><node>node_hw0fdw0203</node><expire-at>2020-12-01T05:37:53Z</expire-at><entry><content>content_i06hwm0205</content></entry></data> 2020-11-30 21:37:58 | target: http://localhost:8088 2020-11-30 21:37:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-30 21:37:58 | entity: <data><node>node_hw0fdw0203</node><expire-at>2020-12-01T05:37:53Z</expire-at><entry><content>content_i06hwm0205</content></entry></data> 2020-11-30 21:37:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:37:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-30 21:37:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8af7acaa-3267-40c8-b7aa-e50492c757eb</value></item-id></result> 2020-11-30 21:37:58 | contains: true 2020-11-30 21:37:58 | [Mutex] waiting for: [user_regularl4n4fl0202@test-domain.com:message:received:content_i06hwm0205] 2020-11-30 21:38:13 | [Mutex] timeout. Not received [user_regularl4n4fl0202@test-domain.com:message:received:content_i06hwm0205] 2020-11-30 21:38:13 | [Mutex] isItemNotified: user_regularl4n4fl0202@test-domain.com:message:received:content_i06hwm0205 :: false 2020-11-30 21:38:13 | ===== publishing normal message (to offline) 2020-11-30 21:38:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-30 21:38:13 | command: <data><node>node_hw0fdw0203</node><entry><content>content_ducc390206</content></entry></data> 2020-11-30 21:38:13 | target: http://localhost:8088 2020-11-30 21:38:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-30 21:38:13 | entity: <data><node>node_hw0fdw0203</node><entry><content>content_ducc390206</content></entry></data> 2020-11-30 21:38:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:38:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-30 21:38:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>56cd9f6f-db4d-40d7-b900-34e7ad0b62ca</value></item-id></result> 2020-11-30 21:38:13 | contains: true 2020-11-30 21:38:19 | [Mutex] waiting for: [user_regularl4n4fl0202@test-domain.com:message:received:content_ducc390206] 2020-11-30 21:38:19 | [Mutex] waiting for: [user_regularl4n4fl0202@test-domain.com:message:received:content_ducc390206] 2020-11-30 21:38:19 | [Mutex] received everything. 2020-11-30 21:38:19 | [Mutex] isItemNotified: user_regularl4n4fl0202@test-domain.com:message:received:content_ducc390206 :: true 2020-11-30 21:38:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-30 21:38:19 | [Mutex] received everything. 2020-11-30 21:38:19 | [Mutex] isItemNotified: node_hw0fdw0203:subscribe_node:success :: true 2020-11-30 21:38:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-30 21:38:19 | command: <data><node>node_hw0fdw0203</node><expire-at>2020-12-01T05:38:24Z</expire-at><entry><content>content_kj2bcp0207</content></entry></data> 2020-11-30 21:38:19 | target: http://localhost:8088 2020-11-30 21:38:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-30 21:38:19 | entity: <data><node>node_hw0fdw0203</node><expire-at>2020-12-01T05:38:24Z</expire-at><entry><content>content_kj2bcp0207</content></entry></data> 2020-11-30 21:38:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 05:38:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-30 21:38:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f48e4bfe-52cd-4a2d-95a1-214243ddb2c5</value></item-id></result> 2020-11-30 21:38:19 | contains: true 2020-11-30 21:38:27 | [Mutex] waiting for: [user_regularl4n4fl0202@test-domain.com:message:received:content_kj2bcp0207] 2020-11-30 21:38:42 | [Mutex] timeout. Not received [user_regularl4n4fl0202@test-domain.com:message:received:content_kj2bcp0207] 2020-11-30 21:38:42 | [Mutex] received everything. 2020-11-30 21:38:42 | [Mutex] isItemNotified: user_regularl4n4fl0202@test-domain.com:message:received:content_kj2bcp0207 :: false 2020-11-30 21:38:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kj2bcp0207 :: true |