Test duration : 44.973s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.597s |
2022-05-09 23:15:19 |
2022-05-09 23:15:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-09 23:15:19 | ------------------------------------ 2022-05-09 23:15:19 | [Mutex] isItemNotified: node_94ajkh0204:exists :: false 2022-05-09 23:15:19 | [Mutex] waiting for: [node_94ajkh0204:create_node] 2022-05-09 23:15:19 | [Mutex] received everything. 2022-05-09 23:15:19 | [Mutex] isItemNotified: node_94ajkh0204:create_node:success :: true 2022-05-09 23:15:19 | [Mutex] waiting for: [node_94ajkh0204:subscribe_node] 2022-05-09 23:15:19 | [Mutex] waiting for: [node_94ajkh0204:subscribe_node] 2022-05-09 23:15:19 | [Mutex] received everything. 2022-05-09 23:15:19 | [Mutex] isItemNotified: node_94ajkh0204:subscribe_node:success :: true 2022-05-09 23:15:19 | ===== publishing normal message (to online) 2022-05-09 23:15:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-09 23:15:19 | command: <data><node>node_94ajkh0204</node><entry><content>content_gt55q40205</content></entry></data> 2022-05-09 23:15:19 | target: http://localhost:8088 2022-05-09 23:15:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-09 23:15:19 | entity: <data><node>node_94ajkh0204</node><entry><content>content_gt55q40205</content></entry></data> 2022-05-09 23:15:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 06:15:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-09 23:15:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>96397e96-9814-4238-ba4f-a300a6a92dc9</value></item-id></result> 2022-05-09 23:15:19 | contains: true 2022-05-09 23:15:19 | [Mutex] received everything. 2022-05-09 23:15:19 | [Mutex] isItemNotified: user_regularkv926w0203@test-domain.com:message:received:content_gt55q40205 :: true 2022-05-09 23:15:19 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-09 23:15:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-09 23:15:19 | command: <data><node>node_94ajkh0204</node><expire-at>2022-05-10T06:15:14Z</expire-at><entry><content>content_3nxut0206</content></entry></data> 2022-05-09 23:15:19 | target: http://localhost:8088 2022-05-09 23:15:19 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-05-09 23:15:19 | entity: <data><node>node_94ajkh0204</node><expire-at>2022-05-10T06:15:14Z</expire-at><entry><content>content_3nxut0206</content></entry></data> 2022-05-09 23:15:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 06:15:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-09 23:15:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>22150bf7-8521-4176-bddb-38c1cc511696</value></item-id></result> 2022-05-09 23:15:19 | contains: true 2022-05-09 23:15:19 | [Mutex] waiting for: [user_regularkv926w0203@test-domain.com:message:received:content_3nxut0206] 2022-05-09 23:15:34 | [Mutex] timeout. Not received [user_regularkv926w0203@test-domain.com:message:received:content_3nxut0206] 2022-05-09 23:15:34 | [Mutex] isItemNotified: user_regularkv926w0203@test-domain.com:message:received:content_3nxut0206 :: false 2022-05-09 23:15:34 | ===== publishing normal message (to offline) 2022-05-09 23:15:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-09 23:15:34 | command: <data><node>node_94ajkh0204</node><entry><content>content_x2uq3d0207</content></entry></data> 2022-05-09 23:15:34 | target: http://localhost:8088 2022-05-09 23:15:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-09 23:15:34 | entity: <data><node>node_94ajkh0204</node><entry><content>content_x2uq3d0207</content></entry></data> 2022-05-09 23:15:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 06:15:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-09 23:15:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>80dc08ee-8ecb-4fe8-b998-fab366492f8c</value></item-id></result> 2022-05-09 23:15:34 | contains: true 2022-05-09 23:15:40 | [Mutex] waiting for: [user_regularkv926w0203@test-domain.com:message:received:content_x2uq3d0207] 2022-05-09 23:15:40 | [Mutex] received everything. 2022-05-09 23:15:40 | [Mutex] isItemNotified: user_regularkv926w0203@test-domain.com:message:received:content_x2uq3d0207 :: true 2022-05-09 23:15:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-09 23:15:40 | [Mutex] received everything. 2022-05-09 23:15:40 | [Mutex] isItemNotified: node_94ajkh0204:subscribe_node:success :: true 2022-05-09 23:15:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-09 23:15:40 | command: <data><node>node_94ajkh0204</node><expire-at>2022-05-10T06:15:45Z</expire-at><entry><content>content_zi3s990208</content></entry></data> 2022-05-09 23:15:40 | target: http://localhost:8088 2022-05-09 23:15:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-09 23:15:40 | entity: <data><node>node_94ajkh0204</node><expire-at>2022-05-10T06:15:45Z</expire-at><entry><content>content_zi3s990208</content></entry></data> 2022-05-09 23:15:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 10 May 2022 06:15:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-09 23:15:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f7d16478-be69-4a41-aa8a-586e53b3af76</value></item-id></result> 2022-05-09 23:15:40 | contains: true 2022-05-09 23:15:48 | [Mutex] waiting for: [user_regularkv926w0203@test-domain.com:message:received:content_zi3s990208] 2022-05-09 23:15:48 | [Mutex] waiting for: [user_regularkv926w0203@test-domain.com:message:received:content_zi3s990208] 2022-05-09 23:15:48 | [Mutex] waiting for: [user_regularkv926w0203@test-domain.com:message:received:content_zi3s990208] 2022-05-09 23:16:03 | [Mutex] timeout. Not received [user_regularkv926w0203@test-domain.com:message:received:content_zi3s990208] 2022-05-09 23:16:03 | [Mutex] received everything. 2022-05-09 23:16:03 | [Mutex] isItemNotified: user_regularkv926w0203@test-domain.com:message:received:content_zi3s990208 :: false 2022-05-09 23:16:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_zi3s990208 :: true |