Test duration : 46.014s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.765s |
2020-09-23 22:29:12 |
2020-09-23 22:29:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-23 22:29:12 | ------------------------------------ 2020-09-23 22:29:12 | [Mutex] isItemNotified: node_5j8wza0203:exists :: false 2020-09-23 22:29:12 | [Mutex] waiting for: [node_5j8wza0203:create_node] 2020-09-23 22:29:12 | [Mutex] received everything. 2020-09-23 22:29:12 | [Mutex] isItemNotified: node_5j8wza0203:create_node:success :: true 2020-09-23 22:29:12 | [Mutex] waiting for: [node_5j8wza0203:subscribe_node] 2020-09-23 22:29:12 | [Mutex] waiting for: [node_5j8wza0203:subscribe_node] 2020-09-23 22:29:12 | [Mutex] received everything. 2020-09-23 22:29:12 | [Mutex] isItemNotified: node_5j8wza0203:subscribe_node:success :: true 2020-09-23 22:29:12 | ===== publishing normal message (to online) 2020-09-23 22:29:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-23 22:29:12 | command: <data><node>node_5j8wza0203</node><entry><content>content_hhsyh40204</content></entry></data> 2020-09-23 22:29:12 | target: http://localhost:8088 2020-09-23 22:29:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-23 22:29:12 | entity: <data><node>node_5j8wza0203</node><entry><content>content_hhsyh40204</content></entry></data> 2020-09-23 22:29:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 05:29:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-23 22:29:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d4f685af-80cb-4a00-aa12-daa5f137d46c</value></item-id></result> 2020-09-23 22:29:12 | contains: true 2020-09-23 22:29:12 | [Mutex] received everything. 2020-09-23 22:29:12 | [Mutex] isItemNotified: user_regular49szwm0202@test-domain.com:message:received:content_hhsyh40204 :: true 2020-09-23 22:29:12 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-23 22:29:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-23 22:29:12 | command: <data><node>node_5j8wza0203</node><expire-at>2020-09-24T05:29:07Z</expire-at><entry><content>content_c7pi3o0205</content></entry></data> 2020-09-23 22:29:12 | target: http://localhost:8088 2020-09-23 22:29:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-23 22:29:12 | entity: <data><node>node_5j8wza0203</node><expire-at>2020-09-24T05:29:07Z</expire-at><entry><content>content_c7pi3o0205</content></entry></data> 2020-09-23 22:29:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 05:29:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-23 22:29:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3954221d-35a7-4b9c-b5f6-2856ac32bf0b</value></item-id></result> 2020-09-23 22:29:12 | contains: true 2020-09-23 22:29:12 | [Mutex] waiting for: [user_regular49szwm0202@test-domain.com:message:received:content_c7pi3o0205] 2020-09-23 22:29:27 | [Mutex] timeout. Not received [user_regular49szwm0202@test-domain.com:message:received:content_c7pi3o0205] 2020-09-23 22:29:27 | [Mutex] isItemNotified: user_regular49szwm0202@test-domain.com:message:received:content_c7pi3o0205 :: false 2020-09-23 22:29:27 | ===== publishing normal message (to offline) 2020-09-23 22:29:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-23 22:29:27 | command: <data><node>node_5j8wza0203</node><entry><content>content_rncndy0206</content></entry></data> 2020-09-23 22:29:27 | target: http://localhost:8088 2020-09-23 22:29:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-23 22:29:27 | entity: <data><node>node_5j8wza0203</node><entry><content>content_rncndy0206</content></entry></data> 2020-09-23 22:29:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 05:29:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-23 22:29:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c242c85-7a28-48b9-aa88-cd45eeb275ca</value></item-id></result> 2020-09-23 22:29:27 | contains: true 2020-09-23 22:29:32 | [Mutex] waiting for: [user_regular49szwm0202@test-domain.com:message:received:content_rncndy0206] 2020-09-23 22:29:32 | [Mutex] received everything. 2020-09-23 22:29:32 | [Mutex] isItemNotified: user_regular49szwm0202@test-domain.com:message:received:content_rncndy0206 :: true 2020-09-23 22:29:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-23 22:29:32 | [Mutex] received everything. 2020-09-23 22:29:32 | [Mutex] isItemNotified: node_5j8wza0203:subscribe_node:success :: true 2020-09-23 22:29:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-23 22:29:32 | command: <data><node>node_5j8wza0203</node><expire-at>2020-09-24T05:29:37Z</expire-at><entry><content>content_wzb9q60207</content></entry></data> 2020-09-23 22:29:32 | target: http://localhost:8088 2020-09-23 22:29:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-23 22:29:32 | entity: <data><node>node_5j8wza0203</node><expire-at>2020-09-24T05:29:37Z</expire-at><entry><content>content_wzb9q60207</content></entry></data> 2020-09-23 22:29:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Sep 2020 05:29:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-23 22:29:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f77ed99a-4254-4747-9753-7185620fde6f</value></item-id></result> 2020-09-23 22:29:32 | contains: true 2020-09-23 22:29:40 | [Mutex] waiting for: [user_regular49szwm0202@test-domain.com:message:received:content_wzb9q60207] 2020-09-23 22:29:40 | [Mutex] waiting for: [user_regular49szwm0202@test-domain.com:message:received:content_wzb9q60207] 2020-09-23 22:29:55 | [Mutex] timeout. Not received [user_regular49szwm0202@test-domain.com:message:received:content_wzb9q60207] 2020-09-23 22:29:55 | [Mutex] received everything. 2020-09-23 22:29:55 | [Mutex] isItemNotified: user_regular49szwm0202@test-domain.com:message:received:content_wzb9q60207 :: false 2020-09-23 22:29:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_wzb9q60207 :: true |