Test duration : 45.714s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.724s |
2020-10-18 22:31:26 |
2020-10-18 22:31:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-18 22:31:26 | ------------------------------------ 2020-10-18 22:31:26 | [Mutex] isItemNotified: node_emr6s80203:exists :: false 2020-10-18 22:31:26 | [Mutex] received everything. 2020-10-18 22:31:26 | [Mutex] isItemNotified: node_emr6s80203:create_node:success :: true 2020-10-18 22:31:26 | [Mutex] waiting for: [node_emr6s80203:subscribe_node] 2020-10-18 22:31:26 | [Mutex] received everything. 2020-10-18 22:31:26 | [Mutex] isItemNotified: node_emr6s80203:subscribe_node:success :: true 2020-10-18 22:31:26 | ===== publishing normal message (to online) 2020-10-18 22:31:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-18 22:31:26 | command: <data><node>node_emr6s80203</node><entry><content>content_ouq5kf0204</content></entry></data> 2020-10-18 22:31:26 | target: http://localhost:8088 2020-10-18 22:31:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-18 22:31:26 | entity: <data><node>node_emr6s80203</node><entry><content>content_ouq5kf0204</content></entry></data> 2020-10-18 22:31:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 05:31:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-18 22:31:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a32f87d1-91af-4bcc-b082-a07c43113dbd</value></item-id></result> 2020-10-18 22:31:26 | contains: true 2020-10-18 22:31:26 | [Mutex] waiting for: [user_regulartpxnl00202@test-domain.com:message:received:content_ouq5kf0204] 2020-10-18 22:31:26 | [Mutex] received everything. 2020-10-18 22:31:26 | [Mutex] isItemNotified: user_regulartpxnl00202@test-domain.com:message:received:content_ouq5kf0204 :: true 2020-10-18 22:31:26 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-18 22:31:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-18 22:31:26 | command: <data><node>node_emr6s80203</node><expire-at>2020-10-19T05:31:21Z</expire-at><entry><content>content_35khui0205</content></entry></data> 2020-10-18 22:31:26 | target: http://localhost:8088 2020-10-18 22:31:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-18 22:31:26 | entity: <data><node>node_emr6s80203</node><expire-at>2020-10-19T05:31:21Z</expire-at><entry><content>content_35khui0205</content></entry></data> 2020-10-18 22:31:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 05:31:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-18 22:31:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3b43426a-9151-4054-8c1e-655644b1dada</value></item-id></result> 2020-10-18 22:31:26 | contains: true 2020-10-18 22:31:26 | [Mutex] waiting for: [user_regulartpxnl00202@test-domain.com:message:received:content_35khui0205] 2020-10-18 22:31:41 | [Mutex] timeout. Not received [user_regulartpxnl00202@test-domain.com:message:received:content_35khui0205] 2020-10-18 22:31:41 | [Mutex] isItemNotified: user_regulartpxnl00202@test-domain.com:message:received:content_35khui0205 :: false 2020-10-18 22:31:41 | ===== publishing normal message (to offline) 2020-10-18 22:31:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-18 22:31:41 | command: <data><node>node_emr6s80203</node><entry><content>content_ahjify0206</content></entry></data> 2020-10-18 22:31:41 | target: http://localhost:8088 2020-10-18 22:31:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-18 22:31:41 | entity: <data><node>node_emr6s80203</node><entry><content>content_ahjify0206</content></entry></data> 2020-10-18 22:31:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 05:31:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-18 22:31:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5be5ce72-fd8a-405c-8944-dcf0065f8701</value></item-id></result> 2020-10-18 22:31:41 | contains: true 2020-10-18 22:31:46 | [Mutex] waiting for: [user_regulartpxnl00202@test-domain.com:message:received:content_ahjify0206] 2020-10-18 22:31:46 | [Mutex] received everything. 2020-10-18 22:31:46 | [Mutex] isItemNotified: user_regulartpxnl00202@test-domain.com:message:received:content_ahjify0206 :: true 2020-10-18 22:31:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-18 22:31:46 | [Mutex] received everything. 2020-10-18 22:31:46 | [Mutex] isItemNotified: node_emr6s80203:subscribe_node:success :: true 2020-10-18 22:31:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-18 22:31:46 | command: <data><node>node_emr6s80203</node><expire-at>2020-10-19T05:31:51Z</expire-at><entry><content>content_aok0wi0207</content></entry></data> 2020-10-18 22:31:46 | target: http://localhost:8088 2020-10-18 22:31:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-18 22:31:46 | entity: <data><node>node_emr6s80203</node><expire-at>2020-10-19T05:31:51Z</expire-at><entry><content>content_aok0wi0207</content></entry></data> 2020-10-18 22:31:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Oct 2020 05:31:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-18 22:31:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3d498b70-79e2-4eb0-9fd8-98d1b6ace13f</value></item-id></result> 2020-10-18 22:31:46 | contains: true 2020-10-18 22:31:55 | [Mutex] waiting for: [user_regulartpxnl00202@test-domain.com:message:received:content_aok0wi0207] 2020-10-18 22:32:10 | [Mutex] timeout. Not received [user_regulartpxnl00202@test-domain.com:message:received:content_aok0wi0207] 2020-10-18 22:32:10 | [Mutex] received everything. 2020-10-18 22:32:10 | [Mutex] isItemNotified: user_regulartpxnl00202@test-domain.com:message:received:content_aok0wi0207 :: false 2020-10-18 22:32:10 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_aok0wi0207 :: true |