Test duration : 45.295s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.717s |
2020-10-04 23:00:48 |
2020-10-04 23:00:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-04 23:00:48 | ------------------------------------ 2020-10-04 23:00:48 | [Mutex] isItemNotified: node_botzr40203:exists :: false 2020-10-04 23:00:48 | [Mutex] waiting for: [node_botzr40203:create_node] 2020-10-04 23:00:48 | [Mutex] received everything. 2020-10-04 23:00:48 | [Mutex] isItemNotified: node_botzr40203:create_node:success :: true 2020-10-04 23:00:48 | [Mutex] waiting for: [node_botzr40203:subscribe_node] 2020-10-04 23:00:48 | [Mutex] waiting for: [node_botzr40203:subscribe_node] 2020-10-04 23:00:48 | [Mutex] received everything. 2020-10-04 23:00:48 | [Mutex] isItemNotified: node_botzr40203:subscribe_node:success :: true 2020-10-04 23:00:48 | ===== publishing normal message (to online) 2020-10-04 23:00:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-04 23:00:48 | command: <data><node>node_botzr40203</node><entry><content>content_8csthm0204</content></entry></data> 2020-10-04 23:00:48 | target: http://localhost:8088 2020-10-04 23:00:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-04 23:00:48 | entity: <data><node>node_botzr40203</node><entry><content>content_8csthm0204</content></entry></data> 2020-10-04 23:00:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 06:00:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-04 23:00:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>35859af0-ce59-4b7a-9232-da1d0a4fe5fd</value></item-id></result> 2020-10-04 23:00:48 | contains: true 2020-10-04 23:00:48 | [Mutex] waiting for: [user_regular7axq000202@test-domain.com:message:received:content_8csthm0204] 2020-10-04 23:00:48 | [Mutex] received everything. 2020-10-04 23:00:48 | [Mutex] isItemNotified: user_regular7axq000202@test-domain.com:message:received:content_8csthm0204 :: true 2020-10-04 23:00:48 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-04 23:00:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-04 23:00:48 | command: <data><node>node_botzr40203</node><expire-at>2020-10-05T06:00:43Z</expire-at><entry><content>content_uqft2w0205</content></entry></data> 2020-10-04 23:00:48 | target: http://localhost:8088 2020-10-04 23:00:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-04 23:00:48 | entity: <data><node>node_botzr40203</node><expire-at>2020-10-05T06:00:43Z</expire-at><entry><content>content_uqft2w0205</content></entry></data> 2020-10-04 23:00:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 06:00:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-04 23:00:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d86d1d42-d9ea-45d6-b43b-38fcd2ee47de</value></item-id></result> 2020-10-04 23:00:48 | contains: true 2020-10-04 23:00:48 | [Mutex] waiting for: [user_regular7axq000202@test-domain.com:message:received:content_uqft2w0205] 2020-10-04 23:01:03 | [Mutex] timeout. Not received [user_regular7axq000202@test-domain.com:message:received:content_uqft2w0205] 2020-10-04 23:01:03 | [Mutex] isItemNotified: user_regular7axq000202@test-domain.com:message:received:content_uqft2w0205 :: false 2020-10-04 23:01:03 | ===== publishing normal message (to offline) 2020-10-04 23:01:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-04 23:01:03 | command: <data><node>node_botzr40203</node><entry><content>content_ikr2wd0206</content></entry></data> 2020-10-04 23:01:03 | target: http://localhost:8088 2020-10-04 23:01:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-04 23:01:03 | entity: <data><node>node_botzr40203</node><entry><content>content_ikr2wd0206</content></entry></data> 2020-10-04 23:01:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 06:01:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-04 23:01:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1c0c2bb4-d52d-4dcd-95c8-1c117a96cfe5</value></item-id></result> 2020-10-04 23:01:03 | contains: true 2020-10-04 23:01:09 | [Mutex] waiting for: [user_regular7axq000202@test-domain.com:message:received:content_ikr2wd0206] 2020-10-04 23:01:09 | [Mutex] received everything. 2020-10-04 23:01:09 | [Mutex] isItemNotified: user_regular7axq000202@test-domain.com:message:received:content_ikr2wd0206 :: true 2020-10-04 23:01:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-04 23:01:09 | [Mutex] received everything. 2020-10-04 23:01:09 | [Mutex] isItemNotified: node_botzr40203:subscribe_node:success :: true 2020-10-04 23:01:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-04 23:01:09 | command: <data><node>node_botzr40203</node><expire-at>2020-10-05T06:01:14Z</expire-at><entry><content>content_gwdx4b0207</content></entry></data> 2020-10-04 23:01:09 | target: http://localhost:8088 2020-10-04 23:01:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-04 23:01:09 | entity: <data><node>node_botzr40203</node><expire-at>2020-10-05T06:01:14Z</expire-at><entry><content>content_gwdx4b0207</content></entry></data> 2020-10-04 23:01:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 05 Oct 2020 06:01:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-04 23:01:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>32411217-3c3b-46ee-9c9e-c53493e1cf27</value></item-id></result> 2020-10-04 23:01:09 | contains: true 2020-10-04 23:01:17 | [Mutex] waiting for: [user_regular7axq000202@test-domain.com:message:received:content_gwdx4b0207] 2020-10-04 23:01:32 | [Mutex] timeout. Not received [user_regular7axq000202@test-domain.com:message:received:content_gwdx4b0207] 2020-10-04 23:01:32 | [Mutex] received everything. 2020-10-04 23:01:32 | [Mutex] isItemNotified: user_regular7axq000202@test-domain.com:message:received:content_gwdx4b0207 :: false 2020-10-04 23:01:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gwdx4b0207 :: true |