Test duration : 45.541s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.793s |
2021-05-27 10:01:06 |
2021-05-27 10:01:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-27 10:01:06 | ------------------------------------ 2021-05-27 10:01:06 | [Mutex] isItemNotified: node_ttfanf0203:exists :: false 2021-05-27 10:01:06 | [Mutex] waiting for: [node_ttfanf0203:create_node] 2021-05-27 10:01:06 | [Mutex] received everything. 2021-05-27 10:01:06 | [Mutex] isItemNotified: node_ttfanf0203:create_node:success :: true 2021-05-27 10:01:06 | [Mutex] waiting for: [node_ttfanf0203:subscribe_node] 2021-05-27 10:01:06 | [Mutex] received everything. 2021-05-27 10:01:06 | [Mutex] isItemNotified: node_ttfanf0203:subscribe_node:success :: true 2021-05-27 10:01:06 | ===== publishing normal message (to online) 2021-05-27 10:01:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:01:06 | command: <data><node>node_ttfanf0203</node><entry><content>content_16tyyu0204</content></entry></data> 2021-05-27 10:01:06 | target: http://localhost:8088 2021-05-27 10:01:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 10:01:06 | entity: <data><node>node_ttfanf0203</node><entry><content>content_16tyyu0204</content></entry></data> 2021-05-27 10:01:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:01:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:01:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5807309d-a571-4a97-a701-7c2dd516413c</value></item-id></result> 2021-05-27 10:01:06 | contains: true 2021-05-27 10:01:06 | [Mutex] received everything. 2021-05-27 10:01:06 | [Mutex] isItemNotified: user_regularumutwu0202@test-domain.com:message:received:content_16tyyu0204 :: true 2021-05-27 10:01:06 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-27 10:01:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:01:06 | command: <data><node>node_ttfanf0203</node><expire-at>2021-05-27T17:01:01Z</expire-at><entry><content>content_fi3unq0205</content></entry></data> 2021-05-27 10:01:06 | target: http://localhost:8088 2021-05-27 10:01:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 10:01:06 | entity: <data><node>node_ttfanf0203</node><expire-at>2021-05-27T17:01:01Z</expire-at><entry><content>content_fi3unq0205</content></entry></data> 2021-05-27 10:01:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:01:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:01:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>34555b6e-219e-488e-996f-cd5172e88709</value></item-id></result> 2021-05-27 10:01:06 | contains: true 2021-05-27 10:01:06 | [Mutex] waiting for: [user_regularumutwu0202@test-domain.com:message:received:content_fi3unq0205] 2021-05-27 10:01:21 | [Mutex] timeout. Not received [user_regularumutwu0202@test-domain.com:message:received:content_fi3unq0205] 2021-05-27 10:01:21 | [Mutex] isItemNotified: user_regularumutwu0202@test-domain.com:message:received:content_fi3unq0205 :: false 2021-05-27 10:01:21 | ===== publishing normal message (to offline) 2021-05-27 10:01:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:01:21 | command: <data><node>node_ttfanf0203</node><entry><content>content_mpzie10206</content></entry></data> 2021-05-27 10:01:21 | target: http://localhost:8088 2021-05-27 10:01:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 10:01:21 | entity: <data><node>node_ttfanf0203</node><entry><content>content_mpzie10206</content></entry></data> 2021-05-27 10:01:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:01:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:01:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b10f0e4c-4438-4c1a-9555-ba14073a622b</value></item-id></result> 2021-05-27 10:01:21 | contains: true 2021-05-27 10:01:26 | [Mutex] waiting for: [user_regularumutwu0202@test-domain.com:message:received:content_mpzie10206] 2021-05-27 10:01:26 | [Mutex] waiting for: [user_regularumutwu0202@test-domain.com:message:received:content_mpzie10206] 2021-05-27 10:01:26 | [Mutex] received everything. 2021-05-27 10:01:26 | [Mutex] isItemNotified: user_regularumutwu0202@test-domain.com:message:received:content_mpzie10206 :: true 2021-05-27 10:01:26 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-27 10:01:26 | [Mutex] received everything. 2021-05-27 10:01:26 | [Mutex] isItemNotified: node_ttfanf0203:subscribe_node:success :: true 2021-05-27 10:01:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:01:26 | command: <data><node>node_ttfanf0203</node><expire-at>2021-05-27T17:01:31Z</expire-at><entry><content>content_3rvujz0207</content></entry></data> 2021-05-27 10:01:26 | target: http://localhost:8088 2021-05-27 10:01:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 10:01:26 | entity: <data><node>node_ttfanf0203</node><expire-at>2021-05-27T17:01:31Z</expire-at><entry><content>content_3rvujz0207</content></entry></data> 2021-05-27 10:01:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:01:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:01:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2dc2d805-65d8-49e0-a217-d17a419e1190</value></item-id></result> 2021-05-27 10:01:26 | contains: true 2021-05-27 10:01:35 | [Mutex] waiting for: [user_regularumutwu0202@test-domain.com:message:received:content_3rvujz0207] 2021-05-27 10:01:50 | [Mutex] timeout. Not received [user_regularumutwu0202@test-domain.com:message:received:content_3rvujz0207] 2021-05-27 10:01:50 | [Mutex] received everything. 2021-05-27 10:01:50 | [Mutex] isItemNotified: user_regularumutwu0202@test-domain.com:message:received:content_3rvujz0207 :: false 2021-05-27 10:01:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3rvujz0207 :: true |