Test duration : 44.959s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.658s |
2021-10-07 22:37:30 |
2021-10-07 22:37:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-07 22:37:30 | ------------------------------------ 2021-10-07 22:37:30 | [Mutex] isItemNotified: node_a6geca0203:exists :: false 2021-10-07 22:37:30 | [Mutex] waiting for: [node_a6geca0203:create_node] 2021-10-07 22:37:30 | [Mutex] received everything. 2021-10-07 22:37:30 | [Mutex] isItemNotified: node_a6geca0203:create_node:success :: true 2021-10-07 22:37:30 | [Mutex] waiting for: [node_a6geca0203:subscribe_node] 2021-10-07 22:37:30 | [Mutex] waiting for: [node_a6geca0203:subscribe_node] 2021-10-07 22:37:30 | [Mutex] received everything. 2021-10-07 22:37:30 | [Mutex] isItemNotified: node_a6geca0203:subscribe_node:success :: true 2021-10-07 22:37:30 | ===== publishing normal message (to online) 2021-10-07 22:37:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:37:30 | command: <data><node>node_a6geca0203</node><entry><content>content_h88sm20204</content></entry></data> 2021-10-07 22:37:30 | target: http://localhost:8088 2021-10-07 22:37:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-07 22:37:30 | entity: <data><node>node_a6geca0203</node><entry><content>content_h88sm20204</content></entry></data> 2021-10-07 22:37:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:37:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:37:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c1b798c3-a41d-46f0-b842-8c0b7c501c57</value></item-id></result> 2021-10-07 22:37:30 | contains: true 2021-10-07 22:37:30 | [Mutex] received everything. 2021-10-07 22:37:30 | [Mutex] isItemNotified: user_regularfr2wcq0202@test-domain.com:message:received:content_h88sm20204 :: true 2021-10-07 22:37:30 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-07 22:37:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:37:30 | command: <data><node>node_a6geca0203</node><expire-at>2021-10-08T05:37:25Z</expire-at><entry><content>content_xnju6g0205</content></entry></data> 2021-10-07 22:37:30 | target: http://localhost:8088 2021-10-07 22:37:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-07 22:37:30 | entity: <data><node>node_a6geca0203</node><expire-at>2021-10-08T05:37:25Z</expire-at><entry><content>content_xnju6g0205</content></entry></data> 2021-10-07 22:37:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:37:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:37:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4850dd87-30b9-4eac-a254-2e90f0bdb7e4</value></item-id></result> 2021-10-07 22:37:30 | contains: true 2021-10-07 22:37:30 | [Mutex] waiting for: [user_regularfr2wcq0202@test-domain.com:message:received:content_xnju6g0205] 2021-10-07 22:37:45 | [Mutex] timeout. Not received [user_regularfr2wcq0202@test-domain.com:message:received:content_xnju6g0205] 2021-10-07 22:37:45 | [Mutex] isItemNotified: user_regularfr2wcq0202@test-domain.com:message:received:content_xnju6g0205 :: false 2021-10-07 22:37:45 | ===== publishing normal message (to offline) 2021-10-07 22:37:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:37:45 | command: <data><node>node_a6geca0203</node><entry><content>content_cfztl60206</content></entry></data> 2021-10-07 22:37:45 | target: http://localhost:8088 2021-10-07 22:37:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-10-07 22:37:45 | entity: <data><node>node_a6geca0203</node><entry><content>content_cfztl60206</content></entry></data> 2021-10-07 22:37:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:37:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:37:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>578fb231-1899-44de-8581-8287bc8a0a42</value></item-id></result> 2021-10-07 22:37:45 | contains: true 2021-10-07 22:37:50 | [Mutex] waiting for: [user_regularfr2wcq0202@test-domain.com:message:received:content_cfztl60206] 2021-10-07 22:37:50 | [Mutex] waiting for: [user_regularfr2wcq0202@test-domain.com:message:received:content_cfztl60206] 2021-10-07 22:37:50 | [Mutex] received everything. 2021-10-07 22:37:50 | [Mutex] isItemNotified: user_regularfr2wcq0202@test-domain.com:message:received:content_cfztl60206 :: true 2021-10-07 22:37:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-07 22:37:50 | [Mutex] received everything. 2021-10-07 22:37:50 | [Mutex] isItemNotified: node_a6geca0203:subscribe_node:success :: true 2021-10-07 22:37:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-07 22:37:50 | command: <data><node>node_a6geca0203</node><expire-at>2021-10-08T05:37:55Z</expire-at><entry><content>content_inal3l0207</content></entry></data> 2021-10-07 22:37:50 | target: http://localhost:8088 2021-10-07 22:37:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-10-07 22:37:50 | entity: <data><node>node_a6geca0203</node><expire-at>2021-10-08T05:37:55Z</expire-at><entry><content>content_inal3l0207</content></entry></data> 2021-10-07 22:37:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Oct 2021 05:37:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-07 22:37:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7f85e476-4770-45ee-a6fe-1870831da00d</value></item-id></result> 2021-10-07 22:37:50 | contains: true 2021-10-07 22:37:58 | [Mutex] waiting for: [user_regularfr2wcq0202@test-domain.com:message:received:content_inal3l0207] 2021-10-07 22:37:58 | [Mutex] waiting for: [user_regularfr2wcq0202@test-domain.com:message:received:content_inal3l0207] 2021-10-07 22:37:58 | [Mutex] waiting for: [user_regularfr2wcq0202@test-domain.com:message:received:content_inal3l0207] 2021-10-07 22:38:13 | [Mutex] timeout. Not received [user_regularfr2wcq0202@test-domain.com:message:received:content_inal3l0207] 2021-10-07 22:38:13 | [Mutex] received everything. 2021-10-07 22:38:13 | [Mutex] isItemNotified: user_regularfr2wcq0202@test-domain.com:message:received:content_inal3l0207 :: false 2021-10-07 22:38:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_inal3l0207 :: true |