Test duration : 45.424s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.668s |
2021-04-28 22:59:48 |
2021-04-28 22:59:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-28 22:59:48 | ------------------------------------ 2021-04-28 22:59:48 | [Mutex] isItemNotified: node_4qn3lt0203:exists :: false 2021-04-28 22:59:48 | [Mutex] waiting for: [node_4qn3lt0203:create_node] 2021-04-28 22:59:48 | [Mutex] received everything. 2021-04-28 22:59:48 | [Mutex] isItemNotified: node_4qn3lt0203:create_node:success :: true 2021-04-28 22:59:48 | [Mutex] waiting for: [node_4qn3lt0203:subscribe_node] 2021-04-28 22:59:48 | [Mutex] waiting for: [node_4qn3lt0203:subscribe_node] 2021-04-28 22:59:48 | [Mutex] received everything. 2021-04-28 22:59:48 | [Mutex] isItemNotified: node_4qn3lt0203:subscribe_node:success :: true 2021-04-28 22:59:48 | ===== publishing normal message (to online) 2021-04-28 22:59:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 22:59:48 | command: <data><node>node_4qn3lt0203</node><entry><content>content_empf6z0204</content></entry></data> 2021-04-28 22:59:48 | target: http://localhost:8088 2021-04-28 22:59:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-28 22:59:48 | entity: <data><node>node_4qn3lt0203</node><entry><content>content_empf6z0204</content></entry></data> 2021-04-28 22:59:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:59:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 22:59:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>934c915f-0b09-4885-95b1-e49b949211e2</value></item-id></result> 2021-04-28 22:59:48 | contains: true 2021-04-28 22:59:48 | [Mutex] waiting for: [user_regular5o5n1d0202@test-domain.com:message:received:content_empf6z0204] 2021-04-28 22:59:48 | [Mutex] received everything. 2021-04-28 22:59:48 | [Mutex] isItemNotified: user_regular5o5n1d0202@test-domain.com:message:received:content_empf6z0204 :: true 2021-04-28 22:59:48 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-28 22:59:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 22:59:48 | command: <data><node>node_4qn3lt0203</node><expire-at>2021-04-29T05:59:43Z</expire-at><entry><content>content_s3vahk0205</content></entry></data> 2021-04-28 22:59:48 | target: http://localhost:8088 2021-04-28 22:59:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-28 22:59:48 | entity: <data><node>node_4qn3lt0203</node><expire-at>2021-04-29T05:59:43Z</expire-at><entry><content>content_s3vahk0205</content></entry></data> 2021-04-28 22:59:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 05:59:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 22:59:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f89a5651-8992-4b9a-8d28-e6f0f8cad834</value></item-id></result> 2021-04-28 22:59:48 | contains: true 2021-04-28 22:59:48 | [Mutex] waiting for: [user_regular5o5n1d0202@test-domain.com:message:received:content_s3vahk0205] 2021-04-28 23:00:03 | [Mutex] timeout. Not received [user_regular5o5n1d0202@test-domain.com:message:received:content_s3vahk0205] 2021-04-28 23:00:03 | [Mutex] isItemNotified: user_regular5o5n1d0202@test-domain.com:message:received:content_s3vahk0205 :: false 2021-04-28 23:00:03 | ===== publishing normal message (to offline) 2021-04-28 23:00:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 23:00:03 | command: <data><node>node_4qn3lt0203</node><entry><content>content_e67d300206</content></entry></data> 2021-04-28 23:00:03 | target: http://localhost:8088 2021-04-28 23:00:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-28 23:00:03 | entity: <data><node>node_4qn3lt0203</node><entry><content>content_e67d300206</content></entry></data> 2021-04-28 23:00:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 06:00:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 23:00:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e121ff9f-0a71-4eed-a28a-b459cfa6270d</value></item-id></result> 2021-04-28 23:00:03 | contains: true 2021-04-28 23:00:09 | [Mutex] waiting for: [user_regular5o5n1d0202@test-domain.com:message:received:content_e67d300206] 2021-04-28 23:00:09 | [Mutex] waiting for: [user_regular5o5n1d0202@test-domain.com:message:received:content_e67d300206] 2021-04-28 23:00:09 | [Mutex] received everything. 2021-04-28 23:00:09 | [Mutex] isItemNotified: user_regular5o5n1d0202@test-domain.com:message:received:content_e67d300206 :: true 2021-04-28 23:00:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-28 23:00:09 | [Mutex] received everything. 2021-04-28 23:00:09 | [Mutex] isItemNotified: node_4qn3lt0203:subscribe_node:success :: true 2021-04-28 23:00:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-28 23:00:09 | command: <data><node>node_4qn3lt0203</node><expire-at>2021-04-29T06:00:14Z</expire-at><entry><content>content_ip6pz50207</content></entry></data> 2021-04-28 23:00:09 | target: http://localhost:8088 2021-04-28 23:00:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-28 23:00:09 | entity: <data><node>node_4qn3lt0203</node><expire-at>2021-04-29T06:00:14Z</expire-at><entry><content>content_ip6pz50207</content></entry></data> 2021-04-28 23:00:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Apr 2021 06:00:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-28 23:00:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bdc12011-107d-447e-a996-ac10f7f31e9f</value></item-id></result> 2021-04-28 23:00:09 | contains: true 2021-04-28 23:00:17 | [Mutex] waiting for: [user_regular5o5n1d0202@test-domain.com:message:received:content_ip6pz50207] 2021-04-28 23:00:32 | [Mutex] timeout. Not received [user_regular5o5n1d0202@test-domain.com:message:received:content_ip6pz50207] 2021-04-28 23:00:32 | [Mutex] received everything. 2021-04-28 23:00:32 | [Mutex] isItemNotified: user_regular5o5n1d0202@test-domain.com:message:received:content_ip6pz50207 :: false 2021-04-28 23:00:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ip6pz50207 :: true |