Test duration : 44.859s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.597s |
2022-02-09 21:48:39 |
2022-02-09 21:48:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-09 21:48:39 | ------------------------------------ 2022-02-09 21:48:39 | [Mutex] isItemNotified: node_woez6r0203:exists :: false 2022-02-09 21:48:39 | [Mutex] waiting for: [node_woez6r0203:create_node] 2022-02-09 21:48:39 | [Mutex] received everything. 2022-02-09 21:48:39 | [Mutex] isItemNotified: node_woez6r0203:create_node:success :: true 2022-02-09 21:48:39 | [Mutex] waiting for: [node_woez6r0203:subscribe_node] 2022-02-09 21:48:39 | [Mutex] waiting for: [node_woez6r0203:subscribe_node] 2022-02-09 21:48:39 | [Mutex] received everything. 2022-02-09 21:48:39 | [Mutex] isItemNotified: node_woez6r0203:subscribe_node:success :: true 2022-02-09 21:48:39 | ===== publishing normal message (to online) 2022-02-09 21:48:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 21:48:39 | command: <data><node>node_woez6r0203</node><entry><content>content_iv7oed0204</content></entry></data> 2022-02-09 21:48:39 | target: http://localhost:8088 2022-02-09 21:48:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-09 21:48:39 | entity: <data><node>node_woez6r0203</node><entry><content>content_iv7oed0204</content></entry></data> 2022-02-09 21:48:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:48:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 21:48:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e82e2512-e98c-44a4-aaba-5ba2eade4cd2</value></item-id></result> 2022-02-09 21:48:39 | contains: true 2022-02-09 21:48:39 | [Mutex] received everything. 2022-02-09 21:48:39 | [Mutex] isItemNotified: user_regular21xbnl0202@test-domain.com:message:received:content_iv7oed0204 :: true 2022-02-09 21:48:39 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-09 21:48:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 21:48:39 | command: <data><node>node_woez6r0203</node><expire-at>2022-02-10T05:48:34Z</expire-at><entry><content>content_ngm72t0205</content></entry></data> 2022-02-09 21:48:39 | target: http://localhost:8088 2022-02-09 21:48:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-09 21:48:39 | entity: <data><node>node_woez6r0203</node><expire-at>2022-02-10T05:48:34Z</expire-at><entry><content>content_ngm72t0205</content></entry></data> 2022-02-09 21:48:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:48:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 21:48:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3630dac3-a392-4159-927a-0519b56c30c4</value></item-id></result> 2022-02-09 21:48:39 | contains: true 2022-02-09 21:48:39 | [Mutex] waiting for: [user_regular21xbnl0202@test-domain.com:message:received:content_ngm72t0205] 2022-02-09 21:48:54 | [Mutex] timeout. Not received [user_regular21xbnl0202@test-domain.com:message:received:content_ngm72t0205] 2022-02-09 21:48:54 | [Mutex] isItemNotified: user_regular21xbnl0202@test-domain.com:message:received:content_ngm72t0205 :: false 2022-02-09 21:48:54 | ===== publishing normal message (to offline) 2022-02-09 21:48:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 21:48:54 | command: <data><node>node_woez6r0203</node><entry><content>content_9ntofd0206</content></entry></data> 2022-02-09 21:48:54 | target: http://localhost:8088 2022-02-09 21:48:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-09 21:48:54 | entity: <data><node>node_woez6r0203</node><entry><content>content_9ntofd0206</content></entry></data> 2022-02-09 21:48:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:48:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 21:48:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>328e3962-de29-456e-9381-f62d602240cd</value></item-id></result> 2022-02-09 21:48:54 | contains: true 2022-02-09 21:48:59 | [Mutex] received everything. 2022-02-09 21:48:59 | [Mutex] isItemNotified: user_regular21xbnl0202@test-domain.com:message:received:content_9ntofd0206 :: true 2022-02-09 21:48:59 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-09 21:48:59 | [Mutex] received everything. 2022-02-09 21:48:59 | [Mutex] isItemNotified: node_woez6r0203:subscribe_node:success :: true 2022-02-09 21:49:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-09 21:49:00 | command: <data><node>node_woez6r0203</node><expire-at>2022-02-10T05:49:05Z</expire-at><entry><content>content_ybq5ze0207</content></entry></data> 2022-02-09 21:49:00 | target: http://localhost:8088 2022-02-09 21:49:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-09 21:49:00 | entity: <data><node>node_woez6r0203</node><expire-at>2022-02-10T05:49:05Z</expire-at><entry><content>content_ybq5ze0207</content></entry></data> 2022-02-09 21:49:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 10 Feb 2022 05:49:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-09 21:49:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8aca0d7c-8766-498b-8b29-28fb802fc954</value></item-id></result> 2022-02-09 21:49:00 | contains: true 2022-02-09 21:49:08 | [Mutex] waiting for: [user_regular21xbnl0202@test-domain.com:message:received:content_ybq5ze0207] 2022-02-09 21:49:23 | [Mutex] timeout. Not received [user_regular21xbnl0202@test-domain.com:message:received:content_ybq5ze0207] 2022-02-09 21:49:23 | [Mutex] received everything. 2022-02-09 21:49:23 | [Mutex] isItemNotified: user_regular21xbnl0202@test-domain.com:message:received:content_ybq5ze0207 :: false 2022-02-09 21:49:23 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ybq5ze0207 :: true |