Test duration : 45.567s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.716s |
2020-09-02 22:50:13 |
2020-09-02 22:50:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-02 22:50:13 | ------------------------------------ 2020-09-02 22:50:13 | [Mutex] isItemNotified: node_frf9rx0203:exists :: false 2020-09-02 22:50:13 | [Mutex] waiting for: [node_frf9rx0203:create_node] 2020-09-02 22:50:13 | [Mutex] received everything. 2020-09-02 22:50:13 | [Mutex] isItemNotified: node_frf9rx0203:create_node:success :: true 2020-09-02 22:50:13 | [Mutex] waiting for: [node_frf9rx0203:subscribe_node] 2020-09-02 22:50:13 | [Mutex] received everything. 2020-09-02 22:50:13 | [Mutex] isItemNotified: node_frf9rx0203:subscribe_node:success :: true 2020-09-02 22:50:13 | ===== publishing normal message (to online) 2020-09-02 22:50:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-02 22:50:13 | command: <data><node>node_frf9rx0203</node><entry><content>content_bn1jy00204</content></entry></data> 2020-09-02 22:50:13 | target: http://localhost:8088 2020-09-02 22:50:13 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-02 22:50:13 | entity: <data><node>node_frf9rx0203</node><entry><content>content_bn1jy00204</content></entry></data> 2020-09-02 22:50:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:50:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-02 22:50:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>46232edd-2b94-40da-8a80-65d551eb2ddb</value></item-id></result> 2020-09-02 22:50:13 | contains: true 2020-09-02 22:50:13 | [Mutex] received everything. 2020-09-02 22:50:13 | [Mutex] isItemNotified: user_regular2wqxna0202@test-domain.com:message:received:content_bn1jy00204 :: true 2020-09-02 22:50:13 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-02 22:50:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-02 22:50:13 | command: <data><node>node_frf9rx0203</node><expire-at>2020-09-03T05:50:08Z</expire-at><entry><content>content_ydx3wb0205</content></entry></data> 2020-09-02 22:50:13 | target: http://localhost:8088 2020-09-02 22:50:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-02 22:50:13 | entity: <data><node>node_frf9rx0203</node><expire-at>2020-09-03T05:50:08Z</expire-at><entry><content>content_ydx3wb0205</content></entry></data> 2020-09-02 22:50:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:50:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-02 22:50:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0e989597-ac77-4ef4-89f6-51c2ecbb581f</value></item-id></result> 2020-09-02 22:50:13 | contains: true 2020-09-02 22:50:13 | [Mutex] waiting for: [user_regular2wqxna0202@test-domain.com:message:received:content_ydx3wb0205] 2020-09-02 22:50:28 | [Mutex] timeout. Not received [user_regular2wqxna0202@test-domain.com:message:received:content_ydx3wb0205] 2020-09-02 22:50:28 | [Mutex] isItemNotified: user_regular2wqxna0202@test-domain.com:message:received:content_ydx3wb0205 :: false 2020-09-02 22:50:28 | ===== publishing normal message (to offline) 2020-09-02 22:50:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-02 22:50:28 | command: <data><node>node_frf9rx0203</node><entry><content>content_u2a0ys0206</content></entry></data> 2020-09-02 22:50:28 | target: http://localhost:8088 2020-09-02 22:50:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-02 22:50:28 | entity: <data><node>node_frf9rx0203</node><entry><content>content_u2a0ys0206</content></entry></data> 2020-09-02 22:50:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:50:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-02 22:50:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c9dda8c1-46aa-4450-b638-1af7b52c4190</value></item-id></result> 2020-09-02 22:50:28 | contains: true 2020-09-02 22:50:33 | [Mutex] waiting for: [user_regular2wqxna0202@test-domain.com:message:received:content_u2a0ys0206] 2020-09-02 22:50:33 | [Mutex] waiting for: [user_regular2wqxna0202@test-domain.com:message:received:content_u2a0ys0206] 2020-09-02 22:50:33 | [Mutex] received everything. 2020-09-02 22:50:33 | [Mutex] isItemNotified: user_regular2wqxna0202@test-domain.com:message:received:content_u2a0ys0206 :: true 2020-09-02 22:50:33 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-02 22:50:33 | [Mutex] received everything. 2020-09-02 22:50:33 | [Mutex] isItemNotified: node_frf9rx0203:subscribe_node:success :: true 2020-09-02 22:50:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-02 22:50:33 | command: <data><node>node_frf9rx0203</node><expire-at>2020-09-03T05:50:38Z</expire-at><entry><content>content_j98sbq0207</content></entry></data> 2020-09-02 22:50:33 | target: http://localhost:8088 2020-09-02 22:50:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-02 22:50:33 | entity: <data><node>node_frf9rx0203</node><expire-at>2020-09-03T05:50:38Z</expire-at><entry><content>content_j98sbq0207</content></entry></data> 2020-09-02 22:50:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Sep 2020 05:50:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-02 22:50:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2fbdbb4e-abf7-4d16-947c-e7a3f74e58ab</value></item-id></result> 2020-09-02 22:50:33 | contains: true 2020-09-02 22:50:41 | [Mutex] waiting for: [user_regular2wqxna0202@test-domain.com:message:received:content_j98sbq0207] 2020-09-02 22:50:56 | [Mutex] timeout. Not received [user_regular2wqxna0202@test-domain.com:message:received:content_j98sbq0207] 2020-09-02 22:50:56 | [Mutex] received everything. 2020-09-02 22:50:56 | [Mutex] isItemNotified: user_regular2wqxna0202@test-domain.com:message:received:content_j98sbq0207 :: false 2020-09-02 22:50:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_j98sbq0207 :: true |