Test duration : 44.601s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.632s |
2022-07-07 23:00:52 |
2022-07-07 23:00:52 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-07 23:00:52 | ------------------------------------ 2022-07-07 23:00:52 | [Mutex] isItemNotified: node_gpkgv80204:exists :: false 2022-07-07 23:00:52 | [Mutex] waiting for: [node_gpkgv80204:create_node] 2022-07-07 23:00:52 | [Mutex] received everything. 2022-07-07 23:00:52 | [Mutex] isItemNotified: node_gpkgv80204:create_node:success :: true 2022-07-07 23:00:52 | [Mutex] waiting for: [node_gpkgv80204:subscribe_node] 2022-07-07 23:00:52 | [Mutex] received everything. 2022-07-07 23:00:52 | [Mutex] isItemNotified: node_gpkgv80204:subscribe_node:success :: true 2022-07-07 23:00:52 | ===== publishing normal message (to online) 2022-07-07 23:00:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 23:00:52 | command: <data><node>node_gpkgv80204</node><entry><content>content_ypslhz0205</content></entry></data> 2022-07-07 23:00:52 | target: http://localhost:8088 2022-07-07 23:00:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-07 23:00:52 | entity: <data><node>node_gpkgv80204</node><entry><content>content_ypslhz0205</content></entry></data> 2022-07-07 23:00:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:00:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 23:00:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3c448c49-46f8-49d9-8a09-730627b96f01</value></item-id></result> 2022-07-07 23:00:52 | contains: true 2022-07-07 23:00:52 | [Mutex] waiting for: [user_regulark4nxr10203@test-domain.com:message:received:content_ypslhz0205] 2022-07-07 23:00:52 | [Mutex] received everything. 2022-07-07 23:00:52 | [Mutex] isItemNotified: user_regulark4nxr10203@test-domain.com:message:received:content_ypslhz0205 :: true 2022-07-07 23:00:52 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-07 23:00:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 23:00:52 | command: <data><node>node_gpkgv80204</node><expire-at>2022-07-08T06:00:47Z</expire-at><entry><content>content_le2og20206</content></entry></data> 2022-07-07 23:00:52 | target: http://localhost:8088 2022-07-07 23:00:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-07 23:00:52 | entity: <data><node>node_gpkgv80204</node><expire-at>2022-07-08T06:00:47Z</expire-at><entry><content>content_le2og20206</content></entry></data> 2022-07-07 23:00:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:00:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 23:00:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0e103473-b7b5-4bba-81d9-2268b4e22466</value></item-id></result> 2022-07-07 23:00:52 | contains: true 2022-07-07 23:00:52 | [Mutex] waiting for: [user_regulark4nxr10203@test-domain.com:message:received:content_le2og20206] 2022-07-07 23:01:07 | [Mutex] timeout. Not received [user_regulark4nxr10203@test-domain.com:message:received:content_le2og20206] 2022-07-07 23:01:07 | [Mutex] isItemNotified: user_regulark4nxr10203@test-domain.com:message:received:content_le2og20206 :: false 2022-07-07 23:01:07 | ===== publishing normal message (to offline) 2022-07-07 23:01:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 23:01:07 | command: <data><node>node_gpkgv80204</node><entry><content>content_osdzu80207</content></entry></data> 2022-07-07 23:01:07 | target: http://localhost:8088 2022-07-07 23:01:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-07 23:01:07 | entity: <data><node>node_gpkgv80204</node><entry><content>content_osdzu80207</content></entry></data> 2022-07-07 23:01:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:01:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 23:01:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d9981184-cee4-4a76-ad60-5158b22a5611</value></item-id></result> 2022-07-07 23:01:07 | contains: true 2022-07-07 23:01:13 | [Mutex] waiting for: [user_regulark4nxr10203@test-domain.com:message:received:content_osdzu80207] 2022-07-07 23:01:13 | [Mutex] waiting for: [user_regulark4nxr10203@test-domain.com:message:received:content_osdzu80207] 2022-07-07 23:01:13 | [Mutex] received everything. 2022-07-07 23:01:13 | [Mutex] isItemNotified: user_regulark4nxr10203@test-domain.com:message:received:content_osdzu80207 :: true 2022-07-07 23:01:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-07 23:01:13 | [Mutex] received everything. 2022-07-07 23:01:13 | [Mutex] isItemNotified: node_gpkgv80204:subscribe_node:success :: true 2022-07-07 23:01:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-07 23:01:13 | command: <data><node>node_gpkgv80204</node><expire-at>2022-07-08T06:01:18Z</expire-at><entry><content>content_iftojb0208</content></entry></data> 2022-07-07 23:01:13 | target: http://localhost:8088 2022-07-07 23:01:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-07 23:01:13 | entity: <data><node>node_gpkgv80204</node><expire-at>2022-07-08T06:01:18Z</expire-at><entry><content>content_iftojb0208</content></entry></data> 2022-07-07 23:01:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 08 Jul 2022 06:01:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-07 23:01:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67c39aa0-5489-41f2-9b73-5c11fc0444ac</value></item-id></result> 2022-07-07 23:01:13 | contains: true 2022-07-07 23:01:21 | [Mutex] waiting for: [user_regulark4nxr10203@test-domain.com:message:received:content_iftojb0208] 2022-07-07 23:01:36 | [Mutex] timeout. Not received [user_regulark4nxr10203@test-domain.com:message:received:content_iftojb0208] 2022-07-07 23:01:36 | [Mutex] received everything. 2022-07-07 23:01:36 | [Mutex] isItemNotified: user_regulark4nxr10203@test-domain.com:message:received:content_iftojb0208 :: false 2022-07-07 23:01:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_iftojb0208 :: true |