Test duration : 45.232s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.699s |
2020-09-13 22:41:17 |
2020-09-13 22:41:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-13 22:41:17 | ------------------------------------ 2020-09-13 22:41:17 | [Mutex] isItemNotified: node_9rlf7v0203:exists :: false 2020-09-13 22:41:17 | [Mutex] waiting for: [node_9rlf7v0203:create_node] 2020-09-13 22:41:17 | [Mutex] received everything. 2020-09-13 22:41:17 | [Mutex] isItemNotified: node_9rlf7v0203:create_node:success :: true 2020-09-13 22:41:17 | [Mutex] waiting for: [node_9rlf7v0203:subscribe_node] 2020-09-13 22:41:17 | [Mutex] received everything. 2020-09-13 22:41:17 | [Mutex] isItemNotified: node_9rlf7v0203:subscribe_node:success :: true 2020-09-13 22:41:17 | ===== publishing normal message (to online) 2020-09-13 22:41:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 22:41:17 | command: <data><node>node_9rlf7v0203</node><entry><content>content_chkaav0204</content></entry></data> 2020-09-13 22:41:17 | target: http://localhost:8088 2020-09-13 22:41:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-13 22:41:17 | entity: <data><node>node_9rlf7v0203</node><entry><content>content_chkaav0204</content></entry></data> 2020-09-13 22:41:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 05:41:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 22:41:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aa939f51-d3dc-4cd1-a0de-cfa0e35b6fd3</value></item-id></result> 2020-09-13 22:41:17 | contains: true 2020-09-13 22:41:17 | [Mutex] received everything. 2020-09-13 22:41:17 | [Mutex] isItemNotified: user_regularaigrb90202@test-domain.com:message:received:content_chkaav0204 :: true 2020-09-13 22:41:17 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-13 22:41:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 22:41:17 | command: <data><node>node_9rlf7v0203</node><expire-at>2020-09-14T05:41:12Z</expire-at><entry><content>content_26wrkm0205</content></entry></data> 2020-09-13 22:41:17 | target: http://localhost:8088 2020-09-13 22:41:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-13 22:41:17 | entity: <data><node>node_9rlf7v0203</node><expire-at>2020-09-14T05:41:12Z</expire-at><entry><content>content_26wrkm0205</content></entry></data> 2020-09-13 22:41:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 05:41:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 22:41:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>79824007-929a-42de-8d6a-5944978231c2</value></item-id></result> 2020-09-13 22:41:17 | contains: true 2020-09-13 22:41:17 | [Mutex] waiting for: [user_regularaigrb90202@test-domain.com:message:received:content_26wrkm0205] 2020-09-13 22:41:32 | [Mutex] timeout. Not received [user_regularaigrb90202@test-domain.com:message:received:content_26wrkm0205] 2020-09-13 22:41:32 | [Mutex] isItemNotified: user_regularaigrb90202@test-domain.com:message:received:content_26wrkm0205 :: false 2020-09-13 22:41:32 | ===== publishing normal message (to offline) 2020-09-13 22:41:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 22:41:32 | command: <data><node>node_9rlf7v0203</node><entry><content>content_tun0gt0206</content></entry></data> 2020-09-13 22:41:32 | target: http://localhost:8088 2020-09-13 22:41:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-13 22:41:32 | entity: <data><node>node_9rlf7v0203</node><entry><content>content_tun0gt0206</content></entry></data> 2020-09-13 22:41:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 05:41:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 22:41:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5e9d53ec-d749-44db-bd0c-7abadf4a3d0d</value></item-id></result> 2020-09-13 22:41:32 | contains: true 2020-09-13 22:41:37 | [Mutex] waiting for: [user_regularaigrb90202@test-domain.com:message:received:content_tun0gt0206] 2020-09-13 22:41:37 | [Mutex] waiting for: [user_regularaigrb90202@test-domain.com:message:received:content_tun0gt0206] 2020-09-13 22:41:37 | [Mutex] received everything. 2020-09-13 22:41:37 | [Mutex] isItemNotified: user_regularaigrb90202@test-domain.com:message:received:content_tun0gt0206 :: true 2020-09-13 22:41:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-13 22:41:37 | [Mutex] received everything. 2020-09-13 22:41:37 | [Mutex] isItemNotified: node_9rlf7v0203:subscribe_node:success :: true 2020-09-13 22:41:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 22:41:37 | command: <data><node>node_9rlf7v0203</node><expire-at>2020-09-14T05:41:42Z</expire-at><entry><content>content_ui8c7y0207</content></entry></data> 2020-09-13 22:41:37 | target: http://localhost:8088 2020-09-13 22:41:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-13 22:41:37 | entity: <data><node>node_9rlf7v0203</node><expire-at>2020-09-14T05:41:42Z</expire-at><entry><content>content_ui8c7y0207</content></entry></data> 2020-09-13 22:41:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 05:41:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 22:41:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc7a304a-55bb-4522-ab99-8e04627f8450</value></item-id></result> 2020-09-13 22:41:37 | contains: true 2020-09-13 22:41:45 | [Mutex] waiting for: [user_regularaigrb90202@test-domain.com:message:received:content_ui8c7y0207] 2020-09-13 22:42:00 | [Mutex] timeout. Not received [user_regularaigrb90202@test-domain.com:message:received:content_ui8c7y0207] 2020-09-13 22:42:00 | [Mutex] received everything. 2020-09-13 22:42:00 | [Mutex] isItemNotified: user_regularaigrb90202@test-domain.com:message:received:content_ui8c7y0207 :: false 2020-09-13 22:42:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ui8c7y0207 :: true |