Test duration : 45.495s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.622s |
2021-12-20 22:29:27 |
2021-12-20 22:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-12-20 22:29:27 | ------------------------------------ 2021-12-20 22:29:27 | [Mutex] isItemNotified: node_kw4x0p0203:exists :: false 2021-12-20 22:29:27 | [Mutex] waiting for: [node_kw4x0p0203:create_node] 2021-12-20 22:29:27 | [Mutex] received everything. 2021-12-20 22:29:27 | [Mutex] isItemNotified: node_kw4x0p0203:create_node:success :: true 2021-12-20 22:29:27 | [Mutex] waiting for: [node_kw4x0p0203:subscribe_node] 2021-12-20 22:29:27 | [Mutex] waiting for: [node_kw4x0p0203:subscribe_node] 2021-12-20 22:29:27 | [Mutex] received everything. 2021-12-20 22:29:27 | [Mutex] isItemNotified: node_kw4x0p0203:subscribe_node:success :: true 2021-12-20 22:29:27 | ===== publishing normal message (to online) 2021-12-20 22:29:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-12-20 22:29:27 | command: <data><node>node_kw4x0p0203</node><entry><content>content_z6tg8c0204</content></entry></data> 2021-12-20 22:29:27 | target: http://localhost:8088 2021-12-20 22:29:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-12-20 22:29:27 | entity: <data><node>node_kw4x0p0203</node><entry><content>content_z6tg8c0204</content></entry></data> 2021-12-20 22:29:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 06:29:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-12-20 22:29:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0371c69e-79ee-471b-b23e-ff6f3e74156e</value></item-id></result> 2021-12-20 22:29:27 | contains: true 2021-12-20 22:29:27 | [Mutex] waiting for: [user_regulart9dyur0202@test-domain.com:message:received:content_z6tg8c0204] 2021-12-20 22:29:27 | [Mutex] received everything. 2021-12-20 22:29:27 | [Mutex] isItemNotified: user_regulart9dyur0202@test-domain.com:message:received:content_z6tg8c0204 :: true 2021-12-20 22:29:27 | ===== publishing already old message - expecting message being filtered out (to online) 2021-12-20 22:29:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-12-20 22:29:27 | command: <data><node>node_kw4x0p0203</node><expire-at>2021-12-21T06:29:22Z</expire-at><entry><content>content_785fht0205</content></entry></data> 2021-12-20 22:29:27 | target: http://localhost:8088 2021-12-20 22:29:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-12-20 22:29:27 | entity: <data><node>node_kw4x0p0203</node><expire-at>2021-12-21T06:29:22Z</expire-at><entry><content>content_785fht0205</content></entry></data> 2021-12-20 22:29:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 06:29:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-12-20 22:29:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>217c5967-f435-4f92-8cd1-e961bf3e54b5</value></item-id></result> 2021-12-20 22:29:27 | contains: true 2021-12-20 22:29:27 | [Mutex] waiting for: [user_regulart9dyur0202@test-domain.com:message:received:content_785fht0205] 2021-12-20 22:29:42 | [Mutex] timeout. Not received [user_regulart9dyur0202@test-domain.com:message:received:content_785fht0205] 2021-12-20 22:29:42 | [Mutex] isItemNotified: user_regulart9dyur0202@test-domain.com:message:received:content_785fht0205 :: false 2021-12-20 22:29:42 | ===== publishing normal message (to offline) 2021-12-20 22:29:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-12-20 22:29:42 | command: <data><node>node_kw4x0p0203</node><entry><content>content_95wzzv0206</content></entry></data> 2021-12-20 22:29:42 | target: http://localhost:8088 2021-12-20 22:29:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-12-20 22:29:42 | entity: <data><node>node_kw4x0p0203</node><entry><content>content_95wzzv0206</content></entry></data> 2021-12-20 22:29:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 06:29:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-12-20 22:29:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3c55fd15-4ad9-4f66-9561-2085a7623b06</value></item-id></result> 2021-12-20 22:29:42 | contains: true 2021-12-20 22:29:47 | [Mutex] waiting for: [user_regulart9dyur0202@test-domain.com:message:received:content_95wzzv0206] 2021-12-20 22:29:47 | [Mutex] waiting for: [user_regulart9dyur0202@test-domain.com:message:received:content_95wzzv0206] 2021-12-20 22:29:47 | [Mutex] received everything. 2021-12-20 22:29:47 | [Mutex] isItemNotified: user_regulart9dyur0202@test-domain.com:message:received:content_95wzzv0206 :: true 2021-12-20 22:29:47 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-12-20 22:29:47 | [Mutex] received everything. 2021-12-20 22:29:47 | [Mutex] isItemNotified: node_kw4x0p0203:subscribe_node:success :: true 2021-12-20 22:29:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-12-20 22:29:47 | command: <data><node>node_kw4x0p0203</node><expire-at>2021-12-21T06:29:52Z</expire-at><entry><content>content_8zihzb0207</content></entry></data> 2021-12-20 22:29:47 | target: http://localhost:8088 2021-12-20 22:29:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-12-20 22:29:47 | entity: <data><node>node_kw4x0p0203</node><expire-at>2021-12-21T06:29:52Z</expire-at><entry><content>content_8zihzb0207</content></entry></data> 2021-12-20 22:29:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 21 Dec 2021 06:29:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-12-20 22:29:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>19b3cecd-9718-4b6d-96ba-a5bf956a2a03</value></item-id></result> 2021-12-20 22:29:47 | contains: true 2021-12-20 22:29:55 | [Mutex] waiting for: [user_regulart9dyur0202@test-domain.com:message:received:content_8zihzb0207] 2021-12-20 22:29:55 | [Mutex] waiting for: [user_regulart9dyur0202@test-domain.com:message:received:content_8zihzb0207] 2021-12-20 22:29:55 | [Mutex] waiting for: [user_regulart9dyur0202@test-domain.com:message:received:content_8zihzb0207] 2021-12-20 22:30:10 | [Mutex] timeout. Not received [user_regulart9dyur0202@test-domain.com:message:received:content_8zihzb0207] 2021-12-20 22:30:10 | [Mutex] received everything. 2021-12-20 22:30:10 | [Mutex] isItemNotified: user_regulart9dyur0202@test-domain.com:message:received:content_8zihzb0207 :: false 2021-12-20 22:30:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8zihzb0207 :: true |