Test duration : 44.960s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.621s |
2021-11-15 22:51:41 |
2021-11-15 22:51:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-15 22:51:41 | ------------------------------------ 2021-11-15 22:51:41 | [Mutex] isItemNotified: node_y8h0o30203:exists :: false 2021-11-15 22:51:41 | [Mutex] waiting for: [node_y8h0o30203:create_node] 2021-11-15 22:51:41 | [Mutex] received everything. 2021-11-15 22:51:41 | [Mutex] isItemNotified: node_y8h0o30203:create_node:success :: true 2021-11-15 22:51:41 | [Mutex] waiting for: [node_y8h0o30203:subscribe_node] 2021-11-15 22:51:41 | [Mutex] waiting for: [node_y8h0o30203:subscribe_node] 2021-11-15 22:51:41 | [Mutex] received everything. 2021-11-15 22:51:41 | [Mutex] isItemNotified: node_y8h0o30203:subscribe_node:success :: true 2021-11-15 22:51:41 | ===== publishing normal message (to online) 2021-11-15 22:51:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:51:41 | command: <data><node>node_y8h0o30203</node><entry><content>content_sjxpp0204</content></entry></data> 2021-11-15 22:51:41 | target: http://localhost:8088 2021-11-15 22:51:41 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-11-15 22:51:41 | entity: <data><node>node_y8h0o30203</node><entry><content>content_sjxpp0204</content></entry></data> 2021-11-15 22:51:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:51:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:51:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e9f1731f-30a9-4683-b7d8-bbdf3393b04e</value></item-id></result> 2021-11-15 22:51:41 | contains: true 2021-11-15 22:51:41 | [Mutex] received everything. 2021-11-15 22:51:41 | [Mutex] isItemNotified: user_regular4ozw4d0202@test-domain.com:message:received:content_sjxpp0204 :: true 2021-11-15 22:51:41 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-15 22:51:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:51:41 | command: <data><node>node_y8h0o30203</node><expire-at>2021-11-16T06:51:36Z</expire-at><entry><content>content_uvg3tb0205</content></entry></data> 2021-11-15 22:51:41 | target: http://localhost:8088 2021-11-15 22:51:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-15 22:51:41 | entity: <data><node>node_y8h0o30203</node><expire-at>2021-11-16T06:51:36Z</expire-at><entry><content>content_uvg3tb0205</content></entry></data> 2021-11-15 22:51:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:51:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:51:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>90db262a-66b8-4da6-a523-8c24ec898178</value></item-id></result> 2021-11-15 22:51:41 | contains: true 2021-11-15 22:51:41 | [Mutex] waiting for: [user_regular4ozw4d0202@test-domain.com:message:received:content_uvg3tb0205] 2021-11-15 22:51:56 | [Mutex] timeout. Not received [user_regular4ozw4d0202@test-domain.com:message:received:content_uvg3tb0205] 2021-11-15 22:51:56 | [Mutex] isItemNotified: user_regular4ozw4d0202@test-domain.com:message:received:content_uvg3tb0205 :: false 2021-11-15 22:51:56 | ===== publishing normal message (to offline) 2021-11-15 22:51:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:51:57 | command: <data><node>node_y8h0o30203</node><entry><content>content_rto2cg0206</content></entry></data> 2021-11-15 22:51:57 | target: http://localhost:8088 2021-11-15 22:51:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-15 22:51:57 | entity: <data><node>node_y8h0o30203</node><entry><content>content_rto2cg0206</content></entry></data> 2021-11-15 22:51:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:51:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:51:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fdcdc00f-9c22-4fb3-aa4f-d21ad29bbaf0</value></item-id></result> 2021-11-15 22:51:57 | contains: true 2021-11-15 22:52:02 | [Mutex] waiting for: [user_regular4ozw4d0202@test-domain.com:message:received:content_rto2cg0206] 2021-11-15 22:52:02 | [Mutex] waiting for: [user_regular4ozw4d0202@test-domain.com:message:received:content_rto2cg0206] 2021-11-15 22:52:02 | [Mutex] received everything. 2021-11-15 22:52:02 | [Mutex] isItemNotified: user_regular4ozw4d0202@test-domain.com:message:received:content_rto2cg0206 :: true 2021-11-15 22:52:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-15 22:52:02 | [Mutex] received everything. 2021-11-15 22:52:02 | [Mutex] isItemNotified: node_y8h0o30203:subscribe_node:success :: true 2021-11-15 22:52:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-15 22:52:02 | command: <data><node>node_y8h0o30203</node><expire-at>2021-11-16T06:52:07Z</expire-at><entry><content>content_t3gzwa0207</content></entry></data> 2021-11-15 22:52:02 | target: http://localhost:8088 2021-11-15 22:52:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-15 22:52:02 | entity: <data><node>node_y8h0o30203</node><expire-at>2021-11-16T06:52:07Z</expire-at><entry><content>content_t3gzwa0207</content></entry></data> 2021-11-15 22:52:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Nov 2021 06:52:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-15 22:52:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a92d7a4f-7031-48c3-b8f8-187543722018</value></item-id></result> 2021-11-15 22:52:02 | contains: true 2021-11-15 22:52:10 | [Mutex] waiting for: [user_regular4ozw4d0202@test-domain.com:message:received:content_t3gzwa0207] 2021-11-15 22:52:25 | [Mutex] timeout. Not received [user_regular4ozw4d0202@test-domain.com:message:received:content_t3gzwa0207] 2021-11-15 22:52:25 | [Mutex] received everything. 2021-11-15 22:52:25 | [Mutex] isItemNotified: user_regular4ozw4d0202@test-domain.com:message:received:content_t3gzwa0207 :: false 2021-11-15 22:52:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t3gzwa0207 :: true |