Test duration : 44.912s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.716s |
2021-05-14 23:00:06 |
2021-05-14 23:00:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-14 23:00:06 | ------------------------------------ 2021-05-14 23:00:06 | [Mutex] isItemNotified: node_7uno9q0203:exists :: false 2021-05-14 23:00:06 | [Mutex] waiting for: [node_7uno9q0203:create_node] 2021-05-14 23:00:06 | [Mutex] received everything. 2021-05-14 23:00:06 | [Mutex] isItemNotified: node_7uno9q0203:create_node:success :: true 2021-05-14 23:00:06 | [Mutex] waiting for: [node_7uno9q0203:subscribe_node] 2021-05-14 23:00:06 | [Mutex] waiting for: [node_7uno9q0203:subscribe_node] 2021-05-14 23:00:06 | [Mutex] received everything. 2021-05-14 23:00:06 | [Mutex] isItemNotified: node_7uno9q0203:subscribe_node:success :: true 2021-05-14 23:00:06 | ===== publishing normal message (to online) 2021-05-14 23:00:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 23:00:06 | command: <data><node>node_7uno9q0203</node><entry><content>content_6ii52v0204</content></entry></data> 2021-05-14 23:00:06 | target: http://localhost:8088 2021-05-14 23:00:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-14 23:00:06 | entity: <data><node>node_7uno9q0203</node><entry><content>content_6ii52v0204</content></entry></data> 2021-05-14 23:00:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 06:00:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 23:00:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9a1fd166-d201-44c4-a3e0-31baf405d811</value></item-id></result> 2021-05-14 23:00:06 | contains: true 2021-05-14 23:00:06 | [Mutex] waiting for: [user_regularl43cat0202@test-domain.com:message:received:content_6ii52v0204] 2021-05-14 23:00:06 | [Mutex] received everything. 2021-05-14 23:00:06 | [Mutex] isItemNotified: user_regularl43cat0202@test-domain.com:message:received:content_6ii52v0204 :: true 2021-05-14 23:00:06 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-14 23:00:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 23:00:06 | command: <data><node>node_7uno9q0203</node><expire-at>2021-05-15T06:00:01Z</expire-at><entry><content>content_wuno1o0205</content></entry></data> 2021-05-14 23:00:06 | target: http://localhost:8088 2021-05-14 23:00:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-14 23:00:06 | entity: <data><node>node_7uno9q0203</node><expire-at>2021-05-15T06:00:01Z</expire-at><entry><content>content_wuno1o0205</content></entry></data> 2021-05-14 23:00:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 06:00:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 23:00:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>758dda27-35d3-4789-a9e3-71ab81236a8c</value></item-id></result> 2021-05-14 23:00:06 | contains: true 2021-05-14 23:00:06 | [Mutex] waiting for: [user_regularl43cat0202@test-domain.com:message:received:content_wuno1o0205] 2021-05-14 23:00:21 | [Mutex] timeout. Not received [user_regularl43cat0202@test-domain.com:message:received:content_wuno1o0205] 2021-05-14 23:00:21 | [Mutex] isItemNotified: user_regularl43cat0202@test-domain.com:message:received:content_wuno1o0205 :: false 2021-05-14 23:00:21 | ===== publishing normal message (to offline) 2021-05-14 23:00:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 23:00:21 | command: <data><node>node_7uno9q0203</node><entry><content>content_5v657j0206</content></entry></data> 2021-05-14 23:00:21 | target: http://localhost:8088 2021-05-14 23:00:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-14 23:00:21 | entity: <data><node>node_7uno9q0203</node><entry><content>content_5v657j0206</content></entry></data> 2021-05-14 23:00:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 06:00:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 23:00:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c3906eeb-3a33-44bb-946f-f266548f47ef</value></item-id></result> 2021-05-14 23:00:21 | contains: true 2021-05-14 23:00:26 | [Mutex] waiting for: [user_regularl43cat0202@test-domain.com:message:received:content_5v657j0206] 2021-05-14 23:00:26 | [Mutex] waiting for: [user_regularl43cat0202@test-domain.com:message:received:content_5v657j0206] 2021-05-14 23:00:26 | [Mutex] received everything. 2021-05-14 23:00:26 | [Mutex] isItemNotified: user_regularl43cat0202@test-domain.com:message:received:content_5v657j0206 :: true 2021-05-14 23:00:26 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-14 23:00:26 | [Mutex] received everything. 2021-05-14 23:00:26 | [Mutex] isItemNotified: node_7uno9q0203:subscribe_node:success :: true 2021-05-14 23:00:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-14 23:00:26 | command: <data><node>node_7uno9q0203</node><expire-at>2021-05-15T06:00:31Z</expire-at><entry><content>content_8emn6d0207</content></entry></data> 2021-05-14 23:00:26 | target: http://localhost:8088 2021-05-14 23:00:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-14 23:00:26 | entity: <data><node>node_7uno9q0203</node><expire-at>2021-05-15T06:00:31Z</expire-at><entry><content>content_8emn6d0207</content></entry></data> 2021-05-14 23:00:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 15 May 2021 06:00:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-14 23:00:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5a3d000f-bc7c-43fb-b348-8f56dd7bc5c0</value></item-id></result> 2021-05-14 23:00:26 | contains: true 2021-05-14 23:00:35 | [Mutex] waiting for: [user_regularl43cat0202@test-domain.com:message:received:content_8emn6d0207] 2021-05-14 23:00:35 | [Mutex] waiting for: [user_regularl43cat0202@test-domain.com:message:received:content_8emn6d0207] 2021-05-14 23:00:50 | [Mutex] timeout. Not received [user_regularl43cat0202@test-domain.com:message:received:content_8emn6d0207] 2021-05-14 23:00:50 | [Mutex] received everything. 2021-05-14 23:00:50 | [Mutex] isItemNotified: user_regularl43cat0202@test-domain.com:message:received:content_8emn6d0207 :: false 2021-05-14 23:00:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8emn6d0207 :: true |