Test duration : 45.668s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.753s |
2021-03-24 22:58:32 |
2021-03-24 22:58:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-24 22:58:32 | ------------------------------------ 2021-03-24 22:58:32 | [Mutex] isItemNotified: node_no3xp60203:exists :: false 2021-03-24 22:58:32 | [Mutex] waiting for: [node_no3xp60203:create_node] 2021-03-24 22:58:32 | [Mutex] received everything. 2021-03-24 22:58:32 | [Mutex] isItemNotified: node_no3xp60203:create_node:success :: true 2021-03-24 22:58:32 | [Mutex] waiting for: [node_no3xp60203:subscribe_node] 2021-03-24 22:58:32 | [Mutex] received everything. 2021-03-24 22:58:32 | [Mutex] isItemNotified: node_no3xp60203:subscribe_node:success :: true 2021-03-24 22:58:32 | ===== publishing normal message (to online) 2021-03-24 22:58:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:58:32 | command: <data><node>node_no3xp60203</node><entry><content>content_8lm4jo0204</content></entry></data> 2021-03-24 22:58:32 | target: http://localhost:8088 2021-03-24 22:58:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-24 22:58:32 | entity: <data><node>node_no3xp60203</node><entry><content>content_8lm4jo0204</content></entry></data> 2021-03-24 22:58:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:58:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:58:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>39e214bd-ff14-4191-9dc8-578cad60b69e</value></item-id></result> 2021-03-24 22:58:32 | contains: true 2021-03-24 22:58:32 | [Mutex] waiting for: [user_regularkgy8ba0202@test-domain.com:message:received:content_8lm4jo0204] 2021-03-24 22:58:32 | [Mutex] received everything. 2021-03-24 22:58:32 | [Mutex] isItemNotified: user_regularkgy8ba0202@test-domain.com:message:received:content_8lm4jo0204 :: true 2021-03-24 22:58:32 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-24 22:58:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:58:32 | command: <data><node>node_no3xp60203</node><expire-at>2021-03-25T05:58:27Z</expire-at><entry><content>content_qgl6m60205</content></entry></data> 2021-03-24 22:58:32 | target: http://localhost:8088 2021-03-24 22:58:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-24 22:58:32 | entity: <data><node>node_no3xp60203</node><expire-at>2021-03-25T05:58:27Z</expire-at><entry><content>content_qgl6m60205</content></entry></data> 2021-03-24 22:58:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:58:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:58:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>31a31d48-6ba2-4565-a9d3-a172808deffb</value></item-id></result> 2021-03-24 22:58:33 | contains: true 2021-03-24 22:58:33 | [Mutex] waiting for: [user_regularkgy8ba0202@test-domain.com:message:received:content_qgl6m60205] 2021-03-24 22:58:48 | [Mutex] timeout. Not received [user_regularkgy8ba0202@test-domain.com:message:received:content_qgl6m60205] 2021-03-24 22:58:48 | [Mutex] isItemNotified: user_regularkgy8ba0202@test-domain.com:message:received:content_qgl6m60205 :: false 2021-03-24 22:58:48 | ===== publishing normal message (to offline) 2021-03-24 22:58:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:58:48 | command: <data><node>node_no3xp60203</node><entry><content>content_288y6g0206</content></entry></data> 2021-03-24 22:58:48 | target: http://localhost:8088 2021-03-24 22:58:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-24 22:58:48 | entity: <data><node>node_no3xp60203</node><entry><content>content_288y6g0206</content></entry></data> 2021-03-24 22:58:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:58:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:58:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b0736a01-0cec-446f-9459-355678adccad</value></item-id></result> 2021-03-24 22:58:48 | contains: true 2021-03-24 22:58:53 | [Mutex] waiting for: [user_regularkgy8ba0202@test-domain.com:message:received:content_288y6g0206] 2021-03-24 22:58:53 | [Mutex] received everything. 2021-03-24 22:58:53 | [Mutex] isItemNotified: user_regularkgy8ba0202@test-domain.com:message:received:content_288y6g0206 :: true 2021-03-24 22:58:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-24 22:58:53 | [Mutex] received everything. 2021-03-24 22:58:53 | [Mutex] isItemNotified: node_no3xp60203:subscribe_node:success :: true 2021-03-24 22:58:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-24 22:58:53 | command: <data><node>node_no3xp60203</node><expire-at>2021-03-25T05:58:58Z</expire-at><entry><content>content_15g5xl0207</content></entry></data> 2021-03-24 22:58:53 | target: http://localhost:8088 2021-03-24 22:58:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-24 22:58:53 | entity: <data><node>node_no3xp60203</node><expire-at>2021-03-25T05:58:58Z</expire-at><entry><content>content_15g5xl0207</content></entry></data> 2021-03-24 22:58:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 Mar 2021 05:58:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-24 22:58:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a0d0f136-543a-445f-b076-6adb81971b6a</value></item-id></result> 2021-03-24 22:58:53 | contains: true 2021-03-24 22:59:01 | [Mutex] waiting for: [user_regularkgy8ba0202@test-domain.com:message:received:content_15g5xl0207] 2021-03-24 22:59:01 | [Mutex] waiting for: [user_regularkgy8ba0202@test-domain.com:message:received:content_15g5xl0207] 2021-03-24 22:59:01 | [Mutex] waiting for: [user_regularkgy8ba0202@test-domain.com:message:received:content_15g5xl0207] 2021-03-24 22:59:16 | [Mutex] timeout. Not received [user_regularkgy8ba0202@test-domain.com:message:received:content_15g5xl0207] 2021-03-24 22:59:16 | [Mutex] received everything. 2021-03-24 22:59:16 | [Mutex] isItemNotified: user_regularkgy8ba0202@test-domain.com:message:received:content_15g5xl0207 :: false 2021-03-24 22:59:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_15g5xl0207 :: true |