Test duration : 45.084s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.741s |
2021-05-03 22:28:39 |
2021-05-03 22:28:39 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-03 22:28:39 | ------------------------------------ 2021-05-03 22:28:39 | [Mutex] isItemNotified: node_30jlpm0203:exists :: false 2021-05-03 22:28:39 | [Mutex] waiting for: [node_30jlpm0203:create_node] 2021-05-03 22:28:39 | [Mutex] received everything. 2021-05-03 22:28:39 | [Mutex] isItemNotified: node_30jlpm0203:create_node:success :: true 2021-05-03 22:28:39 | [Mutex] waiting for: [node_30jlpm0203:subscribe_node] 2021-05-03 22:28:39 | [Mutex] received everything. 2021-05-03 22:28:39 | [Mutex] isItemNotified: node_30jlpm0203:subscribe_node:success :: true 2021-05-03 22:28:39 | ===== publishing normal message (to online) 2021-05-03 22:28:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:28:39 | command: <data><node>node_30jlpm0203</node><entry><content>content_j9tgj50204</content></entry></data> 2021-05-03 22:28:39 | target: http://localhost:8088 2021-05-03 22:28:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-03 22:28:39 | entity: <data><node>node_30jlpm0203</node><entry><content>content_j9tgj50204</content></entry></data> 2021-05-03 22:28:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:28:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:28:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>545cdad1-4a95-424a-85f0-3c617622576b</value></item-id></result> 2021-05-03 22:28:39 | contains: true 2021-05-03 22:28:39 | [Mutex] received everything. 2021-05-03 22:28:39 | [Mutex] isItemNotified: user_regulari6apt70202@test-domain.com:message:received:content_j9tgj50204 :: true 2021-05-03 22:28:39 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-03 22:28:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:28:39 | command: <data><node>node_30jlpm0203</node><expire-at>2021-05-04T05:28:34Z</expire-at><entry><content>content_fgp1r90205</content></entry></data> 2021-05-03 22:28:39 | target: http://localhost:8088 2021-05-03 22:28:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-03 22:28:39 | entity: <data><node>node_30jlpm0203</node><expire-at>2021-05-04T05:28:34Z</expire-at><entry><content>content_fgp1r90205</content></entry></data> 2021-05-03 22:28:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:28:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:28:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b9031652-b82e-492b-a61d-c0fab59d69a9</value></item-id></result> 2021-05-03 22:28:39 | contains: true 2021-05-03 22:28:39 | [Mutex] waiting for: [user_regulari6apt70202@test-domain.com:message:received:content_fgp1r90205] 2021-05-03 22:28:54 | [Mutex] timeout. Not received [user_regulari6apt70202@test-domain.com:message:received:content_fgp1r90205] 2021-05-03 22:28:54 | [Mutex] isItemNotified: user_regulari6apt70202@test-domain.com:message:received:content_fgp1r90205 :: false 2021-05-03 22:28:54 | ===== publishing normal message (to offline) 2021-05-03 22:28:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:28:54 | command: <data><node>node_30jlpm0203</node><entry><content>content_kbda0206</content></entry></data> 2021-05-03 22:28:54 | target: http://localhost:8088 2021-05-03 22:28:54 | entity: [Content-Type: application/xml,Content-Length: 91,Chunked: false] 2021-05-03 22:28:54 | entity: <data><node>node_30jlpm0203</node><entry><content>content_kbda0206</content></entry></data> 2021-05-03 22:28:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:28:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:28:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1949574e-a655-4f8c-9433-ffb2226c3b7b</value></item-id></result> 2021-05-03 22:28:54 | contains: true 2021-05-03 22:28:59 | [Mutex] waiting for: [user_regulari6apt70202@test-domain.com:message:received:content_kbda0206] 2021-05-03 22:28:59 | [Mutex] received everything. 2021-05-03 22:28:59 | [Mutex] isItemNotified: user_regulari6apt70202@test-domain.com:message:received:content_kbda0206 :: true 2021-05-03 22:28:59 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-03 22:28:59 | [Mutex] received everything. 2021-05-03 22:28:59 | [Mutex] isItemNotified: node_30jlpm0203:subscribe_node:success :: true 2021-05-03 22:28:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-03 22:28:59 | command: <data><node>node_30jlpm0203</node><expire-at>2021-05-04T05:29:04Z</expire-at><entry><content>content_tjfhc40207</content></entry></data> 2021-05-03 22:28:59 | target: http://localhost:8088 2021-05-03 22:28:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-03 22:28:59 | entity: <data><node>node_30jlpm0203</node><expire-at>2021-05-04T05:29:04Z</expire-at><entry><content>content_tjfhc40207</content></entry></data> 2021-05-03 22:28:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 04 May 2021 05:28:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-03 22:28:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a494f112-02e3-420b-8a66-d675eeaa08e4</value></item-id></result> 2021-05-03 22:28:59 | contains: true 2021-05-03 22:29:07 | [Mutex] waiting for: [user_regulari6apt70202@test-domain.com:message:received:content_tjfhc40207] 2021-05-03 22:29:07 | [Mutex] waiting for: [user_regulari6apt70202@test-domain.com:message:received:content_tjfhc40207] 2021-05-03 22:29:07 | [Mutex] waiting for: [user_regulari6apt70202@test-domain.com:message:received:content_tjfhc40207] 2021-05-03 22:29:22 | [Mutex] timeout. Not received [user_regulari6apt70202@test-domain.com:message:received:content_tjfhc40207] 2021-05-03 22:29:22 | [Mutex] received everything. 2021-05-03 22:29:22 | [Mutex] isItemNotified: user_regulari6apt70202@test-domain.com:message:received:content_tjfhc40207 :: false 2021-05-03 22:29:22 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tjfhc40207 :: true |