Test duration : 45.399s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.656s |
2020-09-25 22:30:40 |
2020-09-25 22:30:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-25 22:30:40 | ------------------------------------ 2020-09-25 22:30:40 | [Mutex] isItemNotified: node_pcfl2l0203:exists :: false 2020-09-25 22:30:40 | [Mutex] waiting for: [node_pcfl2l0203:create_node] 2020-09-25 22:30:40 | [Mutex] received everything. 2020-09-25 22:30:40 | [Mutex] isItemNotified: node_pcfl2l0203:create_node:success :: true 2020-09-25 22:30:40 | [Mutex] waiting for: [node_pcfl2l0203:subscribe_node] 2020-09-25 22:30:40 | [Mutex] waiting for: [node_pcfl2l0203:subscribe_node] 2020-09-25 22:30:40 | [Mutex] received everything. 2020-09-25 22:30:40 | [Mutex] isItemNotified: node_pcfl2l0203:subscribe_node:success :: true 2020-09-25 22:30:40 | ===== publishing normal message (to online) 2020-09-25 22:30:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 22:30:40 | command: <data><node>node_pcfl2l0203</node><entry><content>content_22h3ga0204</content></entry></data> 2020-09-25 22:30:40 | target: http://localhost:8088 2020-09-25 22:30:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-25 22:30:40 | entity: <data><node>node_pcfl2l0203</node><entry><content>content_22h3ga0204</content></entry></data> 2020-09-25 22:30:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:30:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 22:30:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3ac3baf5-7aac-4778-b02f-449e52d62bc1</value></item-id></result> 2020-09-25 22:30:40 | contains: true 2020-09-25 22:30:40 | [Mutex] received everything. 2020-09-25 22:30:40 | [Mutex] isItemNotified: user_regular93nvlj0202@test-domain.com:message:received:content_22h3ga0204 :: true 2020-09-25 22:30:40 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-25 22:30:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 22:30:40 | command: <data><node>node_pcfl2l0203</node><expire-at>2020-09-26T05:30:35Z</expire-at><entry><content>content_15q0u10205</content></entry></data> 2020-09-25 22:30:40 | target: http://localhost:8088 2020-09-25 22:30:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-25 22:30:40 | entity: <data><node>node_pcfl2l0203</node><expire-at>2020-09-26T05:30:35Z</expire-at><entry><content>content_15q0u10205</content></entry></data> 2020-09-25 22:30:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:30:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 22:30:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fb3d1435-3e9c-40bc-bfbc-2e4e13e44b41</value></item-id></result> 2020-09-25 22:30:40 | contains: true 2020-09-25 22:30:40 | [Mutex] waiting for: [user_regular93nvlj0202@test-domain.com:message:received:content_15q0u10205] 2020-09-25 22:30:55 | [Mutex] timeout. Not received [user_regular93nvlj0202@test-domain.com:message:received:content_15q0u10205] 2020-09-25 22:30:55 | [Mutex] isItemNotified: user_regular93nvlj0202@test-domain.com:message:received:content_15q0u10205 :: false 2020-09-25 22:30:55 | ===== publishing normal message (to offline) 2020-09-25 22:30:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 22:30:55 | command: <data><node>node_pcfl2l0203</node><entry><content>content_supns60206</content></entry></data> 2020-09-25 22:30:55 | target: http://localhost:8088 2020-09-25 22:30:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-25 22:30:55 | entity: <data><node>node_pcfl2l0203</node><entry><content>content_supns60206</content></entry></data> 2020-09-25 22:30:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:30:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 22:30:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e619d3af-68ac-487b-a499-49369a30d2fe</value></item-id></result> 2020-09-25 22:30:55 | contains: true 2020-09-25 22:31:01 | [Mutex] waiting for: [user_regular93nvlj0202@test-domain.com:message:received:content_supns60206] 2020-09-25 22:31:01 | [Mutex] received everything. 2020-09-25 22:31:01 | [Mutex] isItemNotified: user_regular93nvlj0202@test-domain.com:message:received:content_supns60206 :: true 2020-09-25 22:31:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-25 22:31:01 | [Mutex] received everything. 2020-09-25 22:31:01 | [Mutex] isItemNotified: node_pcfl2l0203:subscribe_node:success :: true 2020-09-25 22:31:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-25 22:31:01 | command: <data><node>node_pcfl2l0203</node><expire-at>2020-09-26T05:31:06Z</expire-at><entry><content>content_xdv3j60207</content></entry></data> 2020-09-25 22:31:01 | target: http://localhost:8088 2020-09-25 22:31:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-25 22:31:01 | entity: <data><node>node_pcfl2l0203</node><expire-at>2020-09-26T05:31:06Z</expire-at><entry><content>content_xdv3j60207</content></entry></data> 2020-09-25 22:31:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 26 Sep 2020 05:31:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-25 22:31:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>69551492-a97a-404d-b601-7eecf61e5690</value></item-id></result> 2020-09-25 22:31:01 | contains: true 2020-09-25 22:31:09 | [Mutex] waiting for: [user_regular93nvlj0202@test-domain.com:message:received:content_xdv3j60207] 2020-09-25 22:31:09 | [Mutex] waiting for: [user_regular93nvlj0202@test-domain.com:message:received:content_xdv3j60207] 2020-09-25 22:31:24 | [Mutex] timeout. Not received [user_regular93nvlj0202@test-domain.com:message:received:content_xdv3j60207] 2020-09-25 22:31:24 | [Mutex] received everything. 2020-09-25 22:31:24 | [Mutex] isItemNotified: user_regular93nvlj0202@test-domain.com:message:received:content_xdv3j60207 :: false 2020-09-25 22:31:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_xdv3j60207 :: true |