Test duration : 45.373s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.622s |
2021-05-05 22:30:49 |
2021-05-05 22:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-05 22:30:49 | ------------------------------------ 2021-05-05 22:30:49 | [Mutex] isItemNotified: node_jiw7yx0203:exists :: false 2021-05-05 22:30:49 | [Mutex] waiting for: [node_jiw7yx0203:create_node] 2021-05-05 22:30:49 | [Mutex] received everything. 2021-05-05 22:30:49 | [Mutex] isItemNotified: node_jiw7yx0203:create_node:success :: true 2021-05-05 22:30:49 | [Mutex] waiting for: [node_jiw7yx0203:subscribe_node] 2021-05-05 22:30:49 | [Mutex] waiting for: [node_jiw7yx0203:subscribe_node] 2021-05-05 22:30:49 | [Mutex] received everything. 2021-05-05 22:30:49 | [Mutex] isItemNotified: node_jiw7yx0203:subscribe_node:success :: true 2021-05-05 22:30:49 | ===== publishing normal message (to online) 2021-05-05 22:30:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:30:49 | command: <data><node>node_jiw7yx0203</node><entry><content>content_822bd90204</content></entry></data> 2021-05-05 22:30:49 | target: http://localhost:8088 2021-05-05 22:30:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-05 22:30:49 | entity: <data><node>node_jiw7yx0203</node><entry><content>content_822bd90204</content></entry></data> 2021-05-05 22:30:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:30:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:30:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a960dff7-c2d7-4f7e-bd79-fac8abba3ba1</value></item-id></result> 2021-05-05 22:30:49 | contains: true 2021-05-05 22:30:49 | [Mutex] received everything. 2021-05-05 22:30:49 | [Mutex] isItemNotified: user_regulardipl5a0202@test-domain.com:message:received:content_822bd90204 :: true 2021-05-05 22:30:49 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-05 22:30:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:30:49 | command: <data><node>node_jiw7yx0203</node><expire-at>2021-05-06T05:30:44Z</expire-at><entry><content>content_yw55so0205</content></entry></data> 2021-05-05 22:30:49 | target: http://localhost:8088 2021-05-05 22:30:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-05 22:30:49 | entity: <data><node>node_jiw7yx0203</node><expire-at>2021-05-06T05:30:44Z</expire-at><entry><content>content_yw55so0205</content></entry></data> 2021-05-05 22:30:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:30:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:30:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2ead8d8f-c486-456a-ae8f-890a87fd41b0</value></item-id></result> 2021-05-05 22:30:49 | contains: true 2021-05-05 22:30:49 | [Mutex] waiting for: [user_regulardipl5a0202@test-domain.com:message:received:content_yw55so0205] 2021-05-05 22:31:04 | [Mutex] timeout. Not received [user_regulardipl5a0202@test-domain.com:message:received:content_yw55so0205] 2021-05-05 22:31:04 | [Mutex] isItemNotified: user_regulardipl5a0202@test-domain.com:message:received:content_yw55so0205 :: false 2021-05-05 22:31:04 | ===== publishing normal message (to offline) 2021-05-05 22:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:31:04 | command: <data><node>node_jiw7yx0203</node><entry><content>content_18ikpv0206</content></entry></data> 2021-05-05 22:31:04 | target: http://localhost:8088 2021-05-05 22:31:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-05 22:31:04 | entity: <data><node>node_jiw7yx0203</node><entry><content>content_18ikpv0206</content></entry></data> 2021-05-05 22:31:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:31:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:31:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ec4262ec-0f15-47b6-848c-bf30275782d6</value></item-id></result> 2021-05-05 22:31:04 | contains: true 2021-05-05 22:31:09 | [Mutex] waiting for: [user_regulardipl5a0202@test-domain.com:message:received:content_18ikpv0206] 2021-05-05 22:31:09 | [Mutex] waiting for: [user_regulardipl5a0202@test-domain.com:message:received:content_18ikpv0206] 2021-05-05 22:31:09 | [Mutex] received everything. 2021-05-05 22:31:09 | [Mutex] isItemNotified: user_regulardipl5a0202@test-domain.com:message:received:content_18ikpv0206 :: true 2021-05-05 22:31:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-05 22:31:09 | [Mutex] received everything. 2021-05-05 22:31:09 | [Mutex] isItemNotified: node_jiw7yx0203:subscribe_node:success :: true 2021-05-05 22:31:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-05 22:31:09 | command: <data><node>node_jiw7yx0203</node><expire-at>2021-05-06T05:31:14Z</expire-at><entry><content>content_elyp3j0207</content></entry></data> 2021-05-05 22:31:09 | target: http://localhost:8088 2021-05-05 22:31:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-05 22:31:09 | entity: <data><node>node_jiw7yx0203</node><expire-at>2021-05-06T05:31:14Z</expire-at><entry><content>content_elyp3j0207</content></entry></data> 2021-05-05 22:31:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 06 May 2021 05:31:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-05 22:31:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>921b4b27-a254-4ea1-aff6-e2e55351b360</value></item-id></result> 2021-05-05 22:31:09 | contains: true 2021-05-05 22:31:17 | [Mutex] waiting for: [user_regulardipl5a0202@test-domain.com:message:received:content_elyp3j0207] 2021-05-05 22:31:32 | [Mutex] timeout. Not received [user_regulardipl5a0202@test-domain.com:message:received:content_elyp3j0207] 2021-05-05 22:31:32 | [Mutex] received everything. 2021-05-05 22:31:32 | [Mutex] isItemNotified: user_regulardipl5a0202@test-domain.com:message:received:content_elyp3j0207 :: false 2021-05-05 22:31:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_elyp3j0207 :: true |