Test duration : 45.754s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.839s |
2021-12-06 21:54:17 |
2021-12-06 21:54:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-12-06 21:54:17 | ------------------------------------ 2021-12-06 21:54:17 | [Mutex] isItemNotified: node_1hkjh30203:exists :: false 2021-12-06 21:54:17 | [Mutex] waiting for: [node_1hkjh30203:create_node] 2021-12-06 21:54:17 | [Mutex] received everything. 2021-12-06 21:54:17 | [Mutex] isItemNotified: node_1hkjh30203:create_node:success :: true 2021-12-06 21:54:17 | [Mutex] waiting for: [node_1hkjh30203:subscribe_node] 2021-12-06 21:54:17 | [Mutex] received everything. 2021-12-06 21:54:17 | [Mutex] isItemNotified: node_1hkjh30203:subscribe_node:success :: true 2021-12-06 21:54:17 | ===== publishing normal message (to online) 2021-12-06 21:54:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-12-06 21:54:17 | command: <data><node>node_1hkjh30203</node><entry><content>content_nkon7b0204</content></entry></data> 2021-12-06 21:54:17 | target: http://localhost:8088 2021-12-06 21:54:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-12-06 21:54:17 | entity: <data><node>node_1hkjh30203</node><entry><content>content_nkon7b0204</content></entry></data> 2021-12-06 21:54:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 05:54:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-12-06 21:54:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5bd8f97b-164a-43bb-a4bc-522f88de0e58</value></item-id></result> 2021-12-06 21:54:17 | contains: true 2021-12-06 21:54:17 | [Mutex] waiting for: [user_regularpt2ntx0202@test-domain.com:message:received:content_nkon7b0204] 2021-12-06 21:54:17 | [Mutex] received everything. 2021-12-06 21:54:17 | [Mutex] isItemNotified: user_regularpt2ntx0202@test-domain.com:message:received:content_nkon7b0204 :: true 2021-12-06 21:54:17 | ===== publishing already old message - expecting message being filtered out (to online) 2021-12-06 21:54:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-12-06 21:54:17 | command: <data><node>node_1hkjh30203</node><expire-at>2021-12-07T05:54:12Z</expire-at><entry><content>content_81u15s0205</content></entry></data> 2021-12-06 21:54:17 | target: http://localhost:8088 2021-12-06 21:54:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-12-06 21:54:17 | entity: <data><node>node_1hkjh30203</node><expire-at>2021-12-07T05:54:12Z</expire-at><entry><content>content_81u15s0205</content></entry></data> 2021-12-06 21:54:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 05:54:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-12-06 21:54:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6113ed34-7a8f-40bb-9761-704241908747</value></item-id></result> 2021-12-06 21:54:17 | contains: true 2021-12-06 21:54:17 | [Mutex] waiting for: [user_regularpt2ntx0202@test-domain.com:message:received:content_81u15s0205] 2021-12-06 21:54:32 | [Mutex] timeout. Not received [user_regularpt2ntx0202@test-domain.com:message:received:content_81u15s0205] 2021-12-06 21:54:32 | [Mutex] isItemNotified: user_regularpt2ntx0202@test-domain.com:message:received:content_81u15s0205 :: false 2021-12-06 21:54:32 | ===== publishing normal message (to offline) 2021-12-06 21:54:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-12-06 21:54:33 | command: <data><node>node_1hkjh30203</node><entry><content>content_x6q7ju0206</content></entry></data> 2021-12-06 21:54:33 | target: http://localhost:8088 2021-12-06 21:54:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-12-06 21:54:33 | entity: <data><node>node_1hkjh30203</node><entry><content>content_x6q7ju0206</content></entry></data> 2021-12-06 21:54:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 05:54:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-12-06 21:54:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d2429b62-dc53-4479-9175-4a698e6d1928</value></item-id></result> 2021-12-06 21:54:33 | contains: true 2021-12-06 21:54:38 | [Mutex] waiting for: [user_regularpt2ntx0202@test-domain.com:message:received:content_x6q7ju0206] 2021-12-06 21:54:38 | [Mutex] received everything. 2021-12-06 21:54:38 | [Mutex] isItemNotified: user_regularpt2ntx0202@test-domain.com:message:received:content_x6q7ju0206 :: true 2021-12-06 21:54:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-12-06 21:54:38 | [Mutex] received everything. 2021-12-06 21:54:38 | [Mutex] isItemNotified: node_1hkjh30203:subscribe_node:success :: true 2021-12-06 21:54:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-12-06 21:54:38 | command: <data><node>node_1hkjh30203</node><expire-at>2021-12-07T05:54:43Z</expire-at><entry><content>content_ed6jk80207</content></entry></data> 2021-12-06 21:54:38 | target: http://localhost:8088 2021-12-06 21:54:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-12-06 21:54:38 | entity: <data><node>node_1hkjh30203</node><expire-at>2021-12-07T05:54:43Z</expire-at><entry><content>content_ed6jk80207</content></entry></data> 2021-12-06 21:54:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 07 Dec 2021 05:54:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-12-06 21:54:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>adf19570-5c5d-46ec-98f7-6d82f9405d3b</value></item-id></result> 2021-12-06 21:54:38 | contains: true 2021-12-06 21:54:46 | [Mutex] waiting for: [user_regularpt2ntx0202@test-domain.com:message:received:content_ed6jk80207] 2021-12-06 21:55:01 | [Mutex] timeout. Not received [user_regularpt2ntx0202@test-domain.com:message:received:content_ed6jk80207] 2021-12-06 21:55:01 | [Mutex] received everything. 2021-12-06 21:55:01 | [Mutex] isItemNotified: user_regularpt2ntx0202@test-domain.com:message:received:content_ed6jk80207 :: false 2021-12-06 21:55:01 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ed6jk80207 :: true |