Test duration : 45.462s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.698s |
2021-05-25 22:30:09 |
2021-05-25 22:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-25 22:30:09 | ------------------------------------ 2021-05-25 22:30:09 | [Mutex] isItemNotified: node_i2367p0203:exists :: false 2021-05-25 22:30:09 | [Mutex] waiting for: [node_i2367p0203:create_node] 2021-05-25 22:30:09 | [Mutex] received everything. 2021-05-25 22:30:09 | [Mutex] isItemNotified: node_i2367p0203:create_node:success :: true 2021-05-25 22:30:09 | [Mutex] waiting for: [node_i2367p0203:subscribe_node] 2021-05-25 22:30:09 | [Mutex] received everything. 2021-05-25 22:30:09 | [Mutex] isItemNotified: node_i2367p0203:subscribe_node:success :: true 2021-05-25 22:30:09 | ===== publishing normal message (to online) 2021-05-25 22:30:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-25 22:30:09 | command: <data><node>node_i2367p0203</node><entry><content>content_5kmztf0204</content></entry></data> 2021-05-25 22:30:09 | target: http://localhost:8088 2021-05-25 22:30:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-25 22:30:09 | entity: <data><node>node_i2367p0203</node><entry><content>content_5kmztf0204</content></entry></data> 2021-05-25 22:30:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:30:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-25 22:30:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>37b5fa16-3f44-426b-bf50-1b303fd5aee2</value></item-id></result> 2021-05-25 22:30:09 | contains: true 2021-05-25 22:30:09 | [Mutex] received everything. 2021-05-25 22:30:09 | [Mutex] isItemNotified: user_regularegkolg0202@test-domain.com:message:received:content_5kmztf0204 :: true 2021-05-25 22:30:09 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-25 22:30:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-25 22:30:09 | command: <data><node>node_i2367p0203</node><expire-at>2021-05-26T05:30:04Z</expire-at><entry><content>content_tk52yz0205</content></entry></data> 2021-05-25 22:30:09 | target: http://localhost:8088 2021-05-25 22:30:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-25 22:30:09 | entity: <data><node>node_i2367p0203</node><expire-at>2021-05-26T05:30:04Z</expire-at><entry><content>content_tk52yz0205</content></entry></data> 2021-05-25 22:30:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:30:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-25 22:30:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4081093-f84b-4b66-a791-d1a38cd62bc8</value></item-id></result> 2021-05-25 22:30:10 | contains: true 2021-05-25 22:30:10 | [Mutex] waiting for: [user_regularegkolg0202@test-domain.com:message:received:content_tk52yz0205] 2021-05-25 22:30:25 | [Mutex] timeout. Not received [user_regularegkolg0202@test-domain.com:message:received:content_tk52yz0205] 2021-05-25 22:30:25 | [Mutex] isItemNotified: user_regularegkolg0202@test-domain.com:message:received:content_tk52yz0205 :: false 2021-05-25 22:30:25 | ===== publishing normal message (to offline) 2021-05-25 22:30:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-25 22:30:25 | command: <data><node>node_i2367p0203</node><entry><content>content_bftr5t0206</content></entry></data> 2021-05-25 22:30:25 | target: http://localhost:8088 2021-05-25 22:30:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-25 22:30:25 | entity: <data><node>node_i2367p0203</node><entry><content>content_bftr5t0206</content></entry></data> 2021-05-25 22:30:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:30:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-25 22:30:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8d80ef95-2a04-4415-954e-df650f505392</value></item-id></result> 2021-05-25 22:30:25 | contains: true 2021-05-25 22:30:30 | [Mutex] waiting for: [user_regularegkolg0202@test-domain.com:message:received:content_bftr5t0206] 2021-05-25 22:30:30 | [Mutex] waiting for: [user_regularegkolg0202@test-domain.com:message:received:content_bftr5t0206] 2021-05-25 22:30:30 | [Mutex] received everything. 2021-05-25 22:30:30 | [Mutex] isItemNotified: user_regularegkolg0202@test-domain.com:message:received:content_bftr5t0206 :: true 2021-05-25 22:30:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-25 22:30:30 | [Mutex] received everything. 2021-05-25 22:30:30 | [Mutex] isItemNotified: node_i2367p0203:subscribe_node:success :: true 2021-05-25 22:30:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-25 22:30:30 | command: <data><node>node_i2367p0203</node><expire-at>2021-05-26T05:30:35Z</expire-at><entry><content>content_t4n44i0207</content></entry></data> 2021-05-25 22:30:30 | target: http://localhost:8088 2021-05-25 22:30:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-25 22:30:30 | entity: <data><node>node_i2367p0203</node><expire-at>2021-05-26T05:30:35Z</expire-at><entry><content>content_t4n44i0207</content></entry></data> 2021-05-25 22:30:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 May 2021 05:30:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-25 22:30:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>51607111-a822-4da7-b5b4-27f78b676d3b</value></item-id></result> 2021-05-25 22:30:30 | contains: true 2021-05-25 22:30:38 | [Mutex] waiting for: [user_regularegkolg0202@test-domain.com:message:received:content_t4n44i0207] 2021-05-25 22:30:38 | [Mutex] waiting for: [user_regularegkolg0202@test-domain.com:message:received:content_t4n44i0207] 2021-05-25 22:30:53 | [Mutex] timeout. Not received [user_regularegkolg0202@test-domain.com:message:received:content_t4n44i0207] 2021-05-25 22:30:53 | [Mutex] received everything. 2021-05-25 22:30:53 | [Mutex] isItemNotified: user_regularegkolg0202@test-domain.com:message:received:content_t4n44i0207 :: false 2021-05-25 22:30:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t4n44i0207 :: true |