Test duration : 45.616s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.703s |
2020-09-09 06:36:01 |
2020-09-09 06:36:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-09 06:36:01 | ------------------------------------ 2020-09-09 06:36:01 | [Mutex] isItemNotified: node_ia5ab50203:exists :: false 2020-09-09 06:36:01 | [Mutex] waiting for: [node_ia5ab50203:create_node] 2020-09-09 06:36:01 | [Mutex] received everything. 2020-09-09 06:36:01 | [Mutex] isItemNotified: node_ia5ab50203:create_node:success :: true 2020-09-09 06:36:01 | [Mutex] waiting for: [node_ia5ab50203:subscribe_node] 2020-09-09 06:36:01 | [Mutex] waiting for: [node_ia5ab50203:subscribe_node] 2020-09-09 06:36:01 | [Mutex] received everything. 2020-09-09 06:36:01 | [Mutex] isItemNotified: node_ia5ab50203:subscribe_node:success :: true 2020-09-09 06:36:01 | ===== publishing normal message (to online) 2020-09-09 06:36:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 06:36:01 | command: <data><node>node_ia5ab50203</node><entry><content>content_3bclqv0204</content></entry></data> 2020-09-09 06:36:01 | target: http://localhost:8088 2020-09-09 06:36:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 06:36:01 | entity: <data><node>node_ia5ab50203</node><entry><content>content_3bclqv0204</content></entry></data> 2020-09-09 06:36:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 13:36:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 06:36:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ddf4f6fa-a291-4f81-a5f7-c43f488dfb0a</value></item-id></result> 2020-09-09 06:36:01 | contains: true 2020-09-09 06:36:01 | [Mutex] received everything. 2020-09-09 06:36:01 | [Mutex] isItemNotified: user_regularqtxqxi0202@test-domain.com:message:received:content_3bclqv0204 :: true 2020-09-09 06:36:01 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-09 06:36:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 06:36:01 | command: <data><node>node_ia5ab50203</node><expire-at>2020-09-09T13:35:56Z</expire-at><entry><content>content_cpsktf0205</content></entry></data> 2020-09-09 06:36:01 | target: http://localhost:8088 2020-09-09 06:36:01 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 06:36:01 | entity: <data><node>node_ia5ab50203</node><expire-at>2020-09-09T13:35:56Z</expire-at><entry><content>content_cpsktf0205</content></entry></data> 2020-09-09 06:36:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 13:36:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 06:36:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>45c185ef-11cd-4080-9f6b-1356556558b1</value></item-id></result> 2020-09-09 06:36:01 | contains: true 2020-09-09 06:36:01 | [Mutex] waiting for: [user_regularqtxqxi0202@test-domain.com:message:received:content_cpsktf0205] 2020-09-09 06:36:16 | [Mutex] timeout. Not received [user_regularqtxqxi0202@test-domain.com:message:received:content_cpsktf0205] 2020-09-09 06:36:16 | [Mutex] isItemNotified: user_regularqtxqxi0202@test-domain.com:message:received:content_cpsktf0205 :: false 2020-09-09 06:36:16 | ===== publishing normal message (to offline) 2020-09-09 06:36:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 06:36:16 | command: <data><node>node_ia5ab50203</node><entry><content>content_iofctl0206</content></entry></data> 2020-09-09 06:36:16 | target: http://localhost:8088 2020-09-09 06:36:16 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-09 06:36:16 | entity: <data><node>node_ia5ab50203</node><entry><content>content_iofctl0206</content></entry></data> 2020-09-09 06:36:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 13:36:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 06:36:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>38642583-f74e-4b0d-b053-b5ed92153c6c</value></item-id></result> 2020-09-09 06:36:16 | contains: true 2020-09-09 06:36:21 | [Mutex] waiting for: [user_regularqtxqxi0202@test-domain.com:message:received:content_iofctl0206] 2020-09-09 06:36:21 | [Mutex] received everything. 2020-09-09 06:36:21 | [Mutex] isItemNotified: user_regularqtxqxi0202@test-domain.com:message:received:content_iofctl0206 :: true 2020-09-09 06:36:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-09 06:36:21 | [Mutex] received everything. 2020-09-09 06:36:21 | [Mutex] isItemNotified: node_ia5ab50203:subscribe_node:success :: true 2020-09-09 06:36:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-09 06:36:21 | command: <data><node>node_ia5ab50203</node><expire-at>2020-09-09T13:36:26Z</expire-at><entry><content>content_uvjxdi0207</content></entry></data> 2020-09-09 06:36:21 | target: http://localhost:8088 2020-09-09 06:36:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-09 06:36:21 | entity: <data><node>node_ia5ab50203</node><expire-at>2020-09-09T13:36:26Z</expire-at><entry><content>content_uvjxdi0207</content></entry></data> 2020-09-09 06:36:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Sep 2020 13:36:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-09 06:36:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>39b46048-0bd7-4fcf-b056-85ea489b7056</value></item-id></result> 2020-09-09 06:36:21 | contains: true 2020-09-09 06:36:30 | [Mutex] waiting for: [user_regularqtxqxi0202@test-domain.com:message:received:content_uvjxdi0207] 2020-09-09 06:36:30 | [Mutex] waiting for: [user_regularqtxqxi0202@test-domain.com:message:received:content_uvjxdi0207] 2020-09-09 06:36:30 | [Mutex] waiting for: [user_regularqtxqxi0202@test-domain.com:message:received:content_uvjxdi0207] 2020-09-09 06:36:45 | [Mutex] timeout. Not received [user_regularqtxqxi0202@test-domain.com:message:received:content_uvjxdi0207] 2020-09-09 06:36:45 | [Mutex] received everything. 2020-09-09 06:36:45 | [Mutex] isItemNotified: user_regularqtxqxi0202@test-domain.com:message:received:content_uvjxdi0207 :: false 2020-09-09 06:36:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uvjxdi0207 :: true |