Test duration : 45.738s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.858s |
2021-01-14 21:44:43 |
2021-01-14 21:44:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-14 21:44:43 | ------------------------------------ 2021-01-14 21:44:43 | [Mutex] isItemNotified: node_s3odmu0203:exists :: false 2021-01-14 21:44:43 | [Mutex] waiting for: [node_s3odmu0203:create_node] 2021-01-14 21:44:43 | [Mutex] received everything. 2021-01-14 21:44:43 | [Mutex] isItemNotified: node_s3odmu0203:create_node:success :: true 2021-01-14 21:44:43 | [Mutex] waiting for: [node_s3odmu0203:subscribe_node] 2021-01-14 21:44:43 | [Mutex] waiting for: [node_s3odmu0203:subscribe_node] 2021-01-14 21:44:43 | [Mutex] received everything. 2021-01-14 21:44:43 | [Mutex] isItemNotified: node_s3odmu0203:subscribe_node:success :: true 2021-01-14 21:44:43 | ===== publishing normal message (to online) 2021-01-14 21:44:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-14 21:44:43 | command: <data><node>node_s3odmu0203</node><entry><content>content_ueq8md0204</content></entry></data> 2021-01-14 21:44:43 | target: http://localhost:8088 2021-01-14 21:44:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-14 21:44:43 | entity: <data><node>node_s3odmu0203</node><entry><content>content_ueq8md0204</content></entry></data> 2021-01-14 21:44:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 05:44:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-14 21:44:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8da03a85-f8a1-4e84-aeb0-718dcb0fdecb</value></item-id></result> 2021-01-14 21:44:43 | contains: true 2021-01-14 21:44:43 | [Mutex] received everything. 2021-01-14 21:44:43 | [Mutex] isItemNotified: user_regularp6t2h40202@test-domain.com:message:received:content_ueq8md0204 :: true 2021-01-14 21:44:43 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-14 21:44:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-14 21:44:43 | command: <data><node>node_s3odmu0203</node><expire-at>2021-01-15T05:44:38Z</expire-at><entry><content>content_umglul0205</content></entry></data> 2021-01-14 21:44:43 | target: http://localhost:8088 2021-01-14 21:44:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-14 21:44:43 | entity: <data><node>node_s3odmu0203</node><expire-at>2021-01-15T05:44:38Z</expire-at><entry><content>content_umglul0205</content></entry></data> 2021-01-14 21:44:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 05:44:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-14 21:44:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>404fd5ab-bd09-4995-9f46-47d0173494ec</value></item-id></result> 2021-01-14 21:44:43 | contains: true 2021-01-14 21:44:43 | [Mutex] waiting for: [user_regularp6t2h40202@test-domain.com:message:received:content_umglul0205] 2021-01-14 21:44:58 | [Mutex] timeout. Not received [user_regularp6t2h40202@test-domain.com:message:received:content_umglul0205] 2021-01-14 21:44:58 | [Mutex] isItemNotified: user_regularp6t2h40202@test-domain.com:message:received:content_umglul0205 :: false 2021-01-14 21:44:58 | ===== publishing normal message (to offline) 2021-01-14 21:44:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-14 21:44:58 | command: <data><node>node_s3odmu0203</node><entry><content>content_s13ss00206</content></entry></data> 2021-01-14 21:44:58 | target: http://localhost:8088 2021-01-14 21:44:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-14 21:44:58 | entity: <data><node>node_s3odmu0203</node><entry><content>content_s13ss00206</content></entry></data> 2021-01-14 21:44:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 05:44:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-14 21:44:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0d4aac45-cba5-4875-91ee-c744d23bf617</value></item-id></result> 2021-01-14 21:44:58 | contains: true 2021-01-14 21:45:03 | [Mutex] waiting for: [user_regularp6t2h40202@test-domain.com:message:received:content_s13ss00206] 2021-01-14 21:45:03 | [Mutex] received everything. 2021-01-14 21:45:03 | [Mutex] isItemNotified: user_regularp6t2h40202@test-domain.com:message:received:content_s13ss00206 :: true 2021-01-14 21:45:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-14 21:45:03 | [Mutex] received everything. 2021-01-14 21:45:03 | [Mutex] isItemNotified: node_s3odmu0203:subscribe_node:success :: true 2021-01-14 21:45:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-14 21:45:03 | command: <data><node>node_s3odmu0203</node><expire-at>2021-01-15T05:45:08Z</expire-at><entry><content>content_54rhjx0207</content></entry></data> 2021-01-14 21:45:03 | target: http://localhost:8088 2021-01-14 21:45:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-14 21:45:03 | entity: <data><node>node_s3odmu0203</node><expire-at>2021-01-15T05:45:08Z</expire-at><entry><content>content_54rhjx0207</content></entry></data> 2021-01-14 21:45:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Jan 2021 05:45:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-14 21:45:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0dd4fe07-519c-46e3-a215-4f487372058b</value></item-id></result> 2021-01-14 21:45:03 | contains: true 2021-01-14 21:45:11 | [Mutex] waiting for: [user_regularp6t2h40202@test-domain.com:message:received:content_54rhjx0207] 2021-01-14 21:45:12 | [Mutex] waiting for: [user_regularp6t2h40202@test-domain.com:message:received:content_54rhjx0207] 2021-01-14 21:45:26 | [Mutex] timeout. Not received [user_regularp6t2h40202@test-domain.com:message:received:content_54rhjx0207] 2021-01-14 21:45:26 | [Mutex] received everything. 2021-01-14 21:45:26 | [Mutex] isItemNotified: user_regularp6t2h40202@test-domain.com:message:received:content_54rhjx0207 :: false 2021-01-14 21:45:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_54rhjx0207 :: true |