Test duration : 46.065s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.739s |
2020-11-19 22:02:05 |
2020-11-19 22:02:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-19 22:02:05 | ------------------------------------ 2020-11-19 22:02:05 | [Mutex] isItemNotified: node_u6cbjn0203:exists :: false 2020-11-19 22:02:05 | [Mutex] waiting for: [node_u6cbjn0203:create_node] 2020-11-19 22:02:05 | [Mutex] received everything. 2020-11-19 22:02:05 | [Mutex] isItemNotified: node_u6cbjn0203:create_node:success :: true 2020-11-19 22:02:05 | [Mutex] waiting for: [node_u6cbjn0203:subscribe_node] 2020-11-19 22:02:05 | [Mutex] received everything. 2020-11-19 22:02:05 | [Mutex] isItemNotified: node_u6cbjn0203:subscribe_node:success :: true 2020-11-19 22:02:05 | ===== publishing normal message (to online) 2020-11-19 22:02:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 22:02:05 | command: <data><node>node_u6cbjn0203</node><entry><content>content_qfw4a00204</content></entry></data> 2020-11-19 22:02:05 | target: http://localhost:8088 2020-11-19 22:02:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-19 22:02:05 | entity: <data><node>node_u6cbjn0203</node><entry><content>content_qfw4a00204</content></entry></data> 2020-11-19 22:02:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 06:02:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 22:02:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1633b436-18ff-4b7e-b481-fea704d9f75b</value></item-id></result> 2020-11-19 22:02:05 | contains: true 2020-11-19 22:02:05 | [Mutex] received everything. 2020-11-19 22:02:05 | [Mutex] isItemNotified: user_regularmfx9pu0202@test-domain.com:message:received:content_qfw4a00204 :: true 2020-11-19 22:02:05 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-19 22:02:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 22:02:05 | command: <data><node>node_u6cbjn0203</node><expire-at>2020-11-20T06:02:00Z</expire-at><entry><content>content_o5bci30205</content></entry></data> 2020-11-19 22:02:05 | target: http://localhost:8088 2020-11-19 22:02:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-19 22:02:05 | entity: <data><node>node_u6cbjn0203</node><expire-at>2020-11-20T06:02:00Z</expire-at><entry><content>content_o5bci30205</content></entry></data> 2020-11-19 22:02:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 06:02:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 22:02:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>085653a0-f31f-4975-a6cb-d611f487c972</value></item-id></result> 2020-11-19 22:02:05 | contains: true 2020-11-19 22:02:05 | [Mutex] waiting for: [user_regularmfx9pu0202@test-domain.com:message:received:content_o5bci30205] 2020-11-19 22:02:20 | [Mutex] timeout. Not received [user_regularmfx9pu0202@test-domain.com:message:received:content_o5bci30205] 2020-11-19 22:02:20 | [Mutex] isItemNotified: user_regularmfx9pu0202@test-domain.com:message:received:content_o5bci30205 :: false 2020-11-19 22:02:20 | ===== publishing normal message (to offline) 2020-11-19 22:02:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 22:02:20 | command: <data><node>node_u6cbjn0203</node><entry><content>content_bwy7qa0206</content></entry></data> 2020-11-19 22:02:20 | target: http://localhost:8088 2020-11-19 22:02:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-19 22:02:20 | entity: <data><node>node_u6cbjn0203</node><entry><content>content_bwy7qa0206</content></entry></data> 2020-11-19 22:02:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 06:02:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 22:02:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0d7870bc-b558-46c4-820e-f43766049756</value></item-id></result> 2020-11-19 22:02:20 | contains: true 2020-11-19 22:02:25 | [Mutex] waiting for: [user_regularmfx9pu0202@test-domain.com:message:received:content_bwy7qa0206] 2020-11-19 22:02:25 | [Mutex] received everything. 2020-11-19 22:02:25 | [Mutex] isItemNotified: user_regularmfx9pu0202@test-domain.com:message:received:content_bwy7qa0206 :: true 2020-11-19 22:02:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-19 22:02:25 | [Mutex] received everything. 2020-11-19 22:02:25 | [Mutex] isItemNotified: node_u6cbjn0203:subscribe_node:success :: true 2020-11-19 22:02:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-19 22:02:25 | command: <data><node>node_u6cbjn0203</node><expire-at>2020-11-20T06:02:30Z</expire-at><entry><content>content_e6y66l0207</content></entry></data> 2020-11-19 22:02:25 | target: http://localhost:8088 2020-11-19 22:02:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-19 22:02:25 | entity: <data><node>node_u6cbjn0203</node><expire-at>2020-11-20T06:02:30Z</expire-at><entry><content>content_e6y66l0207</content></entry></data> 2020-11-19 22:02:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 20 Nov 2020 06:02:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-19 22:02:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d528c4db-22a9-4459-b508-e2c1db085718</value></item-id></result> 2020-11-19 22:02:25 | contains: true 2020-11-19 22:02:33 | [Mutex] waiting for: [user_regularmfx9pu0202@test-domain.com:message:received:content_e6y66l0207] 2020-11-19 22:02:33 | [Mutex] waiting for: [user_regularmfx9pu0202@test-domain.com:message:received:content_e6y66l0207] 2020-11-19 22:02:48 | [Mutex] timeout. Not received [user_regularmfx9pu0202@test-domain.com:message:received:content_e6y66l0207] 2020-11-19 22:02:48 | [Mutex] received everything. 2020-11-19 22:02:48 | [Mutex] isItemNotified: user_regularmfx9pu0202@test-domain.com:message:received:content_e6y66l0207 :: false 2020-11-19 22:02:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e6y66l0207 :: true |