Test duration : 45.147s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.737s |
2020-08-27 22:48:53 |
2020-08-27 22:48:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-27 22:48:53 | ------------------------------------ 2020-08-27 22:48:53 | [Mutex] isItemNotified: node_6o0d1u0203:exists :: false 2020-08-27 22:48:53 | [Mutex] waiting for: [node_6o0d1u0203:create_node] 2020-08-27 22:48:53 | [Mutex] received everything. 2020-08-27 22:48:53 | [Mutex] isItemNotified: node_6o0d1u0203:create_node:success :: true 2020-08-27 22:48:53 | [Mutex] waiting for: [node_6o0d1u0203:subscribe_node] 2020-08-27 22:48:53 | [Mutex] received everything. 2020-08-27 22:48:53 | [Mutex] isItemNotified: node_6o0d1u0203:subscribe_node:success :: true 2020-08-27 22:48:53 | ===== publishing normal message (to online) 2020-08-27 22:48:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:48:53 | command: <data><node>node_6o0d1u0203</node><entry><content>content_74wjli0204</content></entry></data> 2020-08-27 22:48:53 | target: http://localhost:8088 2020-08-27 22:48:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 22:48:53 | entity: <data><node>node_6o0d1u0203</node><entry><content>content_74wjli0204</content></entry></data> 2020-08-27 22:48:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:48:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:48:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5c27a8a0-23ab-4f6a-b1ed-f65cfe6fdcae</value></item-id></result> 2020-08-27 22:48:53 | contains: true 2020-08-27 22:48:53 | [Mutex] received everything. 2020-08-27 22:48:53 | [Mutex] isItemNotified: user_regular7kv6y00202@test-domain.com:message:received:content_74wjli0204 :: true 2020-08-27 22:48:53 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-27 22:48:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:48:53 | command: <data><node>node_6o0d1u0203</node><expire-at>2020-08-28T05:48:48Z</expire-at><entry><content>content_fzsif00205</content></entry></data> 2020-08-27 22:48:53 | target: http://localhost:8088 2020-08-27 22:48:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 22:48:53 | entity: <data><node>node_6o0d1u0203</node><expire-at>2020-08-28T05:48:48Z</expire-at><entry><content>content_fzsif00205</content></entry></data> 2020-08-27 22:48:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:48:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:48:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4cd6420e-223c-46d0-b670-5dd01519d389</value></item-id></result> 2020-08-27 22:48:53 | contains: true 2020-08-27 22:48:53 | [Mutex] waiting for: [user_regular7kv6y00202@test-domain.com:message:received:content_fzsif00205] 2020-08-27 22:49:08 | [Mutex] timeout. Not received [user_regular7kv6y00202@test-domain.com:message:received:content_fzsif00205] 2020-08-27 22:49:08 | [Mutex] isItemNotified: user_regular7kv6y00202@test-domain.com:message:received:content_fzsif00205 :: false 2020-08-27 22:49:08 | ===== publishing normal message (to offline) 2020-08-27 22:49:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:49:08 | command: <data><node>node_6o0d1u0203</node><entry><content>content_e1km5p0206</content></entry></data> 2020-08-27 22:49:08 | target: http://localhost:8088 2020-08-27 22:49:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-27 22:49:08 | entity: <data><node>node_6o0d1u0203</node><entry><content>content_e1km5p0206</content></entry></data> 2020-08-27 22:49:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:49:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:49:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55e2201b-3d6f-476f-a03f-26c23365cf2e</value></item-id></result> 2020-08-27 22:49:08 | contains: true 2020-08-27 22:49:13 | [Mutex] waiting for: [user_regular7kv6y00202@test-domain.com:message:received:content_e1km5p0206] 2020-08-27 22:49:13 | [Mutex] received everything. 2020-08-27 22:49:13 | [Mutex] isItemNotified: user_regular7kv6y00202@test-domain.com:message:received:content_e1km5p0206 :: true 2020-08-27 22:49:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-27 22:49:13 | [Mutex] received everything. 2020-08-27 22:49:13 | [Mutex] isItemNotified: node_6o0d1u0203:subscribe_node:success :: true 2020-08-27 22:49:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-27 22:49:13 | command: <data><node>node_6o0d1u0203</node><expire-at>2020-08-28T05:49:18Z</expire-at><entry><content>content_ygo79w0207</content></entry></data> 2020-08-27 22:49:13 | target: http://localhost:8088 2020-08-27 22:49:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-27 22:49:13 | entity: <data><node>node_6o0d1u0203</node><expire-at>2020-08-28T05:49:18Z</expire-at><entry><content>content_ygo79w0207</content></entry></data> 2020-08-27 22:49:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 Aug 2020 05:49:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-27 22:49:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8dcbf5b1-c84c-428b-b437-62fe321c675e</value></item-id></result> 2020-08-27 22:49:13 | contains: true 2020-08-27 22:49:22 | [Mutex] waiting for: [user_regular7kv6y00202@test-domain.com:message:received:content_ygo79w0207] 2020-08-27 22:49:22 | [Mutex] waiting for: [user_regular7kv6y00202@test-domain.com:message:received:content_ygo79w0207] 2020-08-27 22:49:22 | [Mutex] waiting for: [user_regular7kv6y00202@test-domain.com:message:received:content_ygo79w0207] 2020-08-27 22:49:37 | [Mutex] timeout. Not received [user_regular7kv6y00202@test-domain.com:message:received:content_ygo79w0207] 2020-08-27 22:49:37 | [Mutex] received everything. 2020-08-27 22:49:37 | [Mutex] isItemNotified: user_regular7kv6y00202@test-domain.com:message:received:content_ygo79w0207 :: false 2020-08-27 22:49:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ygo79w0207 :: true |