Test duration : 45.153s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.668s |
2021-01-27 21:28:11 |
2021-01-27 21:28:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-27 21:28:11 | ------------------------------------ 2021-01-27 21:28:11 | [Mutex] isItemNotified: node_24pur70203:exists :: false 2021-01-27 21:28:11 | [Mutex] waiting for: [node_24pur70203:create_node] 2021-01-27 21:28:11 | [Mutex] received everything. 2021-01-27 21:28:11 | [Mutex] isItemNotified: node_24pur70203:create_node:success :: true 2021-01-27 21:28:11 | [Mutex] waiting for: [node_24pur70203:subscribe_node] 2021-01-27 21:28:12 | [Mutex] received everything. 2021-01-27 21:28:12 | [Mutex] isItemNotified: node_24pur70203:subscribe_node:success :: true 2021-01-27 21:28:12 | ===== publishing normal message (to online) 2021-01-27 21:28:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:28:12 | command: <data><node>node_24pur70203</node><entry><content>content_3g8mld0204</content></entry></data> 2021-01-27 21:28:12 | target: http://localhost:8088 2021-01-27 21:28:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 21:28:12 | entity: <data><node>node_24pur70203</node><entry><content>content_3g8mld0204</content></entry></data> 2021-01-27 21:28:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:28:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:28:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1333ba96-4379-49ba-997e-dee67cf3a8e6</value></item-id></result> 2021-01-27 21:28:12 | contains: true 2021-01-27 21:28:12 | [Mutex] received everything. 2021-01-27 21:28:12 | [Mutex] isItemNotified: user_regularumsmc30202@test-domain.com:message:received:content_3g8mld0204 :: true 2021-01-27 21:28:12 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-27 21:28:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:28:12 | command: <data><node>node_24pur70203</node><expire-at>2021-01-28T05:28:07Z</expire-at><entry><content>content_tm29wp0205</content></entry></data> 2021-01-27 21:28:12 | target: http://localhost:8088 2021-01-27 21:28:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-27 21:28:12 | entity: <data><node>node_24pur70203</node><expire-at>2021-01-28T05:28:07Z</expire-at><entry><content>content_tm29wp0205</content></entry></data> 2021-01-27 21:28:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:28:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:28:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1a7f4f0-715e-47a8-91fa-2a47e8d88ee1</value></item-id></result> 2021-01-27 21:28:12 | contains: true 2021-01-27 21:28:12 | [Mutex] waiting for: [user_regularumsmc30202@test-domain.com:message:received:content_tm29wp0205] 2021-01-27 21:28:27 | [Mutex] timeout. Not received [user_regularumsmc30202@test-domain.com:message:received:content_tm29wp0205] 2021-01-27 21:28:27 | [Mutex] isItemNotified: user_regularumsmc30202@test-domain.com:message:received:content_tm29wp0205 :: false 2021-01-27 21:28:27 | ===== publishing normal message (to offline) 2021-01-27 21:28:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:28:27 | command: <data><node>node_24pur70203</node><entry><content>content_fy3ggo0206</content></entry></data> 2021-01-27 21:28:27 | target: http://localhost:8088 2021-01-27 21:28:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 21:28:27 | entity: <data><node>node_24pur70203</node><entry><content>content_fy3ggo0206</content></entry></data> 2021-01-27 21:28:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:28:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:28:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6525a63-1c95-439f-a438-90df9a5d74e4</value></item-id></result> 2021-01-27 21:28:27 | contains: true 2021-01-27 21:28:32 | [Mutex] waiting for: [user_regularumsmc30202@test-domain.com:message:received:content_fy3ggo0206] 2021-01-27 21:28:32 | [Mutex] received everything. 2021-01-27 21:28:32 | [Mutex] isItemNotified: user_regularumsmc30202@test-domain.com:message:received:content_fy3ggo0206 :: true 2021-01-27 21:28:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-27 21:28:32 | [Mutex] received everything. 2021-01-27 21:28:32 | [Mutex] isItemNotified: node_24pur70203:subscribe_node:success :: true 2021-01-27 21:28:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 21:28:32 | command: <data><node>node_24pur70203</node><expire-at>2021-01-28T05:28:37Z</expire-at><entry><content>content_sprg9j0207</content></entry></data> 2021-01-27 21:28:32 | target: http://localhost:8088 2021-01-27 21:28:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-27 21:28:32 | entity: <data><node>node_24pur70203</node><expire-at>2021-01-28T05:28:37Z</expire-at><entry><content>content_sprg9j0207</content></entry></data> 2021-01-27 21:28:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 28 Jan 2021 05:28:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 21:28:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4d09b2a8-db39-4ba1-a8d7-60253b796cae</value></item-id></result> 2021-01-27 21:28:32 | contains: true 2021-01-27 21:28:40 | [Mutex] waiting for: [user_regularumsmc30202@test-domain.com:message:received:content_sprg9j0207] 2021-01-27 21:28:40 | [Mutex] waiting for: [user_regularumsmc30202@test-domain.com:message:received:content_sprg9j0207] 2021-01-27 21:28:55 | [Mutex] timeout. Not received [user_regularumsmc30202@test-domain.com:message:received:content_sprg9j0207] 2021-01-27 21:28:55 | [Mutex] received everything. 2021-01-27 21:28:55 | [Mutex] isItemNotified: user_regularumsmc30202@test-domain.com:message:received:content_sprg9j0207 :: false 2021-01-27 21:28:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sprg9j0207 :: true |