Test duration : 45.034s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.643s |
2022-03-03 03:44:41 |
2022-03-03 03:44:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-03-03 03:44:41 | ------------------------------------ 2022-03-03 03:44:41 | [Mutex] isItemNotified: node_gcqvel0203:exists :: false 2022-03-03 03:44:41 | [Mutex] waiting for: [node_gcqvel0203:create_node] 2022-03-03 03:44:41 | [Mutex] received everything. 2022-03-03 03:44:41 | [Mutex] isItemNotified: node_gcqvel0203:create_node:success :: true 2022-03-03 03:44:41 | [Mutex] waiting for: [node_gcqvel0203:subscribe_node] 2022-03-03 03:44:41 | [Mutex] waiting for: [node_gcqvel0203:subscribe_node] 2022-03-03 03:44:41 | [Mutex] received everything. 2022-03-03 03:44:41 | [Mutex] isItemNotified: node_gcqvel0203:subscribe_node:success :: true 2022-03-03 03:44:41 | ===== publishing normal message (to online) 2022-03-03 03:44:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 03:44:41 | command: <data><node>node_gcqvel0203</node><entry><content>content_5hckew0204</content></entry></data> 2022-03-03 03:44:41 | target: http://localhost:8088 2022-03-03 03:44:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-03 03:44:41 | entity: <data><node>node_gcqvel0203</node><entry><content>content_5hckew0204</content></entry></data> 2022-03-03 03:44:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 11:44:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 03:44:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c7ca952-2f45-4711-9b84-6a80a551345a</value></item-id></result> 2022-03-03 03:44:41 | contains: true 2022-03-03 03:44:41 | [Mutex] received everything. 2022-03-03 03:44:41 | [Mutex] isItemNotified: user_regular8agvtp0202@test-domain.com:message:received:content_5hckew0204 :: true 2022-03-03 03:44:41 | ===== publishing already old message - expecting message being filtered out (to online) 2022-03-03 03:44:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 03:44:41 | command: <data><node>node_gcqvel0203</node><expire-at>2022-03-03T11:44:36Z</expire-at><entry><content>content_fdyjj50205</content></entry></data> 2022-03-03 03:44:41 | target: http://localhost:8088 2022-03-03 03:44:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-03 03:44:41 | entity: <data><node>node_gcqvel0203</node><expire-at>2022-03-03T11:44:36Z</expire-at><entry><content>content_fdyjj50205</content></entry></data> 2022-03-03 03:44:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 11:44:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 03:44:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b1623b44-053e-465d-9146-7d04e39f2248</value></item-id></result> 2022-03-03 03:44:41 | contains: true 2022-03-03 03:44:41 | [Mutex] waiting for: [user_regular8agvtp0202@test-domain.com:message:received:content_fdyjj50205] 2022-03-03 03:44:56 | [Mutex] timeout. Not received [user_regular8agvtp0202@test-domain.com:message:received:content_fdyjj50205] 2022-03-03 03:44:56 | [Mutex] isItemNotified: user_regular8agvtp0202@test-domain.com:message:received:content_fdyjj50205 :: false 2022-03-03 03:44:56 | ===== publishing normal message (to offline) 2022-03-03 03:44:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 03:44:56 | command: <data><node>node_gcqvel0203</node><entry><content>content_38qymw0206</content></entry></data> 2022-03-03 03:44:56 | target: http://localhost:8088 2022-03-03 03:44:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-03 03:44:56 | entity: <data><node>node_gcqvel0203</node><entry><content>content_38qymw0206</content></entry></data> 2022-03-03 03:44:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 11:44:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 03:44:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>86725bc3-8593-4492-bf9a-3e8977905607</value></item-id></result> 2022-03-03 03:44:56 | contains: true 2022-03-03 03:45:01 | [Mutex] waiting for: [user_regular8agvtp0202@test-domain.com:message:received:content_38qymw0206] 2022-03-03 03:45:01 | [Mutex] received everything. 2022-03-03 03:45:01 | [Mutex] isItemNotified: user_regular8agvtp0202@test-domain.com:message:received:content_38qymw0206 :: true 2022-03-03 03:45:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-03-03 03:45:01 | [Mutex] received everything. 2022-03-03 03:45:01 | [Mutex] isItemNotified: node_gcqvel0203:subscribe_node:success :: true 2022-03-03 03:45:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-03 03:45:01 | command: <data><node>node_gcqvel0203</node><expire-at>2022-03-03T11:45:06Z</expire-at><entry><content>content_4vp4z10207</content></entry></data> 2022-03-03 03:45:01 | target: http://localhost:8088 2022-03-03 03:45:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-03 03:45:01 | entity: <data><node>node_gcqvel0203</node><expire-at>2022-03-03T11:45:06Z</expire-at><entry><content>content_4vp4z10207</content></entry></data> 2022-03-03 03:45:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Mar 2022 11:45:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-03 03:45:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ea8d4cfe-dea2-45f0-8f62-66163ad10236</value></item-id></result> 2022-03-03 03:45:01 | contains: true 2022-03-03 03:45:09 | [Mutex] waiting for: [user_regular8agvtp0202@test-domain.com:message:received:content_4vp4z10207] 2022-03-03 03:45:09 | [Mutex] waiting for: [user_regular8agvtp0202@test-domain.com:message:received:content_4vp4z10207] 2022-03-03 03:45:24 | [Mutex] timeout. Not received [user_regular8agvtp0202@test-domain.com:message:received:content_4vp4z10207] 2022-03-03 03:45:24 | [Mutex] received everything. 2022-03-03 03:45:24 | [Mutex] isItemNotified: user_regular8agvtp0202@test-domain.com:message:received:content_4vp4z10207 :: false 2022-03-03 03:45:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4vp4z10207 :: true |