Test duration : 45.302s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.539s |
2021-06-17 22:28:31 |
2021-06-17 22:28:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-17 22:28:31 | ------------------------------------ 2021-06-17 22:28:31 | [Mutex] isItemNotified: node_21s5pm0203:exists :: false 2021-06-17 22:28:31 | [Mutex] waiting for: [node_21s5pm0203:create_node] 2021-06-17 22:28:31 | [Mutex] received everything. 2021-06-17 22:28:31 | [Mutex] isItemNotified: node_21s5pm0203:create_node:success :: true 2021-06-17 22:28:31 | [Mutex] waiting for: [node_21s5pm0203:subscribe_node] 2021-06-17 22:28:31 | [Mutex] received everything. 2021-06-17 22:28:31 | [Mutex] isItemNotified: node_21s5pm0203:subscribe_node:success :: true 2021-06-17 22:28:31 | ===== publishing normal message (to online) 2021-06-17 22:28:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-17 22:28:31 | command: <data><node>node_21s5pm0203</node><entry><content>content_6rcqnd0204</content></entry></data> 2021-06-17 22:28:31 | target: http://localhost:8088 2021-06-17 22:28:31 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-17 22:28:31 | entity: <data><node>node_21s5pm0203</node><entry><content>content_6rcqnd0204</content></entry></data> 2021-06-17 22:28:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:28:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-17 22:28:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>db94d30d-8fe6-4585-b0b0-9e38ce6a802e</value></item-id></result> 2021-06-17 22:28:31 | contains: true 2021-06-17 22:28:31 | [Mutex] received everything. 2021-06-17 22:28:31 | [Mutex] isItemNotified: user_regularrflck70202@test-domain.com:message:received:content_6rcqnd0204 :: true 2021-06-17 22:28:31 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-17 22:28:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-17 22:28:31 | command: <data><node>node_21s5pm0203</node><expire-at>2021-06-18T05:28:26Z</expire-at><entry><content>content_2pnxvc0205</content></entry></data> 2021-06-17 22:28:31 | target: http://localhost:8088 2021-06-17 22:28:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-17 22:28:31 | entity: <data><node>node_21s5pm0203</node><expire-at>2021-06-18T05:28:26Z</expire-at><entry><content>content_2pnxvc0205</content></entry></data> 2021-06-17 22:28:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:28:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-17 22:28:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f19a633e-a464-4710-929b-476da1431f25</value></item-id></result> 2021-06-17 22:28:31 | contains: true 2021-06-17 22:28:31 | [Mutex] waiting for: [user_regularrflck70202@test-domain.com:message:received:content_2pnxvc0205] 2021-06-17 22:28:46 | [Mutex] timeout. Not received [user_regularrflck70202@test-domain.com:message:received:content_2pnxvc0205] 2021-06-17 22:28:46 | [Mutex] isItemNotified: user_regularrflck70202@test-domain.com:message:received:content_2pnxvc0205 :: false 2021-06-17 22:28:46 | ===== publishing normal message (to offline) 2021-06-17 22:28:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-17 22:28:46 | command: <data><node>node_21s5pm0203</node><entry><content>content_psr2qv0206</content></entry></data> 2021-06-17 22:28:46 | target: http://localhost:8088 2021-06-17 22:28:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-17 22:28:46 | entity: <data><node>node_21s5pm0203</node><entry><content>content_psr2qv0206</content></entry></data> 2021-06-17 22:28:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:28:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-17 22:28:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>34079c2a-3f54-4385-9a06-d5ca8e77073c</value></item-id></result> 2021-06-17 22:28:46 | contains: true 2021-06-17 22:28:52 | [Mutex] waiting for: [user_regularrflck70202@test-domain.com:message:received:content_psr2qv0206] 2021-06-17 22:28:52 | [Mutex] waiting for: [user_regularrflck70202@test-domain.com:message:received:content_psr2qv0206] 2021-06-17 22:28:52 | [Mutex] received everything. 2021-06-17 22:28:52 | [Mutex] isItemNotified: user_regularrflck70202@test-domain.com:message:received:content_psr2qv0206 :: true 2021-06-17 22:28:52 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-17 22:28:52 | [Mutex] received everything. 2021-06-17 22:28:52 | [Mutex] isItemNotified: node_21s5pm0203:subscribe_node:success :: true 2021-06-17 22:28:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-17 22:28:52 | command: <data><node>node_21s5pm0203</node><expire-at>2021-06-18T05:28:57Z</expire-at><entry><content>content_3jwpu60207</content></entry></data> 2021-06-17 22:28:52 | target: http://localhost:8088 2021-06-17 22:28:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-17 22:28:52 | entity: <data><node>node_21s5pm0203</node><expire-at>2021-06-18T05:28:57Z</expire-at><entry><content>content_3jwpu60207</content></entry></data> 2021-06-17 22:28:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Jun 2021 05:28:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-17 22:28:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c70cd506-4508-4d5f-a9d7-262b3c24793e</value></item-id></result> 2021-06-17 22:28:52 | contains: true 2021-06-17 22:29:00 | [Mutex] waiting for: [user_regularrflck70202@test-domain.com:message:received:content_3jwpu60207] 2021-06-17 22:29:15 | [Mutex] timeout. Not received [user_regularrflck70202@test-domain.com:message:received:content_3jwpu60207] 2021-06-17 22:29:15 | [Mutex] received everything. 2021-06-17 22:29:15 | [Mutex] isItemNotified: user_regularrflck70202@test-domain.com:message:received:content_3jwpu60207 :: false 2021-06-17 22:29:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3jwpu60207 :: true |