Test duration : 45.591s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.728s |
2021-06-25 07:48:35 |
2021-06-25 07:48:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-25 07:48:35 | ------------------------------------ 2021-06-25 07:48:35 | [Mutex] isItemNotified: node_qqxyi70203:exists :: false 2021-06-25 07:48:35 | [Mutex] waiting for: [node_qqxyi70203:create_node] 2021-06-25 07:48:35 | [Mutex] received everything. 2021-06-25 07:48:35 | [Mutex] isItemNotified: node_qqxyi70203:create_node:success :: true 2021-06-25 07:48:35 | [Mutex] waiting for: [node_qqxyi70203:subscribe_node] 2021-06-25 07:48:35 | [Mutex] received everything. 2021-06-25 07:48:35 | [Mutex] isItemNotified: node_qqxyi70203:subscribe_node:success :: true 2021-06-25 07:48:35 | ===== publishing normal message (to online) 2021-06-25 07:48:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-25 07:48:35 | command: <data><node>node_qqxyi70203</node><entry><content>content_xfl36q0204</content></entry></data> 2021-06-25 07:48:35 | target: http://localhost:8088 2021-06-25 07:48:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-25 07:48:35 | entity: <data><node>node_qqxyi70203</node><entry><content>content_xfl36q0204</content></entry></data> 2021-06-25 07:48:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 14:48:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-25 07:48:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>21de2f65-3674-4774-8b49-586781656806</value></item-id></result> 2021-06-25 07:48:35 | contains: true 2021-06-25 07:48:35 | [Mutex] received everything. 2021-06-25 07:48:35 | [Mutex] isItemNotified: user_regularsiciiv0202@test-domain.com:message:received:content_xfl36q0204 :: true 2021-06-25 07:48:35 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-25 07:48:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-25 07:48:35 | command: <data><node>node_qqxyi70203</node><expire-at>2021-06-25T14:48:30Z</expire-at><entry><content>content_m24mj50205</content></entry></data> 2021-06-25 07:48:35 | target: http://localhost:8088 2021-06-25 07:48:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-25 07:48:35 | entity: <data><node>node_qqxyi70203</node><expire-at>2021-06-25T14:48:30Z</expire-at><entry><content>content_m24mj50205</content></entry></data> 2021-06-25 07:48:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 14:48:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-25 07:48:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>18a759ed-d742-4934-bc63-d0a242bb2da1</value></item-id></result> 2021-06-25 07:48:35 | contains: true 2021-06-25 07:48:35 | [Mutex] waiting for: [user_regularsiciiv0202@test-domain.com:message:received:content_m24mj50205] 2021-06-25 07:48:50 | [Mutex] timeout. Not received [user_regularsiciiv0202@test-domain.com:message:received:content_m24mj50205] 2021-06-25 07:48:50 | [Mutex] isItemNotified: user_regularsiciiv0202@test-domain.com:message:received:content_m24mj50205 :: false 2021-06-25 07:48:50 | ===== publishing normal message (to offline) 2021-06-25 07:48:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-25 07:48:50 | command: <data><node>node_qqxyi70203</node><entry><content>content_cw8340206</content></entry></data> 2021-06-25 07:48:50 | target: http://localhost:8088 2021-06-25 07:48:50 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-06-25 07:48:50 | entity: <data><node>node_qqxyi70203</node><entry><content>content_cw8340206</content></entry></data> 2021-06-25 07:48:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 14:48:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-25 07:48:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>bdc298c1-c4db-4439-b1ed-457c89f12f21</value></item-id></result> 2021-06-25 07:48:50 | contains: true 2021-06-25 07:48:56 | [Mutex] waiting for: [user_regularsiciiv0202@test-domain.com:message:received:content_cw8340206] 2021-06-25 07:48:56 | [Mutex] received everything. 2021-06-25 07:48:56 | [Mutex] isItemNotified: user_regularsiciiv0202@test-domain.com:message:received:content_cw8340206 :: true 2021-06-25 07:48:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-25 07:48:56 | [Mutex] received everything. 2021-06-25 07:48:56 | [Mutex] isItemNotified: node_qqxyi70203:subscribe_node:success :: true 2021-06-25 07:48:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-25 07:48:56 | command: <data><node>node_qqxyi70203</node><expire-at>2021-06-25T14:49:01Z</expire-at><entry><content>content_45ntkd0207</content></entry></data> 2021-06-25 07:48:56 | target: http://localhost:8088 2021-06-25 07:48:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-25 07:48:56 | entity: <data><node>node_qqxyi70203</node><expire-at>2021-06-25T14:49:01Z</expire-at><entry><content>content_45ntkd0207</content></entry></data> 2021-06-25 07:48:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Jun 2021 14:48:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-25 07:48:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f9123e98-8f18-49ec-bb67-4e272828b6e3</value></item-id></result> 2021-06-25 07:48:56 | contains: true 2021-06-25 07:49:04 | [Mutex] waiting for: [user_regularsiciiv0202@test-domain.com:message:received:content_45ntkd0207] 2021-06-25 07:49:04 | [Mutex] waiting for: [user_regularsiciiv0202@test-domain.com:message:received:content_45ntkd0207] 2021-06-25 07:49:19 | [Mutex] timeout. Not received [user_regularsiciiv0202@test-domain.com:message:received:content_45ntkd0207] 2021-06-25 07:49:19 | [Mutex] received everything. 2021-06-25 07:49:19 | [Mutex] isItemNotified: user_regularsiciiv0202@test-domain.com:message:received:content_45ntkd0207 :: false 2021-06-25 07:49:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_45ntkd0207 :: true |