Test duration : 45.576s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.686s |
2020-09-11 22:29:27 |
2020-09-11 22:29:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-11 22:29:27 | ------------------------------------ 2020-09-11 22:29:27 | [Mutex] isItemNotified: node_xps0ny0203:exists :: false 2020-09-11 22:29:27 | [Mutex] waiting for: [node_xps0ny0203:create_node] 2020-09-11 22:29:27 | [Mutex] received everything. 2020-09-11 22:29:27 | [Mutex] isItemNotified: node_xps0ny0203:create_node:success :: true 2020-09-11 22:29:27 | [Mutex] waiting for: [node_xps0ny0203:subscribe_node] 2020-09-11 22:29:27 | [Mutex] received everything. 2020-09-11 22:29:27 | [Mutex] isItemNotified: node_xps0ny0203:subscribe_node:success :: true 2020-09-11 22:29:27 | ===== publishing normal message (to online) 2020-09-11 22:29:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 22:29:27 | command: <data><node>node_xps0ny0203</node><entry><content>content_1url7c0204</content></entry></data> 2020-09-11 22:29:27 | target: http://localhost:8088 2020-09-11 22:29:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-11 22:29:27 | entity: <data><node>node_xps0ny0203</node><entry><content>content_1url7c0204</content></entry></data> 2020-09-11 22:29:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:29:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 22:29:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fbb31b0c-c11a-4bf7-83e7-b80360526125</value></item-id></result> 2020-09-11 22:29:27 | contains: true 2020-09-11 22:29:27 | [Mutex] received everything. 2020-09-11 22:29:27 | [Mutex] isItemNotified: user_regular3j73qx0202@test-domain.com:message:received:content_1url7c0204 :: true 2020-09-11 22:29:27 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-11 22:29:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 22:29:27 | command: <data><node>node_xps0ny0203</node><expire-at>2020-09-12T05:29:22Z</expire-at><entry><content>content_bi1tf40205</content></entry></data> 2020-09-11 22:29:27 | target: http://localhost:8088 2020-09-11 22:29:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-11 22:29:27 | entity: <data><node>node_xps0ny0203</node><expire-at>2020-09-12T05:29:22Z</expire-at><entry><content>content_bi1tf40205</content></entry></data> 2020-09-11 22:29:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:29:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 22:29:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d1da31e8-b87c-4595-bdad-a6263a2d13d5</value></item-id></result> 2020-09-11 22:29:27 | contains: true 2020-09-11 22:29:27 | [Mutex] waiting for: [user_regular3j73qx0202@test-domain.com:message:received:content_bi1tf40205] 2020-09-11 22:29:42 | [Mutex] timeout. Not received [user_regular3j73qx0202@test-domain.com:message:received:content_bi1tf40205] 2020-09-11 22:29:42 | [Mutex] isItemNotified: user_regular3j73qx0202@test-domain.com:message:received:content_bi1tf40205 :: false 2020-09-11 22:29:42 | ===== publishing normal message (to offline) 2020-09-11 22:29:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 22:29:42 | command: <data><node>node_xps0ny0203</node><entry><content>content_bqn6qn0206</content></entry></data> 2020-09-11 22:29:42 | target: http://localhost:8088 2020-09-11 22:29:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-11 22:29:42 | entity: <data><node>node_xps0ny0203</node><entry><content>content_bqn6qn0206</content></entry></data> 2020-09-11 22:29:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:29:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 22:29:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>22d1cd0b-2380-473e-a74a-4ca91c6417f1</value></item-id></result> 2020-09-11 22:29:42 | contains: true 2020-09-11 22:29:47 | [Mutex] waiting for: [user_regular3j73qx0202@test-domain.com:message:received:content_bqn6qn0206] 2020-09-11 22:29:47 | [Mutex] received everything. 2020-09-11 22:29:47 | [Mutex] isItemNotified: user_regular3j73qx0202@test-domain.com:message:received:content_bqn6qn0206 :: true 2020-09-11 22:29:47 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-11 22:29:47 | [Mutex] received everything. 2020-09-11 22:29:47 | [Mutex] isItemNotified: node_xps0ny0203:subscribe_node:success :: true 2020-09-11 22:29:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-11 22:29:47 | command: <data><node>node_xps0ny0203</node><expire-at>2020-09-12T05:29:52Z</expire-at><entry><content>content_1wvt5d0207</content></entry></data> 2020-09-11 22:29:47 | target: http://localhost:8088 2020-09-11 22:29:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-11 22:29:47 | entity: <data><node>node_xps0ny0203</node><expire-at>2020-09-12T05:29:52Z</expire-at><entry><content>content_1wvt5d0207</content></entry></data> 2020-09-11 22:29:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 12 Sep 2020 05:29:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-11 22:29:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>78bd797d-7e24-4d45-ae1e-224c27cdaf3b</value></item-id></result> 2020-09-11 22:29:47 | contains: true 2020-09-11 22:29:56 | [Mutex] waiting for: [user_regular3j73qx0202@test-domain.com:message:received:content_1wvt5d0207] 2020-09-11 22:29:56 | [Mutex] waiting for: [user_regular3j73qx0202@test-domain.com:message:received:content_1wvt5d0207] 2020-09-11 22:29:56 | [Mutex] waiting for: [user_regular3j73qx0202@test-domain.com:message:received:content_1wvt5d0207] 2020-09-11 22:30:11 | [Mutex] timeout. Not received [user_regular3j73qx0202@test-domain.com:message:received:content_1wvt5d0207] 2020-09-11 22:30:11 | [Mutex] received everything. 2020-09-11 22:30:11 | [Mutex] isItemNotified: user_regular3j73qx0202@test-domain.com:message:received:content_1wvt5d0207 :: false 2020-09-11 22:30:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1wvt5d0207 :: true |