Test duration: 44.957s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.631s |
2020-06-30 01:11:25 |
2020-06-30 01:11:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-30 01:11:25 | ------------------------------------ 2020-06-30 01:11:25 | [Mutex] isItemNotified: node_tjtdge0206:exists :: false 2020-06-30 01:11:25 | [Mutex] waiting for: [node_tjtdge0206:create_node] 2020-06-30 01:11:25 | [Mutex] received everything. 2020-06-30 01:11:25 | [Mutex] isItemNotified: node_tjtdge0206:create_node:success :: true 2020-06-30 01:11:25 | [Mutex] waiting for: [node_tjtdge0206:subscribe_node] 2020-06-30 01:11:25 | [Mutex] received everything. 2020-06-30 01:11:25 | [Mutex] isItemNotified: node_tjtdge0206:subscribe_node:success :: true 2020-06-30 01:11:25 | ===== publishing normal message (to online) 2020-06-30 01:11:25 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-30 01:11:25 | command: <data><node>node_tjtdge0206</node><entry><content>content_h3vfyk0207</content></entry></data> 2020-06-30 01:11:25 | target: http://localhost:8088 2020-06-30 01:11:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-30 01:11:25 | entity: <data><node>node_tjtdge0206</node><entry><content>content_h3vfyk0207</content></entry></data> 2020-06-30 01:11:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Jun 2020 08:11:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-30 01:11:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b35859bf-405c-4173-b8ba-be73b040e15b</value></item-id></result> 2020-06-30 01:11:25 | contains: true 2020-06-30 01:11:25 | [Mutex] received everything. 2020-06-30 01:11:25 | [Mutex] isItemNotified: user_regularitami10205@localhost:message:received:content_h3vfyk0207 :: true 2020-06-30 01:11:25 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-30 01:11:25 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-30 01:11:25 | command: <data><node>node_tjtdge0206</node><expire-at>2020-06-30T08:11:20Z</expire-at><entry><content>content_h9yaiz0208</content></entry></data> 2020-06-30 01:11:25 | target: http://localhost:8088 2020-06-30 01:11:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-30 01:11:25 | entity: <data><node>node_tjtdge0206</node><expire-at>2020-06-30T08:11:20Z</expire-at><entry><content>content_h9yaiz0208</content></entry></data> 2020-06-30 01:11:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Jun 2020 08:11:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-30 01:11:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5546e4a0-9aab-4991-9208-b3d98c072390</value></item-id></result> 2020-06-30 01:11:26 | contains: true 2020-06-30 01:11:26 | [Mutex] waiting for: [user_regularitami10205@localhost:message:received:content_h9yaiz0208] 2020-06-30 01:11:41 | [Mutex] timeout. Not received [user_regularitami10205@localhost:message:received:content_h9yaiz0208] 2020-06-30 01:11:41 | [Mutex] isItemNotified: user_regularitami10205@localhost:message:received:content_h9yaiz0208 :: false 2020-06-30 01:11:41 | ===== publishing normal message (to offline) 2020-06-30 01:11:41 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-30 01:11:41 | command: <data><node>node_tjtdge0206</node><entry><content>content_ceriyr0209</content></entry></data> 2020-06-30 01:11:41 | target: http://localhost:8088 2020-06-30 01:11:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-30 01:11:41 | entity: <data><node>node_tjtdge0206</node><entry><content>content_ceriyr0209</content></entry></data> 2020-06-30 01:11:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Jun 2020 08:11:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-30 01:11:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9b6dd4ce-74a9-43fa-b619-8dd5b96f5b77</value></item-id></result> 2020-06-30 01:11:41 | contains: true 2020-06-30 01:11:46 | [Mutex] waiting for: [user_regularitami10205@localhost:message:received:content_ceriyr0209] 2020-06-30 01:11:46 | [Mutex] received everything. 2020-06-30 01:11:46 | [Mutex] isItemNotified: user_regularitami10205@localhost:message:received:content_ceriyr0209 :: true 2020-06-30 01:11:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-30 01:11:46 | [Mutex] received everything. 2020-06-30 01:11:46 | [Mutex] isItemNotified: node_tjtdge0206:subscribe_node:success :: true 2020-06-30 01:11:46 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-30 01:11:46 | command: <data><node>node_tjtdge0206</node><expire-at>2020-06-30T08:11:51Z</expire-at><entry><content>content_ze7k3o0210</content></entry></data> 2020-06-30 01:11:46 | target: http://localhost:8088 2020-06-30 01:11:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-30 01:11:46 | entity: <data><node>node_tjtdge0206</node><expire-at>2020-06-30T08:11:51Z</expire-at><entry><content>content_ze7k3o0210</content></entry></data> 2020-06-30 01:11:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 Jun 2020 08:11:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-30 01:11:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0c86286b-91d3-462b-aeaf-32b2fbdda37a</value></item-id></result> 2020-06-30 01:11:46 | contains: true 2020-06-30 01:11:54 | [Mutex] waiting for: [user_regularitami10205@localhost:message:received:content_ze7k3o0210] 2020-06-30 01:11:54 | [Mutex] waiting for: [user_regularitami10205@localhost:message:received:content_ze7k3o0210] 2020-06-30 01:11:54 | [Mutex] waiting for: [user_regularitami10205@localhost:message:received:content_ze7k3o0210] 2020-06-30 01:12:09 | [Mutex] timeout. Not received [user_regularitami10205@localhost:message:received:content_ze7k3o0210] 2020-06-30 01:12:09 | [Mutex] received everything. 2020-06-30 01:12:09 | [Mutex] isItemNotified: user_regularitami10205@localhost:message:received:content_ze7k3o0210 :: false 2020-06-30 01:12:09 | [Mutex] isItemNotified: admin@localhost:message:received:content_ze7k3o0210 :: true |