Test duration : 45.639s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.769s |
2021-01-27 05:43:40 |
2021-01-27 05:43:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-27 05:43:40 | ------------------------------------ 2021-01-27 05:43:40 | [Mutex] isItemNotified: node_78dbx0203:exists :: false 2021-01-27 05:43:40 | [Mutex] waiting for: [node_78dbx0203:create_node] 2021-01-27 05:43:40 | [Mutex] received everything. 2021-01-27 05:43:40 | [Mutex] isItemNotified: node_78dbx0203:create_node:success :: true 2021-01-27 05:43:40 | [Mutex] waiting for: [node_78dbx0203:subscribe_node] 2021-01-27 05:43:40 | [Mutex] waiting for: [node_78dbx0203:subscribe_node] 2021-01-27 05:43:40 | [Mutex] received everything. 2021-01-27 05:43:40 | [Mutex] isItemNotified: node_78dbx0203:subscribe_node:success :: true 2021-01-27 05:43:40 | ===== publishing normal message (to online) 2021-01-27 05:43:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 05:43:40 | command: <data><node>node_78dbx0203</node><entry><content>content_hjeaj80204</content></entry></data> 2021-01-27 05:43:40 | target: http://localhost:8088 2021-01-27 05:43:40 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-01-27 05:43:40 | entity: <data><node>node_78dbx0203</node><entry><content>content_hjeaj80204</content></entry></data> 2021-01-27 05:43:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:43:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 05:43:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>08ce252e-ebfc-4d4a-8463-a7ac28da8dc3</value></item-id></result> 2021-01-27 05:43:41 | contains: true 2021-01-27 05:43:41 | [Mutex] received everything. 2021-01-27 05:43:41 | [Mutex] isItemNotified: user_regularhuggmo0202@test-domain.com:message:received:content_hjeaj80204 :: true 2021-01-27 05:43:41 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-27 05:43:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 05:43:41 | command: <data><node>node_78dbx0203</node><expire-at>2021-01-27T13:43:36Z</expire-at><entry><content>content_gk27lm0205</content></entry></data> 2021-01-27 05:43:41 | target: http://localhost:8088 2021-01-27 05:43:41 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-01-27 05:43:41 | entity: <data><node>node_78dbx0203</node><expire-at>2021-01-27T13:43:36Z</expire-at><entry><content>content_gk27lm0205</content></entry></data> 2021-01-27 05:43:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:43:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 05:43:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e87d4f9b-a91f-4479-933e-b25546307762</value></item-id></result> 2021-01-27 05:43:41 | contains: true 2021-01-27 05:43:41 | [Mutex] waiting for: [user_regularhuggmo0202@test-domain.com:message:received:content_gk27lm0205] 2021-01-27 05:43:56 | [Mutex] timeout. Not received [user_regularhuggmo0202@test-domain.com:message:received:content_gk27lm0205] 2021-01-27 05:43:56 | [Mutex] isItemNotified: user_regularhuggmo0202@test-domain.com:message:received:content_gk27lm0205 :: false 2021-01-27 05:43:56 | ===== publishing normal message (to offline) 2021-01-27 05:43:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 05:43:56 | command: <data><node>node_78dbx0203</node><entry><content>content_nh9slb0206</content></entry></data> 2021-01-27 05:43:56 | target: http://localhost:8088 2021-01-27 05:43:56 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-01-27 05:43:56 | entity: <data><node>node_78dbx0203</node><entry><content>content_nh9slb0206</content></entry></data> 2021-01-27 05:43:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:43:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 05:43:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0ec18b35-13ce-4e78-a08f-5958da954d83</value></item-id></result> 2021-01-27 05:43:56 | contains: true 2021-01-27 05:44:01 | [Mutex] waiting for: [user_regularhuggmo0202@test-domain.com:message:received:content_nh9slb0206] 2021-01-27 05:44:01 | [Mutex] received everything. 2021-01-27 05:44:01 | [Mutex] isItemNotified: user_regularhuggmo0202@test-domain.com:message:received:content_nh9slb0206 :: true 2021-01-27 05:44:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-27 05:44:01 | [Mutex] received everything. 2021-01-27 05:44:01 | [Mutex] isItemNotified: node_78dbx0203:subscribe_node:success :: true 2021-01-27 05:44:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 05:44:01 | command: <data><node>node_78dbx0203</node><expire-at>2021-01-27T13:44:06Z</expire-at><entry><content>content_2dr4yt0207</content></entry></data> 2021-01-27 05:44:01 | target: http://localhost:8088 2021-01-27 05:44:01 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-01-27 05:44:01 | entity: <data><node>node_78dbx0203</node><expire-at>2021-01-27T13:44:06Z</expire-at><entry><content>content_2dr4yt0207</content></entry></data> 2021-01-27 05:44:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:44:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 05:44:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>39774818-54ae-4fce-8e82-7b8c38067ce4</value></item-id></result> 2021-01-27 05:44:01 | contains: true 2021-01-27 05:44:09 | [Mutex] waiting for: [user_regularhuggmo0202@test-domain.com:message:received:content_2dr4yt0207] 2021-01-27 05:44:24 | [Mutex] timeout. Not received [user_regularhuggmo0202@test-domain.com:message:received:content_2dr4yt0207] 2021-01-27 05:44:24 | [Mutex] received everything. 2021-01-27 05:44:24 | [Mutex] isItemNotified: user_regularhuggmo0202@test-domain.com:message:received:content_2dr4yt0207 :: false 2021-01-27 05:44:24 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2dr4yt0207 :: true |