Test duration : 45.106s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.754s |
2021-02-06 22:01:53 |
2021-02-06 22:01:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-02-06 22:01:53 | ------------------------------------ 2021-02-06 22:01:53 | [Mutex] isItemNotified: node_skyjws0203:exists :: false 2021-02-06 22:01:53 | [Mutex] waiting for: [node_skyjws0203:create_node] 2021-02-06 22:01:53 | [Mutex] received everything. 2021-02-06 22:01:53 | [Mutex] isItemNotified: node_skyjws0203:create_node:success :: true 2021-02-06 22:01:53 | [Mutex] waiting for: [node_skyjws0203:subscribe_node] 2021-02-06 22:01:53 | [Mutex] waiting for: [node_skyjws0203:subscribe_node] 2021-02-06 22:01:53 | [Mutex] received everything. 2021-02-06 22:01:53 | [Mutex] isItemNotified: node_skyjws0203:subscribe_node:success :: true 2021-02-06 22:01:53 | ===== publishing normal message (to online) 2021-02-06 22:01:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 22:01:53 | command: <data><node>node_skyjws0203</node><entry><content>content_f3bap0204</content></entry></data> 2021-02-06 22:01:53 | target: http://localhost:8088 2021-02-06 22:01:53 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-02-06 22:01:53 | entity: <data><node>node_skyjws0203</node><entry><content>content_f3bap0204</content></entry></data> 2021-02-06 22:01:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:01:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 22:01:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7576f606-f383-4bfa-a1d9-4ddbe29b02a8</value></item-id></result> 2021-02-06 22:01:53 | contains: true 2021-02-06 22:01:53 | [Mutex] waiting for: [user_regularhqw2zz0202@test-domain.com:message:received:content_f3bap0204] 2021-02-06 22:01:53 | [Mutex] received everything. 2021-02-06 22:01:53 | [Mutex] isItemNotified: user_regularhqw2zz0202@test-domain.com:message:received:content_f3bap0204 :: true 2021-02-06 22:01:53 | ===== publishing already old message - expecting message being filtered out (to online) 2021-02-06 22:01:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 22:01:53 | command: <data><node>node_skyjws0203</node><expire-at>2021-02-07T06:01:48Z</expire-at><entry><content>content_tl0h6r0205</content></entry></data> 2021-02-06 22:01:53 | target: http://localhost:8088 2021-02-06 22:01:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 22:01:53 | entity: <data><node>node_skyjws0203</node><expire-at>2021-02-07T06:01:48Z</expire-at><entry><content>content_tl0h6r0205</content></entry></data> 2021-02-06 22:01:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:01:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 22:01:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>03cb9e51-a22f-496f-930e-8b34f46f9fca</value></item-id></result> 2021-02-06 22:01:53 | contains: true 2021-02-06 22:01:53 | [Mutex] waiting for: [user_regularhqw2zz0202@test-domain.com:message:received:content_tl0h6r0205] 2021-02-06 22:02:08 | [Mutex] timeout. Not received [user_regularhqw2zz0202@test-domain.com:message:received:content_tl0h6r0205] 2021-02-06 22:02:08 | [Mutex] isItemNotified: user_regularhqw2zz0202@test-domain.com:message:received:content_tl0h6r0205 :: false 2021-02-06 22:02:08 | ===== publishing normal message (to offline) 2021-02-06 22:02:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 22:02:08 | command: <data><node>node_skyjws0203</node><entry><content>content_2ejf650206</content></entry></data> 2021-02-06 22:02:08 | target: http://localhost:8088 2021-02-06 22:02:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-02-06 22:02:08 | entity: <data><node>node_skyjws0203</node><entry><content>content_2ejf650206</content></entry></data> 2021-02-06 22:02:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:02:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 22:02:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3abe80ba-4735-491f-9204-f40f45771174</value></item-id></result> 2021-02-06 22:02:08 | contains: true 2021-02-06 22:02:13 | [Mutex] waiting for: [user_regularhqw2zz0202@test-domain.com:message:received:content_2ejf650206] 2021-02-06 22:02:13 | [Mutex] received everything. 2021-02-06 22:02:13 | [Mutex] isItemNotified: user_regularhqw2zz0202@test-domain.com:message:received:content_2ejf650206 :: true 2021-02-06 22:02:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-02-06 22:02:13 | [Mutex] received everything. 2021-02-06 22:02:13 | [Mutex] isItemNotified: node_skyjws0203:subscribe_node:success :: true 2021-02-06 22:02:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-02-06 22:02:13 | command: <data><node>node_skyjws0203</node><expire-at>2021-02-07T06:02:18Z</expire-at><entry><content>content_pc5xfa0207</content></entry></data> 2021-02-06 22:02:13 | target: http://localhost:8088 2021-02-06 22:02:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-02-06 22:02:13 | entity: <data><node>node_skyjws0203</node><expire-at>2021-02-07T06:02:18Z</expire-at><entry><content>content_pc5xfa0207</content></entry></data> 2021-02-06 22:02:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 07 Feb 2021 06:02:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-02-06 22:02:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>adb3ca55-29a6-47e6-8933-930062057789</value></item-id></result> 2021-02-06 22:02:14 | contains: true 2021-02-06 22:02:22 | [Mutex] waiting for: [user_regularhqw2zz0202@test-domain.com:message:received:content_pc5xfa0207] 2021-02-06 22:02:37 | [Mutex] timeout. Not received [user_regularhqw2zz0202@test-domain.com:message:received:content_pc5xfa0207] 2021-02-06 22:02:37 | [Mutex] received everything. 2021-02-06 22:02:37 | [Mutex] isItemNotified: user_regularhqw2zz0202@test-domain.com:message:received:content_pc5xfa0207 :: false 2021-02-06 22:02:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pc5xfa0207 :: true |