Test duration : 45.136s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.775s |
2020-11-18 21:27:18 |
2020-11-18 21:27:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-18 21:27:18 | ------------------------------------ 2020-11-18 21:27:18 | [Mutex] isItemNotified: node_wo30z50203:exists :: false 2020-11-18 21:27:18 | [Mutex] waiting for: [node_wo30z50203:create_node] 2020-11-18 21:27:18 | [Mutex] received everything. 2020-11-18 21:27:18 | [Mutex] isItemNotified: node_wo30z50203:create_node:success :: true 2020-11-18 21:27:18 | [Mutex] waiting for: [node_wo30z50203:subscribe_node] 2020-11-18 21:27:18 | [Mutex] waiting for: [node_wo30z50203:subscribe_node] 2020-11-18 21:27:18 | [Mutex] received everything. 2020-11-18 21:27:18 | [Mutex] isItemNotified: node_wo30z50203:subscribe_node:success :: true 2020-11-18 21:27:18 | ===== publishing normal message (to online) 2020-11-18 21:27:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-18 21:27:18 | command: <data><node>node_wo30z50203</node><entry><content>content_qxvw6m0204</content></entry></data> 2020-11-18 21:27:18 | target: http://localhost:8088 2020-11-18 21:27:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-18 21:27:18 | entity: <data><node>node_wo30z50203</node><entry><content>content_qxvw6m0204</content></entry></data> 2020-11-18 21:27:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:27:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-18 21:27:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ac56e303-9bd8-48a3-80ae-55abfa31049e</value></item-id></result> 2020-11-18 21:27:18 | contains: true 2020-11-18 21:27:18 | [Mutex] received everything. 2020-11-18 21:27:18 | [Mutex] isItemNotified: user_regularjui0rx0202@test-domain.com:message:received:content_qxvw6m0204 :: true 2020-11-18 21:27:18 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-18 21:27:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-18 21:27:18 | command: <data><node>node_wo30z50203</node><expire-at>2020-11-19T05:27:13Z</expire-at><entry><content>content_nt05fo0205</content></entry></data> 2020-11-18 21:27:18 | target: http://localhost:8088 2020-11-18 21:27:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-18 21:27:18 | entity: <data><node>node_wo30z50203</node><expire-at>2020-11-19T05:27:13Z</expire-at><entry><content>content_nt05fo0205</content></entry></data> 2020-11-18 21:27:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:27:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-18 21:27:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>664e5333-411a-449f-af19-46ab7f6434fb</value></item-id></result> 2020-11-18 21:27:18 | contains: true 2020-11-18 21:27:18 | [Mutex] waiting for: [user_regularjui0rx0202@test-domain.com:message:received:content_nt05fo0205] 2020-11-18 21:27:33 | [Mutex] timeout. Not received [user_regularjui0rx0202@test-domain.com:message:received:content_nt05fo0205] 2020-11-18 21:27:33 | [Mutex] isItemNotified: user_regularjui0rx0202@test-domain.com:message:received:content_nt05fo0205 :: false 2020-11-18 21:27:33 | ===== publishing normal message (to offline) 2020-11-18 21:27:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-18 21:27:33 | command: <data><node>node_wo30z50203</node><entry><content>content_sv49rd0206</content></entry></data> 2020-11-18 21:27:33 | target: http://localhost:8088 2020-11-18 21:27:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-18 21:27:33 | entity: <data><node>node_wo30z50203</node><entry><content>content_sv49rd0206</content></entry></data> 2020-11-18 21:27:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:27:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-18 21:27:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>39a9736f-6434-4a3d-b58e-cabee6a81c96</value></item-id></result> 2020-11-18 21:27:33 | contains: true 2020-11-18 21:27:39 | [Mutex] waiting for: [user_regularjui0rx0202@test-domain.com:message:received:content_sv49rd0206] 2020-11-18 21:27:39 | [Mutex] waiting for: [user_regularjui0rx0202@test-domain.com:message:received:content_sv49rd0206] 2020-11-18 21:27:39 | [Mutex] received everything. 2020-11-18 21:27:39 | [Mutex] isItemNotified: user_regularjui0rx0202@test-domain.com:message:received:content_sv49rd0206 :: true 2020-11-18 21:27:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-18 21:27:39 | [Mutex] received everything. 2020-11-18 21:27:39 | [Mutex] isItemNotified: node_wo30z50203:subscribe_node:success :: true 2020-11-18 21:27:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-18 21:27:39 | command: <data><node>node_wo30z50203</node><expire-at>2020-11-19T05:27:44Z</expire-at><entry><content>content_5od7so0207</content></entry></data> 2020-11-18 21:27:39 | target: http://localhost:8088 2020-11-18 21:27:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-18 21:27:39 | entity: <data><node>node_wo30z50203</node><expire-at>2020-11-19T05:27:44Z</expire-at><entry><content>content_5od7so0207</content></entry></data> 2020-11-18 21:27:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 19 Nov 2020 05:27:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-18 21:27:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3e1dd7d5-8f98-493d-a1e9-41601e03cc59</value></item-id></result> 2020-11-18 21:27:39 | contains: true 2020-11-18 21:27:47 | [Mutex] waiting for: [user_regularjui0rx0202@test-domain.com:message:received:content_5od7so0207] 2020-11-18 21:28:02 | [Mutex] timeout. Not received [user_regularjui0rx0202@test-domain.com:message:received:content_5od7so0207] 2020-11-18 21:28:02 | [Mutex] received everything. 2020-11-18 21:28:02 | [Mutex] isItemNotified: user_regularjui0rx0202@test-domain.com:message:received:content_5od7so0207 :: false 2020-11-18 21:28:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5od7so0207 :: true |