Test duration : 45.227s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.811s |
2021-01-28 21:49:00 |
2021-01-28 21:49:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-28 21:49:00 | ------------------------------------ 2021-01-28 21:49:00 | [Mutex] isItemNotified: node_4uj3nb0203:exists :: false 2021-01-28 21:49:00 | [Mutex] waiting for: [node_4uj3nb0203:create_node] 2021-01-28 21:49:00 | [Mutex] received everything. 2021-01-28 21:49:00 | [Mutex] isItemNotified: node_4uj3nb0203:create_node:success :: true 2021-01-28 21:49:00 | [Mutex] waiting for: [node_4uj3nb0203:subscribe_node] 2021-01-28 21:49:00 | [Mutex] waiting for: [node_4uj3nb0203:subscribe_node] 2021-01-28 21:49:00 | [Mutex] received everything. 2021-01-28 21:49:00 | [Mutex] isItemNotified: node_4uj3nb0203:subscribe_node:success :: true 2021-01-28 21:49:00 | ===== publishing normal message (to online) 2021-01-28 21:49:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-28 21:49:00 | command: <data><node>node_4uj3nb0203</node><entry><content>content_9qp71w0204</content></entry></data> 2021-01-28 21:49:00 | target: http://localhost:8088 2021-01-28 21:49:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-28 21:49:00 | entity: <data><node>node_4uj3nb0203</node><entry><content>content_9qp71w0204</content></entry></data> 2021-01-28 21:49:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:49:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-28 21:49:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4ed4aa1b-bc02-4521-8487-e87cd6d45093</value></item-id></result> 2021-01-28 21:49:00 | contains: true 2021-01-28 21:49:00 | [Mutex] received everything. 2021-01-28 21:49:00 | [Mutex] isItemNotified: user_regularvfai220202@test-domain.com:message:received:content_9qp71w0204 :: true 2021-01-28 21:49:00 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-28 21:49:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-28 21:49:00 | command: <data><node>node_4uj3nb0203</node><expire-at>2021-01-29T05:48:55Z</expire-at><entry><content>content_sb0jfy0205</content></entry></data> 2021-01-28 21:49:00 | target: http://localhost:8088 2021-01-28 21:49:00 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-28 21:49:00 | entity: <data><node>node_4uj3nb0203</node><expire-at>2021-01-29T05:48:55Z</expire-at><entry><content>content_sb0jfy0205</content></entry></data> 2021-01-28 21:49:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:49:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-28 21:49:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>714b7697-7173-487f-b866-17d369b7fae2</value></item-id></result> 2021-01-28 21:49:00 | contains: true 2021-01-28 21:49:00 | [Mutex] waiting for: [user_regularvfai220202@test-domain.com:message:received:content_sb0jfy0205] 2021-01-28 21:49:15 | [Mutex] timeout. Not received [user_regularvfai220202@test-domain.com:message:received:content_sb0jfy0205] 2021-01-28 21:49:15 | [Mutex] isItemNotified: user_regularvfai220202@test-domain.com:message:received:content_sb0jfy0205 :: false 2021-01-28 21:49:15 | ===== publishing normal message (to offline) 2021-01-28 21:49:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-28 21:49:15 | command: <data><node>node_4uj3nb0203</node><entry><content>content_b1dgwu0206</content></entry></data> 2021-01-28 21:49:15 | target: http://localhost:8088 2021-01-28 21:49:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-28 21:49:15 | entity: <data><node>node_4uj3nb0203</node><entry><content>content_b1dgwu0206</content></entry></data> 2021-01-28 21:49:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:49:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-28 21:49:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>66533788-31dd-48c9-ba30-7a62ba3fff4f</value></item-id></result> 2021-01-28 21:49:15 | contains: true 2021-01-28 21:49:21 | [Mutex] waiting for: [user_regularvfai220202@test-domain.com:message:received:content_b1dgwu0206] 2021-01-28 21:49:21 | [Mutex] received everything. 2021-01-28 21:49:21 | [Mutex] isItemNotified: user_regularvfai220202@test-domain.com:message:received:content_b1dgwu0206 :: true 2021-01-28 21:49:21 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-28 21:49:21 | [Mutex] received everything. 2021-01-28 21:49:21 | [Mutex] isItemNotified: node_4uj3nb0203:subscribe_node:success :: true 2021-01-28 21:49:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-28 21:49:21 | command: <data><node>node_4uj3nb0203</node><expire-at>2021-01-29T05:49:26Z</expire-at><entry><content>content_icr4t40207</content></entry></data> 2021-01-28 21:49:21 | target: http://localhost:8088 2021-01-28 21:49:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-28 21:49:21 | entity: <data><node>node_4uj3nb0203</node><expire-at>2021-01-29T05:49:26Z</expire-at><entry><content>content_icr4t40207</content></entry></data> 2021-01-28 21:49:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:49:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-28 21:49:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8ff01da1-1b78-43a0-acdd-60d4d0aad1fb</value></item-id></result> 2021-01-28 21:49:21 | contains: true 2021-01-28 21:49:29 | [Mutex] waiting for: [user_regularvfai220202@test-domain.com:message:received:content_icr4t40207] 2021-01-28 21:49:29 | [Mutex] waiting for: [user_regularvfai220202@test-domain.com:message:received:content_icr4t40207] 2021-01-28 21:49:44 | [Mutex] timeout. Not received [user_regularvfai220202@test-domain.com:message:received:content_icr4t40207] 2021-01-28 21:49:44 | [Mutex] received everything. 2021-01-28 21:49:44 | [Mutex] isItemNotified: user_regularvfai220202@test-domain.com:message:received:content_icr4t40207 :: false 2021-01-28 21:49:44 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_icr4t40207 :: true |