Test duration : 45.569s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.709s |
2021-04-26 23:03:58 |
2021-04-26 23:03:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-26 23:03:58 | ------------------------------------ 2021-04-26 23:03:58 | [Mutex] isItemNotified: node_seprow0203:exists :: false 2021-04-26 23:03:58 | [Mutex] waiting for: [node_seprow0203:create_node] 2021-04-26 23:03:58 | [Mutex] received everything. 2021-04-26 23:03:58 | [Mutex] isItemNotified: node_seprow0203:create_node:success :: true 2021-04-26 23:03:58 | [Mutex] waiting for: [node_seprow0203:subscribe_node] 2021-04-26 23:03:58 | [Mutex] received everything. 2021-04-26 23:03:58 | [Mutex] isItemNotified: node_seprow0203:subscribe_node:success :: true 2021-04-26 23:03:58 | ===== publishing normal message (to online) 2021-04-26 23:03:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-26 23:03:58 | command: <data><node>node_seprow0203</node><entry><content>content_yxk2740204</content></entry></data> 2021-04-26 23:03:58 | target: http://localhost:8088 2021-04-26 23:03:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-26 23:03:58 | entity: <data><node>node_seprow0203</node><entry><content>content_yxk2740204</content></entry></data> 2021-04-26 23:03:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 06:03:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-26 23:03:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cdde1fb1-31ce-437d-a481-fec0f5324f33</value></item-id></result> 2021-04-26 23:03:58 | contains: true 2021-04-26 23:03:58 | [Mutex] waiting for: [user_regular8tt4uv0202@test-domain.com:message:received:content_yxk2740204] 2021-04-26 23:03:58 | [Mutex] received everything. 2021-04-26 23:03:58 | [Mutex] isItemNotified: user_regular8tt4uv0202@test-domain.com:message:received:content_yxk2740204 :: true 2021-04-26 23:03:58 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-26 23:03:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-26 23:03:58 | command: <data><node>node_seprow0203</node><expire-at>2021-04-27T06:03:53Z</expire-at><entry><content>content_qtqj750205</content></entry></data> 2021-04-26 23:03:58 | target: http://localhost:8088 2021-04-26 23:03:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-26 23:03:58 | entity: <data><node>node_seprow0203</node><expire-at>2021-04-27T06:03:53Z</expire-at><entry><content>content_qtqj750205</content></entry></data> 2021-04-26 23:03:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 06:03:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-26 23:03:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>93b0d712-19bd-46d8-9357-b91436bfd596</value></item-id></result> 2021-04-26 23:03:58 | contains: true 2021-04-26 23:03:58 | [Mutex] waiting for: [user_regular8tt4uv0202@test-domain.com:message:received:content_qtqj750205] 2021-04-26 23:04:13 | [Mutex] timeout. Not received [user_regular8tt4uv0202@test-domain.com:message:received:content_qtqj750205] 2021-04-26 23:04:13 | [Mutex] isItemNotified: user_regular8tt4uv0202@test-domain.com:message:received:content_qtqj750205 :: false 2021-04-26 23:04:13 | ===== publishing normal message (to offline) 2021-04-26 23:04:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-26 23:04:13 | command: <data><node>node_seprow0203</node><entry><content>content_47hglc0206</content></entry></data> 2021-04-26 23:04:13 | target: http://localhost:8088 2021-04-26 23:04:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-26 23:04:13 | entity: <data><node>node_seprow0203</node><entry><content>content_47hglc0206</content></entry></data> 2021-04-26 23:04:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 06:04:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-26 23:04:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4fc61a41-8b26-4c45-9dff-3b2423a04e95</value></item-id></result> 2021-04-26 23:04:13 | contains: true 2021-04-26 23:04:18 | [Mutex] waiting for: [user_regular8tt4uv0202@test-domain.com:message:received:content_47hglc0206] 2021-04-26 23:04:18 | [Mutex] received everything. 2021-04-26 23:04:18 | [Mutex] isItemNotified: user_regular8tt4uv0202@test-domain.com:message:received:content_47hglc0206 :: true 2021-04-26 23:04:18 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-26 23:04:18 | [Mutex] received everything. 2021-04-26 23:04:18 | [Mutex] isItemNotified: node_seprow0203:subscribe_node:success :: true 2021-04-26 23:04:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-26 23:04:18 | command: <data><node>node_seprow0203</node><expire-at>2021-04-27T06:04:23Z</expire-at><entry><content>content_3bu6k50207</content></entry></data> 2021-04-26 23:04:18 | target: http://localhost:8088 2021-04-26 23:04:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-26 23:04:18 | entity: <data><node>node_seprow0203</node><expire-at>2021-04-27T06:04:23Z</expire-at><entry><content>content_3bu6k50207</content></entry></data> 2021-04-26 23:04:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 27 Apr 2021 06:04:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-26 23:04:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8b0b414a-a0fc-4ec3-af8c-e5fa1ca7c46d</value></item-id></result> 2021-04-26 23:04:18 | contains: true 2021-04-26 23:04:26 | [Mutex] waiting for: [user_regular8tt4uv0202@test-domain.com:message:received:content_3bu6k50207] 2021-04-26 23:04:41 | [Mutex] timeout. Not received [user_regular8tt4uv0202@test-domain.com:message:received:content_3bu6k50207] 2021-04-26 23:04:41 | [Mutex] received everything. 2021-04-26 23:04:41 | [Mutex] isItemNotified: user_regular8tt4uv0202@test-domain.com:message:received:content_3bu6k50207 :: false 2021-04-26 23:04:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3bu6k50207 :: true |