Test duration : 45.427s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.765s |
2020-09-27 23:02:56 |
2020-09-27 23:02:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-27 23:02:56 | ------------------------------------ 2020-09-27 23:02:56 | [Mutex] isItemNotified: node_588kw40203:exists :: false 2020-09-27 23:02:56 | [Mutex] waiting for: [node_588kw40203:create_node] 2020-09-27 23:02:56 | [Mutex] received everything. 2020-09-27 23:02:56 | [Mutex] isItemNotified: node_588kw40203:create_node:success :: true 2020-09-27 23:02:56 | [Mutex] waiting for: [node_588kw40203:subscribe_node] 2020-09-27 23:02:56 | [Mutex] waiting for: [node_588kw40203:subscribe_node] 2020-09-27 23:02:56 | [Mutex] received everything. 2020-09-27 23:02:56 | [Mutex] isItemNotified: node_588kw40203:subscribe_node:success :: true 2020-09-27 23:02:56 | ===== publishing normal message (to online) 2020-09-27 23:02:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-27 23:02:56 | command: <data><node>node_588kw40203</node><entry><content>content_evqeof0204</content></entry></data> 2020-09-27 23:02:56 | target: http://localhost:8088 2020-09-27 23:02:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-27 23:02:56 | entity: <data><node>node_588kw40203</node><entry><content>content_evqeof0204</content></entry></data> 2020-09-27 23:02:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 06:02:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-27 23:02:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>385d91fb-7229-41be-9580-33b09816c7b4</value></item-id></result> 2020-09-27 23:02:56 | contains: true 2020-09-27 23:02:56 | [Mutex] received everything. 2020-09-27 23:02:56 | [Mutex] isItemNotified: user_regular27stnj0202@test-domain.com:message:received:content_evqeof0204 :: true 2020-09-27 23:02:56 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-27 23:02:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-27 23:02:56 | command: <data><node>node_588kw40203</node><expire-at>2020-09-28T06:02:51Z</expire-at><entry><content>content_fc3mnm0205</content></entry></data> 2020-09-27 23:02:56 | target: http://localhost:8088 2020-09-27 23:02:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-27 23:02:56 | entity: <data><node>node_588kw40203</node><expire-at>2020-09-28T06:02:51Z</expire-at><entry><content>content_fc3mnm0205</content></entry></data> 2020-09-27 23:02:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 06:02:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-27 23:02:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1dda23da-4652-4b2b-a719-01d0f6cd44e1</value></item-id></result> 2020-09-27 23:02:56 | contains: true 2020-09-27 23:02:56 | [Mutex] waiting for: [user_regular27stnj0202@test-domain.com:message:received:content_fc3mnm0205] 2020-09-27 23:03:11 | [Mutex] timeout. Not received [user_regular27stnj0202@test-domain.com:message:received:content_fc3mnm0205] 2020-09-27 23:03:11 | [Mutex] isItemNotified: user_regular27stnj0202@test-domain.com:message:received:content_fc3mnm0205 :: false 2020-09-27 23:03:11 | ===== publishing normal message (to offline) 2020-09-27 23:03:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-27 23:03:12 | command: <data><node>node_588kw40203</node><entry><content>content_ach0lf0206</content></entry></data> 2020-09-27 23:03:12 | target: http://localhost:8088 2020-09-27 23:03:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-27 23:03:12 | entity: <data><node>node_588kw40203</node><entry><content>content_ach0lf0206</content></entry></data> 2020-09-27 23:03:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 06:03:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-27 23:03:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4422f8b1-0c8d-439f-be60-740efd162850</value></item-id></result> 2020-09-27 23:03:12 | contains: true 2020-09-27 23:03:17 | [Mutex] waiting for: [user_regular27stnj0202@test-domain.com:message:received:content_ach0lf0206] 2020-09-27 23:03:17 | [Mutex] received everything. 2020-09-27 23:03:17 | [Mutex] isItemNotified: user_regular27stnj0202@test-domain.com:message:received:content_ach0lf0206 :: true 2020-09-27 23:03:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-27 23:03:17 | [Mutex] received everything. 2020-09-27 23:03:17 | [Mutex] isItemNotified: node_588kw40203:subscribe_node:success :: true 2020-09-27 23:03:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-27 23:03:17 | command: <data><node>node_588kw40203</node><expire-at>2020-09-28T06:03:22Z</expire-at><entry><content>content_k2qvqa0207</content></entry></data> 2020-09-27 23:03:17 | target: http://localhost:8088 2020-09-27 23:03:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-27 23:03:17 | entity: <data><node>node_588kw40203</node><expire-at>2020-09-28T06:03:22Z</expire-at><entry><content>content_k2qvqa0207</content></entry></data> 2020-09-27 23:03:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Sep 2020 06:03:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-27 23:03:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7b9236a8-9b4c-40a9-ba00-4aef07140dae</value></item-id></result> 2020-09-27 23:03:17 | contains: true 2020-09-27 23:03:25 | [Mutex] waiting for: [user_regular27stnj0202@test-domain.com:message:received:content_k2qvqa0207] 2020-09-27 23:03:40 | [Mutex] timeout. Not received [user_regular27stnj0202@test-domain.com:message:received:content_k2qvqa0207] 2020-09-27 23:03:40 | [Mutex] received everything. 2020-09-27 23:03:40 | [Mutex] isItemNotified: user_regular27stnj0202@test-domain.com:message:received:content_k2qvqa0207 :: false 2020-09-27 23:03:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_k2qvqa0207 :: true |