Test duration : 45.028s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.701s |
2021-04-05 22:30:00 |
2021-04-05 22:30:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-04-05 22:30:00 | ------------------------------------ 2021-04-05 22:30:00 | [Mutex] isItemNotified: node_66nlxc0203:exists :: false 2021-04-05 22:30:00 | [Mutex] waiting for: [node_66nlxc0203:create_node] 2021-04-05 22:30:00 | [Mutex] received everything. 2021-04-05 22:30:00 | [Mutex] isItemNotified: node_66nlxc0203:create_node:success :: true 2021-04-05 22:30:00 | [Mutex] waiting for: [node_66nlxc0203:subscribe_node] 2021-04-05 22:30:00 | [Mutex] received everything. 2021-04-05 22:30:00 | [Mutex] isItemNotified: node_66nlxc0203:subscribe_node:success :: true 2021-04-05 22:30:00 | ===== publishing normal message (to online) 2021-04-05 22:30:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-05 22:30:00 | command: <data><node>node_66nlxc0203</node><entry><content>content_ue3mwt0204</content></entry></data> 2021-04-05 22:30:00 | target: http://localhost:8088 2021-04-05 22:30:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-05 22:30:00 | entity: <data><node>node_66nlxc0203</node><entry><content>content_ue3mwt0204</content></entry></data> 2021-04-05 22:30:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:30:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-05 22:30:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>75c65297-8449-4ae4-93ee-3f8f3dc22a0b</value></item-id></result> 2021-04-05 22:30:00 | contains: true 2021-04-05 22:30:00 | [Mutex] received everything. 2021-04-05 22:30:00 | [Mutex] isItemNotified: user_regular3iqff40202@test-domain.com:message:received:content_ue3mwt0204 :: true 2021-04-05 22:30:00 | ===== publishing already old message - expecting message being filtered out (to online) 2021-04-05 22:30:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-05 22:30:00 | command: <data><node>node_66nlxc0203</node><expire-at>2021-04-06T05:29:55Z</expire-at><entry><content>content_wsi8yn0205</content></entry></data> 2021-04-05 22:30:00 | target: http://localhost:8088 2021-04-05 22:30:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-05 22:30:00 | entity: <data><node>node_66nlxc0203</node><expire-at>2021-04-06T05:29:55Z</expire-at><entry><content>content_wsi8yn0205</content></entry></data> 2021-04-05 22:30:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:30:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-05 22:30:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>83af3476-f427-4ae1-8370-ff7a987b43d3</value></item-id></result> 2021-04-05 22:30:00 | contains: true 2021-04-05 22:30:00 | [Mutex] waiting for: [user_regular3iqff40202@test-domain.com:message:received:content_wsi8yn0205] 2021-04-05 22:30:15 | [Mutex] timeout. Not received [user_regular3iqff40202@test-domain.com:message:received:content_wsi8yn0205] 2021-04-05 22:30:15 | [Mutex] isItemNotified: user_regular3iqff40202@test-domain.com:message:received:content_wsi8yn0205 :: false 2021-04-05 22:30:15 | ===== publishing normal message (to offline) 2021-04-05 22:30:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-05 22:30:15 | command: <data><node>node_66nlxc0203</node><entry><content>content_3wsp5b0206</content></entry></data> 2021-04-05 22:30:15 | target: http://localhost:8088 2021-04-05 22:30:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-04-05 22:30:15 | entity: <data><node>node_66nlxc0203</node><entry><content>content_3wsp5b0206</content></entry></data> 2021-04-05 22:30:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:30:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-05 22:30:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5107bf8f-3b67-408d-8133-3f714418f6a1</value></item-id></result> 2021-04-05 22:30:15 | contains: true 2021-04-05 22:30:20 | [Mutex] waiting for: [user_regular3iqff40202@test-domain.com:message:received:content_3wsp5b0206] 2021-04-05 22:30:20 | [Mutex] received everything. 2021-04-05 22:30:20 | [Mutex] isItemNotified: user_regular3iqff40202@test-domain.com:message:received:content_3wsp5b0206 :: true 2021-04-05 22:30:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-04-05 22:30:20 | [Mutex] received everything. 2021-04-05 22:30:20 | [Mutex] isItemNotified: node_66nlxc0203:subscribe_node:success :: true 2021-04-05 22:30:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-04-05 22:30:20 | command: <data><node>node_66nlxc0203</node><expire-at>2021-04-06T05:30:25Z</expire-at><entry><content>content_ljtkbe0207</content></entry></data> 2021-04-05 22:30:20 | target: http://localhost:8088 2021-04-05 22:30:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-04-05 22:30:20 | entity: <data><node>node_66nlxc0203</node><expire-at>2021-04-06T05:30:25Z</expire-at><entry><content>content_ljtkbe0207</content></entry></data> 2021-04-05 22:30:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 06 Apr 2021 05:30:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-04-05 22:30:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c3e1bc50-6e57-453c-a919-c075fa9f91d0</value></item-id></result> 2021-04-05 22:30:20 | contains: true 2021-04-05 22:30:28 | [Mutex] waiting for: [user_regular3iqff40202@test-domain.com:message:received:content_ljtkbe0207] 2021-04-05 22:30:28 | [Mutex] waiting for: [user_regular3iqff40202@test-domain.com:message:received:content_ljtkbe0207] 2021-04-05 22:30:43 | [Mutex] timeout. Not received [user_regular3iqff40202@test-domain.com:message:received:content_ljtkbe0207] 2021-04-05 22:30:43 | [Mutex] received everything. 2021-04-05 22:30:43 | [Mutex] isItemNotified: user_regular3iqff40202@test-domain.com:message:received:content_ljtkbe0207 :: false 2021-04-05 22:30:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ljtkbe0207 :: true |