Test duration : 44.946s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.624s |
2021-05-12 22:28:58 |
2021-05-12 22:28:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-12 22:28:58 | ------------------------------------ 2021-05-12 22:28:58 | [Mutex] isItemNotified: node_bjmnjh0203:exists :: false 2021-05-12 22:28:58 | [Mutex] waiting for: [node_bjmnjh0203:create_node] 2021-05-12 22:28:59 | [Mutex] received everything. 2021-05-12 22:28:59 | [Mutex] isItemNotified: node_bjmnjh0203:create_node:success :: true 2021-05-12 22:28:59 | [Mutex] waiting for: [node_bjmnjh0203:subscribe_node] 2021-05-12 22:28:59 | [Mutex] waiting for: [node_bjmnjh0203:subscribe_node] 2021-05-12 22:28:59 | [Mutex] received everything. 2021-05-12 22:28:59 | [Mutex] isItemNotified: node_bjmnjh0203:subscribe_node:success :: true 2021-05-12 22:28:59 | ===== publishing normal message (to online) 2021-05-12 22:28:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 22:28:59 | command: <data><node>node_bjmnjh0203</node><entry><content>content_rw92350204</content></entry></data> 2021-05-12 22:28:59 | target: http://localhost:8088 2021-05-12 22:28:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-12 22:28:59 | entity: <data><node>node_bjmnjh0203</node><entry><content>content_rw92350204</content></entry></data> 2021-05-12 22:28:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:28:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 22:28:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6a323004-05c0-47d8-b075-c073c59b7dae</value></item-id></result> 2021-05-12 22:28:59 | contains: true 2021-05-12 22:28:59 | [Mutex] received everything. 2021-05-12 22:28:59 | [Mutex] isItemNotified: user_regularr2rxrk0202@test-domain.com:message:received:content_rw92350204 :: true 2021-05-12 22:28:59 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-12 22:28:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 22:28:59 | command: <data><node>node_bjmnjh0203</node><expire-at>2021-05-13T05:28:54Z</expire-at><entry><content>content_akq4oh0205</content></entry></data> 2021-05-12 22:28:59 | target: http://localhost:8088 2021-05-12 22:28:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-12 22:28:59 | entity: <data><node>node_bjmnjh0203</node><expire-at>2021-05-13T05:28:54Z</expire-at><entry><content>content_akq4oh0205</content></entry></data> 2021-05-12 22:28:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:28:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 22:28:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>47f90f6d-e895-41ad-bc1f-c267a0e3e091</value></item-id></result> 2021-05-12 22:28:59 | contains: true 2021-05-12 22:28:59 | [Mutex] waiting for: [user_regularr2rxrk0202@test-domain.com:message:received:content_akq4oh0205] 2021-05-12 22:29:14 | [Mutex] timeout. Not received [user_regularr2rxrk0202@test-domain.com:message:received:content_akq4oh0205] 2021-05-12 22:29:14 | [Mutex] isItemNotified: user_regularr2rxrk0202@test-domain.com:message:received:content_akq4oh0205 :: false 2021-05-12 22:29:14 | ===== publishing normal message (to offline) 2021-05-12 22:29:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 22:29:14 | command: <data><node>node_bjmnjh0203</node><entry><content>content_jeat5f0206</content></entry></data> 2021-05-12 22:29:14 | target: http://localhost:8088 2021-05-12 22:29:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-12 22:29:14 | entity: <data><node>node_bjmnjh0203</node><entry><content>content_jeat5f0206</content></entry></data> 2021-05-12 22:29:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:29:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 22:29:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>229c44f9-0e5b-4ca6-904c-1df708a649d8</value></item-id></result> 2021-05-12 22:29:14 | contains: true 2021-05-12 22:29:19 | [Mutex] waiting for: [user_regularr2rxrk0202@test-domain.com:message:received:content_jeat5f0206] 2021-05-12 22:29:19 | [Mutex] waiting for: [user_regularr2rxrk0202@test-domain.com:message:received:content_jeat5f0206] 2021-05-12 22:29:19 | [Mutex] received everything. 2021-05-12 22:29:19 | [Mutex] isItemNotified: user_regularr2rxrk0202@test-domain.com:message:received:content_jeat5f0206 :: true 2021-05-12 22:29:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-12 22:29:19 | [Mutex] received everything. 2021-05-12 22:29:19 | [Mutex] isItemNotified: node_bjmnjh0203:subscribe_node:success :: true 2021-05-12 22:29:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-12 22:29:19 | command: <data><node>node_bjmnjh0203</node><expire-at>2021-05-13T05:29:24Z</expire-at><entry><content>content_srp6s60207</content></entry></data> 2021-05-12 22:29:19 | target: http://localhost:8088 2021-05-12 22:29:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-12 22:29:19 | entity: <data><node>node_bjmnjh0203</node><expire-at>2021-05-13T05:29:24Z</expire-at><entry><content>content_srp6s60207</content></entry></data> 2021-05-12 22:29:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 13 May 2021 05:29:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-12 22:29:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>caf6c61f-76b9-4732-8d91-43f823c84e94</value></item-id></result> 2021-05-12 22:29:19 | contains: true 2021-05-12 22:29:27 | [Mutex] waiting for: [user_regularr2rxrk0202@test-domain.com:message:received:content_srp6s60207] 2021-05-12 22:29:42 | [Mutex] timeout. Not received [user_regularr2rxrk0202@test-domain.com:message:received:content_srp6s60207] 2021-05-12 22:29:42 | [Mutex] received everything. 2021-05-12 22:29:42 | [Mutex] isItemNotified: user_regularr2rxrk0202@test-domain.com:message:received:content_srp6s60207 :: false 2021-05-12 22:29:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_srp6s60207 :: true |