Test duration : 45.019s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.763s |
2022-02-07 21:45:47 |
2022-02-07 21:45:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-07 21:45:47 | ------------------------------------ 2022-02-07 21:45:47 | [Mutex] isItemNotified: node_yfjieo0203:exists :: false 2022-02-07 21:45:47 | [Mutex] waiting for: [node_yfjieo0203:create_node] 2022-02-07 21:45:47 | [Mutex] received everything. 2022-02-07 21:45:47 | [Mutex] isItemNotified: node_yfjieo0203:create_node:success :: true 2022-02-07 21:45:47 | [Mutex] waiting for: [node_yfjieo0203:subscribe_node] 2022-02-07 21:45:47 | [Mutex] waiting for: [node_yfjieo0203:subscribe_node] 2022-02-07 21:45:47 | [Mutex] received everything. 2022-02-07 21:45:47 | [Mutex] isItemNotified: node_yfjieo0203:subscribe_node:success :: true 2022-02-07 21:45:47 | ===== publishing normal message (to online) 2022-02-07 21:45:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:45:47 | command: <data><node>node_yfjieo0203</node><entry><content>content_z30gtq0204</content></entry></data> 2022-02-07 21:45:47 | target: http://localhost:8088 2022-02-07 21:45:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-07 21:45:47 | entity: <data><node>node_yfjieo0203</node><entry><content>content_z30gtq0204</content></entry></data> 2022-02-07 21:45:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:45:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:45:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>809b1b20-6757-4bd7-b66f-5745cdf4fea2</value></item-id></result> 2022-02-07 21:45:47 | contains: true 2022-02-07 21:45:47 | [Mutex] received everything. 2022-02-07 21:45:47 | [Mutex] isItemNotified: user_regularav0i4k0202@test-domain.com:message:received:content_z30gtq0204 :: true 2022-02-07 21:45:47 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-07 21:45:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:45:47 | command: <data><node>node_yfjieo0203</node><expire-at>2022-02-08T05:45:42Z</expire-at><entry><content>content_ku5kya0205</content></entry></data> 2022-02-07 21:45:47 | target: http://localhost:8088 2022-02-07 21:45:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-07 21:45:47 | entity: <data><node>node_yfjieo0203</node><expire-at>2022-02-08T05:45:42Z</expire-at><entry><content>content_ku5kya0205</content></entry></data> 2022-02-07 21:45:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:45:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:45:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e40986cd-ad30-42da-8bbc-0a603a334179</value></item-id></result> 2022-02-07 21:45:47 | contains: true 2022-02-07 21:45:47 | [Mutex] waiting for: [user_regularav0i4k0202@test-domain.com:message:received:content_ku5kya0205] 2022-02-07 21:46:02 | [Mutex] timeout. Not received [user_regularav0i4k0202@test-domain.com:message:received:content_ku5kya0205] 2022-02-07 21:46:02 | [Mutex] isItemNotified: user_regularav0i4k0202@test-domain.com:message:received:content_ku5kya0205 :: false 2022-02-07 21:46:02 | ===== publishing normal message (to offline) 2022-02-07 21:46:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:46:02 | command: <data><node>node_yfjieo0203</node><entry><content>content_bsv2dj0206</content></entry></data> 2022-02-07 21:46:02 | target: http://localhost:8088 2022-02-07 21:46:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-07 21:46:02 | entity: <data><node>node_yfjieo0203</node><entry><content>content_bsv2dj0206</content></entry></data> 2022-02-07 21:46:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:46:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:46:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5ad1afbb-a2d4-4e02-b5ed-ddd4889dd9d6</value></item-id></result> 2022-02-07 21:46:02 | contains: true 2022-02-07 21:46:08 | [Mutex] waiting for: [user_regularav0i4k0202@test-domain.com:message:received:content_bsv2dj0206] 2022-02-07 21:46:08 | [Mutex] received everything. 2022-02-07 21:46:08 | [Mutex] isItemNotified: user_regularav0i4k0202@test-domain.com:message:received:content_bsv2dj0206 :: true 2022-02-07 21:46:08 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-07 21:46:08 | [Mutex] received everything. 2022-02-07 21:46:08 | [Mutex] isItemNotified: node_yfjieo0203:subscribe_node:success :: true 2022-02-07 21:46:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-07 21:46:08 | command: <data><node>node_yfjieo0203</node><expire-at>2022-02-08T05:46:13Z</expire-at><entry><content>content_3wlubu0207</content></entry></data> 2022-02-07 21:46:08 | target: http://localhost:8088 2022-02-07 21:46:08 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-07 21:46:08 | entity: <data><node>node_yfjieo0203</node><expire-at>2022-02-08T05:46:13Z</expire-at><entry><content>content_3wlubu0207</content></entry></data> 2022-02-07 21:46:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 08 Feb 2022 05:46:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-07 21:46:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>448cca13-13b0-42c8-96a3-fb68a79c1ea5</value></item-id></result> 2022-02-07 21:46:08 | contains: true 2022-02-07 21:46:16 | [Mutex] waiting for: [user_regularav0i4k0202@test-domain.com:message:received:content_3wlubu0207] 2022-02-07 21:46:31 | [Mutex] timeout. Not received [user_regularav0i4k0202@test-domain.com:message:received:content_3wlubu0207] 2022-02-07 21:46:31 | [Mutex] received everything. 2022-02-07 21:46:31 | [Mutex] isItemNotified: user_regularav0i4k0202@test-domain.com:message:received:content_3wlubu0207 :: false 2022-02-07 21:46:31 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3wlubu0207 :: true |