Test duration : 45.292s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.813s |
2021-03-08 22:06:20 |
2021-03-08 22:06:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-08 22:06:20 | ------------------------------------ 2021-03-08 22:06:20 | [Mutex] isItemNotified: node_1246cv0203:exists :: false 2021-03-08 22:06:20 | [Mutex] waiting for: [node_1246cv0203:create_node] 2021-03-08 22:06:20 | [Mutex] received everything. 2021-03-08 22:06:20 | [Mutex] isItemNotified: node_1246cv0203:create_node:success :: true 2021-03-08 22:06:20 | [Mutex] waiting for: [node_1246cv0203:subscribe_node] 2021-03-08 22:06:20 | [Mutex] waiting for: [node_1246cv0203:subscribe_node] 2021-03-08 22:06:20 | [Mutex] received everything. 2021-03-08 22:06:20 | [Mutex] isItemNotified: node_1246cv0203:subscribe_node:success :: true 2021-03-08 22:06:20 | ===== publishing normal message (to online) 2021-03-08 22:06:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 22:06:20 | command: <data><node>node_1246cv0203</node><entry><content>content_byrzce0204</content></entry></data> 2021-03-08 22:06:20 | target: http://localhost:8088 2021-03-08 22:06:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-08 22:06:20 | entity: <data><node>node_1246cv0203</node><entry><content>content_byrzce0204</content></entry></data> 2021-03-08 22:06:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 06:06:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 22:06:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c26ea01d-e712-41db-a2b3-423fdbc11133</value></item-id></result> 2021-03-08 22:06:20 | contains: true 2021-03-08 22:06:20 | [Mutex] waiting for: [user_regularv6edh20202@test-domain.com:message:received:content_byrzce0204] 2021-03-08 22:06:20 | [Mutex] received everything. 2021-03-08 22:06:20 | [Mutex] isItemNotified: user_regularv6edh20202@test-domain.com:message:received:content_byrzce0204 :: true 2021-03-08 22:06:20 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-08 22:06:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 22:06:20 | command: <data><node>node_1246cv0203</node><expire-at>2021-03-09T06:06:15Z</expire-at><entry><content>content_f57s110205</content></entry></data> 2021-03-08 22:06:20 | target: http://localhost:8088 2021-03-08 22:06:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-08 22:06:20 | entity: <data><node>node_1246cv0203</node><expire-at>2021-03-09T06:06:15Z</expire-at><entry><content>content_f57s110205</content></entry></data> 2021-03-08 22:06:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 06:06:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 22:06:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>98232b03-f1dd-4f0d-b3c8-cb9a6e359864</value></item-id></result> 2021-03-08 22:06:20 | contains: true 2021-03-08 22:06:20 | [Mutex] waiting for: [user_regularv6edh20202@test-domain.com:message:received:content_f57s110205] 2021-03-08 22:06:35 | [Mutex] timeout. Not received [user_regularv6edh20202@test-domain.com:message:received:content_f57s110205] 2021-03-08 22:06:35 | [Mutex] isItemNotified: user_regularv6edh20202@test-domain.com:message:received:content_f57s110205 :: false 2021-03-08 22:06:35 | ===== publishing normal message (to offline) 2021-03-08 22:06:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 22:06:35 | command: <data><node>node_1246cv0203</node><entry><content>content_ihqiun0206</content></entry></data> 2021-03-08 22:06:35 | target: http://localhost:8088 2021-03-08 22:06:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-08 22:06:35 | entity: <data><node>node_1246cv0203</node><entry><content>content_ihqiun0206</content></entry></data> 2021-03-08 22:06:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 06:06:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 22:06:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>73eed0a0-231c-4189-b523-9db3b6ac1970</value></item-id></result> 2021-03-08 22:06:35 | contains: true 2021-03-08 22:06:40 | [Mutex] waiting for: [user_regularv6edh20202@test-domain.com:message:received:content_ihqiun0206] 2021-03-08 22:06:40 | [Mutex] waiting for: [user_regularv6edh20202@test-domain.com:message:received:content_ihqiun0206] 2021-03-08 22:06:40 | [Mutex] received everything. 2021-03-08 22:06:40 | [Mutex] isItemNotified: user_regularv6edh20202@test-domain.com:message:received:content_ihqiun0206 :: true 2021-03-08 22:06:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-08 22:06:40 | [Mutex] received everything. 2021-03-08 22:06:40 | [Mutex] isItemNotified: node_1246cv0203:subscribe_node:success :: true 2021-03-08 22:06:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 22:06:40 | command: <data><node>node_1246cv0203</node><expire-at>2021-03-09T06:06:45Z</expire-at><entry><content>content_y1j7ri0207</content></entry></data> 2021-03-08 22:06:40 | target: http://localhost:8088 2021-03-08 22:06:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-08 22:06:40 | entity: <data><node>node_1246cv0203</node><expire-at>2021-03-09T06:06:45Z</expire-at><entry><content>content_y1j7ri0207</content></entry></data> 2021-03-08 22:06:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 06:06:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 22:06:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>79da9b88-f5c2-43eb-a3c4-c79d59a847b2</value></item-id></result> 2021-03-08 22:06:41 | contains: true 2021-03-08 22:06:49 | [Mutex] waiting for: [user_regularv6edh20202@test-domain.com:message:received:content_y1j7ri0207] 2021-03-08 22:06:49 | [Mutex] waiting for: [user_regularv6edh20202@test-domain.com:message:received:content_y1j7ri0207] 2021-03-08 22:06:49 | [Mutex] waiting for: [user_regularv6edh20202@test-domain.com:message:received:content_y1j7ri0207] 2021-03-08 22:07:04 | [Mutex] timeout. Not received [user_regularv6edh20202@test-domain.com:message:received:content_y1j7ri0207] 2021-03-08 22:07:04 | [Mutex] received everything. 2021-03-08 22:07:04 | [Mutex] isItemNotified: user_regularv6edh20202@test-domain.com:message:received:content_y1j7ri0207 :: false 2021-03-08 22:07:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_y1j7ri0207 :: true |