Test duration : 45.364s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.644s |
2021-03-08 21:41:42 |
2021-03-08 21:41:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-08 21:41:42 | ------------------------------------ 2021-03-08 21:41:42 | [Mutex] isItemNotified: node_qjbz4n0203:exists :: false 2021-03-08 21:41:42 | [Mutex] waiting for: [node_qjbz4n0203:create_node] 2021-03-08 21:41:42 | [Mutex] received everything. 2021-03-08 21:41:42 | [Mutex] isItemNotified: node_qjbz4n0203:create_node:success :: true 2021-03-08 21:41:42 | [Mutex] waiting for: [node_qjbz4n0203:subscribe_node] 2021-03-08 21:41:42 | [Mutex] waiting for: [node_qjbz4n0203:subscribe_node] 2021-03-08 21:41:42 | [Mutex] received everything. 2021-03-08 21:41:42 | [Mutex] isItemNotified: node_qjbz4n0203:subscribe_node:success :: true 2021-03-08 21:41:42 | ===== publishing normal message (to online) 2021-03-08 21:41:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 21:41:42 | command: <data><node>node_qjbz4n0203</node><entry><content>content_ijiz1x0204</content></entry></data> 2021-03-08 21:41:42 | target: http://localhost:8088 2021-03-08 21:41:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-08 21:41:42 | entity: <data><node>node_qjbz4n0203</node><entry><content>content_ijiz1x0204</content></entry></data> 2021-03-08 21:41:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:41:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 21:41:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>476d68c0-052c-491e-87e5-b11ccadc829f</value></item-id></result> 2021-03-08 21:41:42 | contains: true 2021-03-08 21:41:42 | [Mutex] received everything. 2021-03-08 21:41:42 | [Mutex] isItemNotified: user_regulardr3g8y0202@test-domain.com:message:received:content_ijiz1x0204 :: true 2021-03-08 21:41:42 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-08 21:41:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 21:41:42 | command: <data><node>node_qjbz4n0203</node><expire-at>2021-03-09T05:41:37Z</expire-at><entry><content>content_ep3epr0205</content></entry></data> 2021-03-08 21:41:42 | target: http://localhost:8088 2021-03-08 21:41:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-08 21:41:42 | entity: <data><node>node_qjbz4n0203</node><expire-at>2021-03-09T05:41:37Z</expire-at><entry><content>content_ep3epr0205</content></entry></data> 2021-03-08 21:41:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:41:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 21:41:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b5f9554e-8752-43a2-94b5-257cbede7cf0</value></item-id></result> 2021-03-08 21:41:42 | contains: true 2021-03-08 21:41:42 | [Mutex] waiting for: [user_regulardr3g8y0202@test-domain.com:message:received:content_ep3epr0205] 2021-03-08 21:41:57 | [Mutex] timeout. Not received [user_regulardr3g8y0202@test-domain.com:message:received:content_ep3epr0205] 2021-03-08 21:41:57 | [Mutex] isItemNotified: user_regulardr3g8y0202@test-domain.com:message:received:content_ep3epr0205 :: false 2021-03-08 21:41:57 | ===== publishing normal message (to offline) 2021-03-08 21:41:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 21:41:57 | command: <data><node>node_qjbz4n0203</node><entry><content>content_o5f9nc0206</content></entry></data> 2021-03-08 21:41:57 | target: http://localhost:8088 2021-03-08 21:41:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-08 21:41:57 | entity: <data><node>node_qjbz4n0203</node><entry><content>content_o5f9nc0206</content></entry></data> 2021-03-08 21:41:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:41:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 21:41:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>debed97d-d220-4b81-a334-ecbdb32cef19</value></item-id></result> 2021-03-08 21:41:57 | contains: true 2021-03-08 21:42:02 | [Mutex] waiting for: [user_regulardr3g8y0202@test-domain.com:message:received:content_o5f9nc0206] 2021-03-08 21:42:02 | [Mutex] received everything. 2021-03-08 21:42:02 | [Mutex] isItemNotified: user_regulardr3g8y0202@test-domain.com:message:received:content_o5f9nc0206 :: true 2021-03-08 21:42:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-08 21:42:02 | [Mutex] received everything. 2021-03-08 21:42:02 | [Mutex] isItemNotified: node_qjbz4n0203:subscribe_node:success :: true 2021-03-08 21:42:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-08 21:42:02 | command: <data><node>node_qjbz4n0203</node><expire-at>2021-03-09T05:42:07Z</expire-at><entry><content>content_rnoszz0207</content></entry></data> 2021-03-08 21:42:02 | target: http://localhost:8088 2021-03-08 21:42:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-08 21:42:02 | entity: <data><node>node_qjbz4n0203</node><expire-at>2021-03-09T05:42:07Z</expire-at><entry><content>content_rnoszz0207</content></entry></data> 2021-03-08 21:42:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 09 Mar 2021 05:42:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-08 21:42:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>540aadd8-1981-4dd8-b957-ac96df696069</value></item-id></result> 2021-03-08 21:42:02 | contains: true 2021-03-08 21:42:10 | [Mutex] waiting for: [user_regulardr3g8y0202@test-domain.com:message:received:content_rnoszz0207] 2021-03-08 21:42:10 | [Mutex] waiting for: [user_regulardr3g8y0202@test-domain.com:message:received:content_rnoszz0207] 2021-03-08 21:42:25 | [Mutex] timeout. Not received [user_regulardr3g8y0202@test-domain.com:message:received:content_rnoszz0207] 2021-03-08 21:42:25 | [Mutex] received everything. 2021-03-08 21:42:25 | [Mutex] isItemNotified: user_regulardr3g8y0202@test-domain.com:message:received:content_rnoszz0207 :: false 2021-03-08 21:42:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rnoszz0207 :: true |