Test duration : 44.988s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.699s |
2021-05-06 23:06:13 |
2021-05-06 23:06:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-06 23:06:13 | ------------------------------------ 2021-05-06 23:06:13 | [Mutex] isItemNotified: node_5dihyd0203:exists :: false 2021-05-06 23:06:13 | [Mutex] waiting for: [node_5dihyd0203:create_node] 2021-05-06 23:06:13 | [Mutex] received everything. 2021-05-06 23:06:13 | [Mutex] isItemNotified: node_5dihyd0203:create_node:success :: true 2021-05-06 23:06:13 | [Mutex] waiting for: [node_5dihyd0203:subscribe_node] 2021-05-06 23:06:14 | [Mutex] waiting for: [node_5dihyd0203:subscribe_node] 2021-05-06 23:06:14 | [Mutex] received everything. 2021-05-06 23:06:14 | [Mutex] isItemNotified: node_5dihyd0203:subscribe_node:success :: true 2021-05-06 23:06:14 | ===== publishing normal message (to online) 2021-05-06 23:06:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-06 23:06:14 | command: <data><node>node_5dihyd0203</node><entry><content>content_sv5iys0204</content></entry></data> 2021-05-06 23:06:14 | target: http://localhost:8088 2021-05-06 23:06:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-06 23:06:14 | entity: <data><node>node_5dihyd0203</node><entry><content>content_sv5iys0204</content></entry></data> 2021-05-06 23:06:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 06:06:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-06 23:06:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9821c871-e30b-4a82-8831-f337a6a46719</value></item-id></result> 2021-05-06 23:06:14 | contains: true 2021-05-06 23:06:14 | [Mutex] waiting for: [user_regularxefj780202@test-domain.com:message:received:content_sv5iys0204] 2021-05-06 23:06:14 | [Mutex] received everything. 2021-05-06 23:06:14 | [Mutex] isItemNotified: user_regularxefj780202@test-domain.com:message:received:content_sv5iys0204 :: true 2021-05-06 23:06:14 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-06 23:06:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-06 23:06:14 | command: <data><node>node_5dihyd0203</node><expire-at>2021-05-07T06:06:09Z</expire-at><entry><content>content_9u2ygg0205</content></entry></data> 2021-05-06 23:06:14 | target: http://localhost:8088 2021-05-06 23:06:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-06 23:06:14 | entity: <data><node>node_5dihyd0203</node><expire-at>2021-05-07T06:06:09Z</expire-at><entry><content>content_9u2ygg0205</content></entry></data> 2021-05-06 23:06:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 06:06:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-06 23:06:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c85eca0c-b691-4e27-aac2-e38ea19a51af</value></item-id></result> 2021-05-06 23:06:14 | contains: true 2021-05-06 23:06:14 | [Mutex] waiting for: [user_regularxefj780202@test-domain.com:message:received:content_9u2ygg0205] 2021-05-06 23:06:29 | [Mutex] timeout. Not received [user_regularxefj780202@test-domain.com:message:received:content_9u2ygg0205] 2021-05-06 23:06:29 | [Mutex] isItemNotified: user_regularxefj780202@test-domain.com:message:received:content_9u2ygg0205 :: false 2021-05-06 23:06:29 | ===== publishing normal message (to offline) 2021-05-06 23:06:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-06 23:06:29 | command: <data><node>node_5dihyd0203</node><entry><content>content_svq84z0206</content></entry></data> 2021-05-06 23:06:29 | target: http://localhost:8088 2021-05-06 23:06:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-06 23:06:29 | entity: <data><node>node_5dihyd0203</node><entry><content>content_svq84z0206</content></entry></data> 2021-05-06 23:06:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 06:06:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-06 23:06:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>85dce3a2-6ce7-4f0d-8d48-3f414e8020ee</value></item-id></result> 2021-05-06 23:06:29 | contains: true 2021-05-06 23:06:34 | [Mutex] waiting for: [user_regularxefj780202@test-domain.com:message:received:content_svq84z0206] 2021-05-06 23:06:34 | [Mutex] waiting for: [user_regularxefj780202@test-domain.com:message:received:content_svq84z0206] 2021-05-06 23:06:34 | [Mutex] received everything. 2021-05-06 23:06:34 | [Mutex] isItemNotified: user_regularxefj780202@test-domain.com:message:received:content_svq84z0206 :: true 2021-05-06 23:06:34 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-06 23:06:34 | [Mutex] received everything. 2021-05-06 23:06:34 | [Mutex] isItemNotified: node_5dihyd0203:subscribe_node:success :: true 2021-05-06 23:06:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-06 23:06:34 | command: <data><node>node_5dihyd0203</node><expire-at>2021-05-07T06:06:39Z</expire-at><entry><content>content_kur9k80207</content></entry></data> 2021-05-06 23:06:34 | target: http://localhost:8088 2021-05-06 23:06:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-06 23:06:34 | entity: <data><node>node_5dihyd0203</node><expire-at>2021-05-07T06:06:39Z</expire-at><entry><content>content_kur9k80207</content></entry></data> 2021-05-06 23:06:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 07 May 2021 06:06:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-06 23:06:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>170e2e3e-1ce7-4647-8342-4c4d2e836eb0</value></item-id></result> 2021-05-06 23:06:34 | contains: true 2021-05-06 23:06:42 | [Mutex] waiting for: [user_regularxefj780202@test-domain.com:message:received:content_kur9k80207] 2021-05-06 23:06:42 | [Mutex] waiting for: [user_regularxefj780202@test-domain.com:message:received:content_kur9k80207] 2021-05-06 23:06:57 | [Mutex] timeout. Not received [user_regularxefj780202@test-domain.com:message:received:content_kur9k80207] 2021-05-06 23:06:57 | [Mutex] received everything. 2021-05-06 23:06:57 | [Mutex] isItemNotified: user_regularxefj780202@test-domain.com:message:received:content_kur9k80207 :: false 2021-05-06 23:06:57 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kur9k80207 :: true |