Test duration : 45.604s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.698s |
2021-05-27 22:39:07 |
2021-05-27 22:39:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-27 22:39:07 | ------------------------------------ 2021-05-27 22:39:07 | [Mutex] isItemNotified: node_wg72ss0203:exists :: false 2021-05-27 22:39:07 | [Mutex] waiting for: [node_wg72ss0203:create_node] 2021-05-27 22:39:07 | [Mutex] received everything. 2021-05-27 22:39:07 | [Mutex] isItemNotified: node_wg72ss0203:create_node:success :: true 2021-05-27 22:39:07 | [Mutex] waiting for: [node_wg72ss0203:subscribe_node] 2021-05-27 22:39:07 | [Mutex] waiting for: [node_wg72ss0203:subscribe_node] 2021-05-27 22:39:07 | [Mutex] received everything. 2021-05-27 22:39:07 | [Mutex] isItemNotified: node_wg72ss0203:subscribe_node:success :: true 2021-05-27 22:39:07 | ===== publishing normal message (to online) 2021-05-27 22:39:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 22:39:07 | command: <data><node>node_wg72ss0203</node><entry><content>content_ikxqhg0204</content></entry></data> 2021-05-27 22:39:07 | target: http://localhost:8088 2021-05-27 22:39:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 22:39:07 | entity: <data><node>node_wg72ss0203</node><entry><content>content_ikxqhg0204</content></entry></data> 2021-05-27 22:39:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:39:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 22:39:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>18be5baa-cd0e-4399-ad9a-df5cceebac6b</value></item-id></result> 2021-05-27 22:39:07 | contains: true 2021-05-27 22:39:07 | [Mutex] received everything. 2021-05-27 22:39:07 | [Mutex] isItemNotified: user_regularodp6nu0202@test-domain.com:message:received:content_ikxqhg0204 :: true 2021-05-27 22:39:07 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-27 22:39:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 22:39:07 | command: <data><node>node_wg72ss0203</node><expire-at>2021-05-28T05:39:02Z</expire-at><entry><content>content_4jetdi0205</content></entry></data> 2021-05-27 22:39:07 | target: http://localhost:8088 2021-05-27 22:39:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 22:39:07 | entity: <data><node>node_wg72ss0203</node><expire-at>2021-05-28T05:39:02Z</expire-at><entry><content>content_4jetdi0205</content></entry></data> 2021-05-27 22:39:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:39:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 22:39:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c494e16b-a400-4051-91bb-7aa2c40a0006</value></item-id></result> 2021-05-27 22:39:07 | contains: true 2021-05-27 22:39:07 | [Mutex] waiting for: [user_regularodp6nu0202@test-domain.com:message:received:content_4jetdi0205] 2021-05-27 22:39:22 | [Mutex] timeout. Not received [user_regularodp6nu0202@test-domain.com:message:received:content_4jetdi0205] 2021-05-27 22:39:22 | [Mutex] isItemNotified: user_regularodp6nu0202@test-domain.com:message:received:content_4jetdi0205 :: false 2021-05-27 22:39:22 | ===== publishing normal message (to offline) 2021-05-27 22:39:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 22:39:22 | command: <data><node>node_wg72ss0203</node><entry><content>content_866kbt0206</content></entry></data> 2021-05-27 22:39:22 | target: http://localhost:8088 2021-05-27 22:39:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 22:39:22 | entity: <data><node>node_wg72ss0203</node><entry><content>content_866kbt0206</content></entry></data> 2021-05-27 22:39:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:39:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 22:39:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>40f96a09-381b-48f5-b1f5-0fd64f4a621e</value></item-id></result> 2021-05-27 22:39:22 | contains: true 2021-05-27 22:39:27 | [Mutex] waiting for: [user_regularodp6nu0202@test-domain.com:message:received:content_866kbt0206] 2021-05-27 22:39:27 | [Mutex] waiting for: [user_regularodp6nu0202@test-domain.com:message:received:content_866kbt0206] 2021-05-27 22:39:27 | [Mutex] received everything. 2021-05-27 22:39:27 | [Mutex] isItemNotified: user_regularodp6nu0202@test-domain.com:message:received:content_866kbt0206 :: true 2021-05-27 22:39:27 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-27 22:39:27 | [Mutex] received everything. 2021-05-27 22:39:27 | [Mutex] isItemNotified: node_wg72ss0203:subscribe_node:success :: true 2021-05-27 22:39:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 22:39:27 | command: <data><node>node_wg72ss0203</node><expire-at>2021-05-28T05:39:32Z</expire-at><entry><content>content_4ns42y0207</content></entry></data> 2021-05-27 22:39:27 | target: http://localhost:8088 2021-05-27 22:39:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 22:39:27 | entity: <data><node>node_wg72ss0203</node><expire-at>2021-05-28T05:39:32Z</expire-at><entry><content>content_4ns42y0207</content></entry></data> 2021-05-27 22:39:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 28 May 2021 05:39:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 22:39:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>50a5b98e-381f-480e-9152-b1acc00c6cc4</value></item-id></result> 2021-05-27 22:39:27 | contains: true 2021-05-27 22:39:36 | [Mutex] waiting for: [user_regularodp6nu0202@test-domain.com:message:received:content_4ns42y0207] 2021-05-27 22:39:51 | [Mutex] timeout. Not received [user_regularodp6nu0202@test-domain.com:message:received:content_4ns42y0207] 2021-05-27 22:39:51 | [Mutex] received everything. 2021-05-27 22:39:51 | [Mutex] isItemNotified: user_regularodp6nu0202@test-domain.com:message:received:content_4ns42y0207 :: false 2021-05-27 22:39:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4ns42y0207 :: true |