Test duration : 45.205s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.725s |
2020-11-30 22:05:41 |
2020-11-30 22:05:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-30 22:05:41 | ------------------------------------ 2020-11-30 22:05:41 | [Mutex] isItemNotified: node_xlkpq0203:exists :: false 2020-11-30 22:05:41 | [Mutex] waiting for: [node_xlkpq0203:create_node] 2020-11-30 22:05:41 | [Mutex] received everything. 2020-11-30 22:05:41 | [Mutex] isItemNotified: node_xlkpq0203:create_node:success :: true 2020-11-30 22:05:41 | [Mutex] waiting for: [node_xlkpq0203:subscribe_node] 2020-11-30 22:05:41 | [Mutex] waiting for: [node_xlkpq0203:subscribe_node] 2020-11-30 22:05:41 | [Mutex] received everything. 2020-11-30 22:05:41 | [Mutex] isItemNotified: node_xlkpq0203:subscribe_node:success :: true 2020-11-30 22:05:41 | ===== publishing normal message (to online) 2020-11-30 22:05:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-30 22:05:41 | command: <data><node>node_xlkpq0203</node><entry><content>content_8e32dg0204</content></entry></data> 2020-11-30 22:05:41 | target: http://localhost:8088 2020-11-30 22:05:41 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-11-30 22:05:41 | entity: <data><node>node_xlkpq0203</node><entry><content>content_8e32dg0204</content></entry></data> 2020-11-30 22:05:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 06:05:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-30 22:05:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a14d0d19-f082-44ef-8b28-f51697aca8fc</value></item-id></result> 2020-11-30 22:05:41 | contains: true 2020-11-30 22:05:41 | [Mutex] waiting for: [user_regularszmpy60202@test-domain.com:message:received:content_8e32dg0204] 2020-11-30 22:05:41 | [Mutex] received everything. 2020-11-30 22:05:41 | [Mutex] isItemNotified: user_regularszmpy60202@test-domain.com:message:received:content_8e32dg0204 :: true 2020-11-30 22:05:41 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-30 22:05:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-30 22:05:41 | command: <data><node>node_xlkpq0203</node><expire-at>2020-12-01T06:05:36Z</expire-at><entry><content>content_w1tap80205</content></entry></data> 2020-11-30 22:05:41 | target: http://localhost:8088 2020-11-30 22:05:41 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2020-11-30 22:05:41 | entity: <data><node>node_xlkpq0203</node><expire-at>2020-12-01T06:05:36Z</expire-at><entry><content>content_w1tap80205</content></entry></data> 2020-11-30 22:05:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 06:05:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-30 22:05:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8f80b94c-9775-43a2-bd0c-b8514427f4d2</value></item-id></result> 2020-11-30 22:05:41 | contains: true 2020-11-30 22:05:41 | [Mutex] waiting for: [user_regularszmpy60202@test-domain.com:message:received:content_w1tap80205] 2020-11-30 22:05:56 | [Mutex] timeout. Not received [user_regularszmpy60202@test-domain.com:message:received:content_w1tap80205] 2020-11-30 22:05:56 | [Mutex] isItemNotified: user_regularszmpy60202@test-domain.com:message:received:content_w1tap80205 :: false 2020-11-30 22:05:56 | ===== publishing normal message (to offline) 2020-11-30 22:05:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-30 22:05:56 | command: <data><node>node_xlkpq0203</node><entry><content>content_cbigcx0206</content></entry></data> 2020-11-30 22:05:56 | target: http://localhost:8088 2020-11-30 22:05:56 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2020-11-30 22:05:56 | entity: <data><node>node_xlkpq0203</node><entry><content>content_cbigcx0206</content></entry></data> 2020-11-30 22:05:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 06:05:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-30 22:05:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6b559d02-dc71-4d23-ae2c-30e4a6850e43</value></item-id></result> 2020-11-30 22:05:56 | contains: true 2020-11-30 22:06:01 | [Mutex] waiting for: [user_regularszmpy60202@test-domain.com:message:received:content_cbigcx0206] 2020-11-30 22:06:01 | [Mutex] received everything. 2020-11-30 22:06:01 | [Mutex] isItemNotified: user_regularszmpy60202@test-domain.com:message:received:content_cbigcx0206 :: true 2020-11-30 22:06:01 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-30 22:06:01 | [Mutex] received everything. 2020-11-30 22:06:01 | [Mutex] isItemNotified: node_xlkpq0203:subscribe_node:success :: true 2020-11-30 22:06:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-30 22:06:01 | command: <data><node>node_xlkpq0203</node><expire-at>2020-12-01T06:06:06Z</expire-at><entry><content>content_o1afmd0207</content></entry></data> 2020-11-30 22:06:01 | target: http://localhost:8088 2020-11-30 22:06:01 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2020-11-30 22:06:01 | entity: <data><node>node_xlkpq0203</node><expire-at>2020-12-01T06:06:06Z</expire-at><entry><content>content_o1afmd0207</content></entry></data> 2020-11-30 22:06:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Dec 2020 06:06:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-30 22:06:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6665933c-38da-4c61-9247-6caa1c1e6a59</value></item-id></result> 2020-11-30 22:06:01 | contains: true 2020-11-30 22:06:10 | [Mutex] waiting for: [user_regularszmpy60202@test-domain.com:message:received:content_o1afmd0207] 2020-11-30 22:06:10 | [Mutex] waiting for: [user_regularszmpy60202@test-domain.com:message:received:content_o1afmd0207] 2020-11-30 22:06:25 | [Mutex] timeout. Not received [user_regularszmpy60202@test-domain.com:message:received:content_o1afmd0207] 2020-11-30 22:06:25 | [Mutex] received everything. 2020-11-30 22:06:25 | [Mutex] isItemNotified: user_regularszmpy60202@test-domain.com:message:received:content_o1afmd0207 :: false 2020-11-30 22:06:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_o1afmd0207 :: true |