Test duration : 45.480s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.716s |
2021-03-31 22:30:36 |
2021-03-31 22:30:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-31 22:30:36 | ------------------------------------ 2021-03-31 22:30:36 | [Mutex] isItemNotified: node_dnyi7q0203:exists :: false 2021-03-31 22:30:36 | [Mutex] waiting for: [node_dnyi7q0203:create_node] 2021-03-31 22:30:36 | [Mutex] received everything. 2021-03-31 22:30:36 | [Mutex] isItemNotified: node_dnyi7q0203:create_node:success :: true 2021-03-31 22:30:36 | [Mutex] waiting for: [node_dnyi7q0203:subscribe_node] 2021-03-31 22:30:36 | [Mutex] waiting for: [node_dnyi7q0203:subscribe_node] 2021-03-31 22:30:36 | [Mutex] received everything. 2021-03-31 22:30:36 | [Mutex] isItemNotified: node_dnyi7q0203:subscribe_node:success :: true 2021-03-31 22:30:36 | ===== publishing normal message (to online) 2021-03-31 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-31 22:30:36 | command: <data><node>node_dnyi7q0203</node><entry><content>content_n3fmw70204</content></entry></data> 2021-03-31 22:30:36 | target: http://localhost:8088 2021-03-31 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-31 22:30:36 | entity: <data><node>node_dnyi7q0203</node><entry><content>content_n3fmw70204</content></entry></data> 2021-03-31 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-31 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>783c1e2f-6bf0-468b-a6e2-442363087c21</value></item-id></result> 2021-03-31 22:30:36 | contains: true 2021-03-31 22:30:36 | [Mutex] received everything. 2021-03-31 22:30:36 | [Mutex] isItemNotified: user_regulardo27zc0202@test-domain.com:message:received:content_n3fmw70204 :: true 2021-03-31 22:30:36 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-31 22:30:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-31 22:30:36 | command: <data><node>node_dnyi7q0203</node><expire-at>2021-04-01T05:30:31Z</expire-at><entry><content>content_xx3qux0205</content></entry></data> 2021-03-31 22:30:36 | target: http://localhost:8088 2021-03-31 22:30:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-31 22:30:36 | entity: <data><node>node_dnyi7q0203</node><expire-at>2021-04-01T05:30:31Z</expire-at><entry><content>content_xx3qux0205</content></entry></data> 2021-03-31 22:30:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:30:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-31 22:30:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5733f7d0-23ce-48ab-ac93-5fb40753eedf</value></item-id></result> 2021-03-31 22:30:36 | contains: true 2021-03-31 22:30:36 | [Mutex] waiting for: [user_regulardo27zc0202@test-domain.com:message:received:content_xx3qux0205] 2021-03-31 22:30:51 | [Mutex] timeout. Not received [user_regulardo27zc0202@test-domain.com:message:received:content_xx3qux0205] 2021-03-31 22:30:51 | [Mutex] isItemNotified: user_regulardo27zc0202@test-domain.com:message:received:content_xx3qux0205 :: false 2021-03-31 22:30:51 | ===== publishing normal message (to offline) 2021-03-31 22:30:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-31 22:30:52 | command: <data><node>node_dnyi7q0203</node><entry><content>content_hcyxic0206</content></entry></data> 2021-03-31 22:30:52 | target: http://localhost:8088 2021-03-31 22:30:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-31 22:30:52 | entity: <data><node>node_dnyi7q0203</node><entry><content>content_hcyxic0206</content></entry></data> 2021-03-31 22:30:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:30:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-31 22:30:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4d4d2b61-670e-41b1-ad9b-db3dd4ffd8fe</value></item-id></result> 2021-03-31 22:30:52 | contains: true 2021-03-31 22:30:57 | [Mutex] waiting for: [user_regulardo27zc0202@test-domain.com:message:received:content_hcyxic0206] 2021-03-31 22:30:57 | [Mutex] received everything. 2021-03-31 22:30:57 | [Mutex] isItemNotified: user_regulardo27zc0202@test-domain.com:message:received:content_hcyxic0206 :: true 2021-03-31 22:30:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-31 22:30:57 | [Mutex] received everything. 2021-03-31 22:30:57 | [Mutex] isItemNotified: node_dnyi7q0203:subscribe_node:success :: true 2021-03-31 22:30:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-31 22:30:57 | command: <data><node>node_dnyi7q0203</node><expire-at>2021-04-01T05:31:02Z</expire-at><entry><content>content_u7mz7t0207</content></entry></data> 2021-03-31 22:30:57 | target: http://localhost:8088 2021-03-31 22:30:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-31 22:30:57 | entity: <data><node>node_dnyi7q0203</node><expire-at>2021-04-01T05:31:02Z</expire-at><entry><content>content_u7mz7t0207</content></entry></data> 2021-03-31 22:30:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 01 Apr 2021 05:30:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-31 22:30:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cde4190b-375e-4dca-9861-50e421ce6994</value></item-id></result> 2021-03-31 22:30:57 | contains: true 2021-03-31 22:31:05 | [Mutex] waiting for: [user_regulardo27zc0202@test-domain.com:message:received:content_u7mz7t0207] 2021-03-31 22:31:05 | [Mutex] waiting for: [user_regulardo27zc0202@test-domain.com:message:received:content_u7mz7t0207] 2021-03-31 22:31:20 | [Mutex] timeout. Not received [user_regulardo27zc0202@test-domain.com:message:received:content_u7mz7t0207] 2021-03-31 22:31:20 | [Mutex] received everything. 2021-03-31 22:31:20 | [Mutex] isItemNotified: user_regulardo27zc0202@test-domain.com:message:received:content_u7mz7t0207 :: false 2021-03-31 22:31:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_u7mz7t0207 :: true |