Test duration : 45.606s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.619s |
2021-05-03 22:29:56 |
2021-05-03 22:29:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-03 22:29:56 | ------------------------------------ 2021-05-03 22:29:56 | [Mutex] isItemNotified: node_wfh5ti0203:exists :: false 2021-05-03 22:29:56 | [Mutex] waiting for: [node_wfh5ti0203:create_node] 2021-05-03 22:29:56 | [Mutex] received everything. 2021-05-03 22:29:56 | [Mutex] isItemNotified: node_wfh5ti0203:create_node:success :: true 2021-05-03 22:29:56 | [Mutex] waiting for: [node_wfh5ti0203:subscribe_node] 2021-05-03 22:29:56 | [Mutex] received everything. 2021-05-03 22:29:56 | [Mutex] isItemNotified: node_wfh5ti0203:subscribe_node:success :: true 2021-05-03 22:29:56 | ===== publishing normal message (to online) 2021-05-03 22:29:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:29:56 | command: <data><node>node_wfh5ti0203</node><entry><content>content_brt0l30204</content></entry></data> 2021-05-03 22:29:56 | target: http://localhost:8088 2021-05-03 22:29:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-03 22:29:56 | entity: <data><node>node_wfh5ti0203</node><entry><content>content_brt0l30204</content></entry></data> 2021-05-03 22:29:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:29:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:29:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5e8c26d5-418f-401c-818c-d8c73f4b81c1</value></item-id></result> 2021-05-03 22:29:56 | contains: true 2021-05-03 22:29:56 | [Mutex] received everything. 2021-05-03 22:29:56 | [Mutex] isItemNotified: user_regularzesrgr0202@test-domain.com:message:received:content_brt0l30204 :: true 2021-05-03 22:29:56 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-03 22:29:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:29:56 | command: <data><node>node_wfh5ti0203</node><expire-at>2021-05-04T05:29:51Z</expire-at><entry><content>content_dq4tg50205</content></entry></data> 2021-05-03 22:29:56 | target: http://localhost:8088 2021-05-03 22:29:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-03 22:29:56 | entity: <data><node>node_wfh5ti0203</node><expire-at>2021-05-04T05:29:51Z</expire-at><entry><content>content_dq4tg50205</content></entry></data> 2021-05-03 22:29:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:29:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:29:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d969a0d1-13c7-4d40-90be-27061258d9ba</value></item-id></result> 2021-05-03 22:29:56 | contains: true 2021-05-03 22:29:56 | [Mutex] waiting for: [user_regularzesrgr0202@test-domain.com:message:received:content_dq4tg50205] 2021-05-03 22:30:11 | [Mutex] timeout. Not received [user_regularzesrgr0202@test-domain.com:message:received:content_dq4tg50205] 2021-05-03 22:30:11 | [Mutex] isItemNotified: user_regularzesrgr0202@test-domain.com:message:received:content_dq4tg50205 :: false 2021-05-03 22:30:11 | ===== publishing normal message (to offline) 2021-05-03 22:30:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:30:11 | command: <data><node>node_wfh5ti0203</node><entry><content>content_l5p1qf0206</content></entry></data> 2021-05-03 22:30:11 | target: http://localhost:8088 2021-05-03 22:30:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-03 22:30:11 | entity: <data><node>node_wfh5ti0203</node><entry><content>content_l5p1qf0206</content></entry></data> 2021-05-03 22:30:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:30:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:30:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a5a821ab-ff69-4278-bf0c-546d52e0365d</value></item-id></result> 2021-05-03 22:30:11 | contains: true 2021-05-03 22:30:16 | [Mutex] waiting for: [user_regularzesrgr0202@test-domain.com:message:received:content_l5p1qf0206] 2021-05-03 22:30:16 | [Mutex] received everything. 2021-05-03 22:30:16 | [Mutex] isItemNotified: user_regularzesrgr0202@test-domain.com:message:received:content_l5p1qf0206 :: true 2021-05-03 22:30:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-03 22:30:16 | [Mutex] received everything. 2021-05-03 22:30:16 | [Mutex] isItemNotified: node_wfh5ti0203:subscribe_node:success :: true 2021-05-03 22:30:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:30:16 | command: <data><node>node_wfh5ti0203</node><expire-at>2021-05-04T05:30:21Z</expire-at><entry><content>content_yx14fz0207</content></entry></data> 2021-05-03 22:30:16 | target: http://localhost:8088 2021-05-03 22:30:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-03 22:30:16 | entity: <data><node>node_wfh5ti0203</node><expire-at>2021-05-04T05:30:21Z</expire-at><entry><content>content_yx14fz0207</content></entry></data> 2021-05-03 22:30:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:30:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:30:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>895a3017-2855-4e56-b098-7729695a7715</value></item-id></result> 2021-05-03 22:30:16 | contains: true 2021-05-03 22:30:24 | [Mutex] waiting for: [user_regularzesrgr0202@test-domain.com:message:received:content_yx14fz0207] 2021-05-03 22:30:39 | [Mutex] timeout. Not received [user_regularzesrgr0202@test-domain.com:message:received:content_yx14fz0207] 2021-05-03 22:30:39 | [Mutex] received everything. 2021-05-03 22:30:39 | [Mutex] isItemNotified: user_regularzesrgr0202@test-domain.com:message:received:content_yx14fz0207 :: false 2021-05-03 22:30:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_yx14fz0207 :: true |