Test duration : 45.660s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.761s |
2021-05-26 23:00:34 |
2021-05-26 23:00:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-26 23:00:34 | ------------------------------------ 2021-05-26 23:00:34 | [Mutex] isItemNotified: node_9ivtna0203:exists :: false 2021-05-26 23:00:34 | [Mutex] waiting for: [node_9ivtna0203:create_node] 2021-05-26 23:00:34 | [Mutex] received everything. 2021-05-26 23:00:34 | [Mutex] isItemNotified: node_9ivtna0203:create_node:success :: true 2021-05-26 23:00:34 | [Mutex] waiting for: [node_9ivtna0203:subscribe_node] 2021-05-26 23:00:34 | [Mutex] waiting for: [node_9ivtna0203:subscribe_node] 2021-05-26 23:00:34 | [Mutex] received everything. 2021-05-26 23:00:34 | [Mutex] isItemNotified: node_9ivtna0203:subscribe_node:success :: true 2021-05-26 23:00:34 | ===== publishing normal message (to online) 2021-05-26 23:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-26 23:00:34 | command: <data><node>node_9ivtna0203</node><entry><content>content_92yvw10204</content></entry></data> 2021-05-26 23:00:34 | target: http://localhost:8088 2021-05-26 23:00:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-26 23:00:34 | entity: <data><node>node_9ivtna0203</node><entry><content>content_92yvw10204</content></entry></data> 2021-05-26 23:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 06:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-26 23:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>63a306ff-f049-4c63-ba54-b8179246a5d1</value></item-id></result> 2021-05-26 23:00:34 | contains: true 2021-05-26 23:00:34 | [Mutex] waiting for: [user_regulardzyfxo0202@test-domain.com:message:received:content_92yvw10204] 2021-05-26 23:00:34 | [Mutex] received everything. 2021-05-26 23:00:34 | [Mutex] isItemNotified: user_regulardzyfxo0202@test-domain.com:message:received:content_92yvw10204 :: true 2021-05-26 23:00:34 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-26 23:00:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-26 23:00:34 | command: <data><node>node_9ivtna0203</node><expire-at>2021-05-27T06:00:29Z</expire-at><entry><content>content_5ud02x0205</content></entry></data> 2021-05-26 23:00:34 | target: http://localhost:8088 2021-05-26 23:00:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-26 23:00:34 | entity: <data><node>node_9ivtna0203</node><expire-at>2021-05-27T06:00:29Z</expire-at><entry><content>content_5ud02x0205</content></entry></data> 2021-05-26 23:00:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 06:00:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-26 23:00:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aa1e6a83-c653-4f91-9381-0143f81a71aa</value></item-id></result> 2021-05-26 23:00:34 | contains: true 2021-05-26 23:00:34 | [Mutex] waiting for: [user_regulardzyfxo0202@test-domain.com:message:received:content_5ud02x0205] 2021-05-26 23:00:49 | [Mutex] timeout. Not received [user_regulardzyfxo0202@test-domain.com:message:received:content_5ud02x0205] 2021-05-26 23:00:49 | [Mutex] isItemNotified: user_regulardzyfxo0202@test-domain.com:message:received:content_5ud02x0205 :: false 2021-05-26 23:00:49 | ===== publishing normal message (to offline) 2021-05-26 23:00:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-26 23:00:49 | command: <data><node>node_9ivtna0203</node><entry><content>content_4dfyrx0206</content></entry></data> 2021-05-26 23:00:49 | target: http://localhost:8088 2021-05-26 23:00:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-26 23:00:49 | entity: <data><node>node_9ivtna0203</node><entry><content>content_4dfyrx0206</content></entry></data> 2021-05-26 23:00:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 06:00:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-26 23:00:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6ffbb8d0-daee-43fd-bd42-d467386da158</value></item-id></result> 2021-05-26 23:00:49 | contains: true 2021-05-26 23:00:54 | [Mutex] waiting for: [user_regulardzyfxo0202@test-domain.com:message:received:content_4dfyrx0206] 2021-05-26 23:00:54 | [Mutex] received everything. 2021-05-26 23:00:54 | [Mutex] isItemNotified: user_regulardzyfxo0202@test-domain.com:message:received:content_4dfyrx0206 :: true 2021-05-26 23:00:54 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-26 23:00:54 | [Mutex] received everything. 2021-05-26 23:00:54 | [Mutex] isItemNotified: node_9ivtna0203:subscribe_node:success :: true 2021-05-26 23:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-26 23:00:54 | command: <data><node>node_9ivtna0203</node><expire-at>2021-05-27T06:00:59Z</expire-at><entry><content>content_7m510w0207</content></entry></data> 2021-05-26 23:00:54 | target: http://localhost:8088 2021-05-26 23:00:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-26 23:00:54 | entity: <data><node>node_9ivtna0203</node><expire-at>2021-05-27T06:00:59Z</expire-at><entry><content>content_7m510w0207</content></entry></data> 2021-05-26 23:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 06:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-26 23:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>de901d7b-9344-4327-abd5-950c96e82945</value></item-id></result> 2021-05-26 23:00:54 | contains: true 2021-05-26 23:01:02 | [Mutex] waiting for: [user_regulardzyfxo0202@test-domain.com:message:received:content_7m510w0207] 2021-05-26 23:01:02 | [Mutex] waiting for: [user_regulardzyfxo0202@test-domain.com:message:received:content_7m510w0207] 2021-05-26 23:01:17 | [Mutex] timeout. Not received [user_regulardzyfxo0202@test-domain.com:message:received:content_7m510w0207] 2021-05-26 23:01:17 | [Mutex] received everything. 2021-05-26 23:01:17 | [Mutex] isItemNotified: user_regulardzyfxo0202@test-domain.com:message:received:content_7m510w0207 :: false 2021-05-26 23:01:17 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_7m510w0207 :: true |