Test duration : 45.954s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.857s |
2020-11-24 08:37:15 |
2020-11-24 08:37:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-11-24 08:37:15 | ------------------------------------ 2020-11-24 08:37:15 | [Mutex] isItemNotified: node_qdj9d00203:exists :: false 2020-11-24 08:37:15 | [Mutex] waiting for: [node_qdj9d00203:create_node] 2020-11-24 08:37:15 | [Mutex] received everything. 2020-11-24 08:37:15 | [Mutex] isItemNotified: node_qdj9d00203:create_node:success :: true 2020-11-24 08:37:15 | [Mutex] waiting for: [node_qdj9d00203:subscribe_node] 2020-11-24 08:37:15 | [Mutex] waiting for: [node_qdj9d00203:subscribe_node] 2020-11-24 08:37:15 | [Mutex] received everything. 2020-11-24 08:37:15 | [Mutex] isItemNotified: node_qdj9d00203:subscribe_node:success :: true 2020-11-24 08:37:15 | ===== publishing normal message (to online) 2020-11-24 08:37:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-24 08:37:15 | command: <data><node>node_qdj9d00203</node><entry><content>content_yv4tgg0204</content></entry></data> 2020-11-24 08:37:15 | target: http://localhost:8088 2020-11-24 08:37:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-24 08:37:15 | entity: <data><node>node_qdj9d00203</node><entry><content>content_yv4tgg0204</content></entry></data> 2020-11-24 08:37:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:37:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-24 08:37:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b0cd7ed2-600c-4d83-bb1e-2cab2179bf48</value></item-id></result> 2020-11-24 08:37:15 | contains: true 2020-11-24 08:37:15 | [Mutex] received everything. 2020-11-24 08:37:15 | [Mutex] isItemNotified: user_regularojsmmu0202@test-domain.com:message:received:content_yv4tgg0204 :: true 2020-11-24 08:37:15 | ===== publishing already old message - expecting message being filtered out (to online) 2020-11-24 08:37:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-24 08:37:15 | command: <data><node>node_qdj9d00203</node><expire-at>2020-11-24T16:37:10Z</expire-at><entry><content>content_psxy5x0205</content></entry></data> 2020-11-24 08:37:15 | target: http://localhost:8088 2020-11-24 08:37:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-24 08:37:15 | entity: <data><node>node_qdj9d00203</node><expire-at>2020-11-24T16:37:10Z</expire-at><entry><content>content_psxy5x0205</content></entry></data> 2020-11-24 08:37:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:37:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-24 08:37:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e8372e0e-8519-4187-963b-d690b6e90796</value></item-id></result> 2020-11-24 08:37:15 | contains: true 2020-11-24 08:37:15 | [Mutex] waiting for: [user_regularojsmmu0202@test-domain.com:message:received:content_psxy5x0205] 2020-11-24 08:37:30 | [Mutex] timeout. Not received [user_regularojsmmu0202@test-domain.com:message:received:content_psxy5x0205] 2020-11-24 08:37:30 | [Mutex] isItemNotified: user_regularojsmmu0202@test-domain.com:message:received:content_psxy5x0205 :: false 2020-11-24 08:37:30 | ===== publishing normal message (to offline) 2020-11-24 08:37:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-24 08:37:30 | command: <data><node>node_qdj9d00203</node><entry><content>content_1mr81r0206</content></entry></data> 2020-11-24 08:37:30 | target: http://localhost:8088 2020-11-24 08:37:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-11-24 08:37:30 | entity: <data><node>node_qdj9d00203</node><entry><content>content_1mr81r0206</content></entry></data> 2020-11-24 08:37:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:37:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-24 08:37:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>91d71a2c-e3fb-4ede-9d3c-4c088d963916</value></item-id></result> 2020-11-24 08:37:30 | contains: true 2020-11-24 08:37:35 | [Mutex] waiting for: [user_regularojsmmu0202@test-domain.com:message:received:content_1mr81r0206] 2020-11-24 08:37:35 | [Mutex] waiting for: [user_regularojsmmu0202@test-domain.com:message:received:content_1mr81r0206] 2020-11-24 08:37:35 | [Mutex] received everything. 2020-11-24 08:37:35 | [Mutex] isItemNotified: user_regularojsmmu0202@test-domain.com:message:received:content_1mr81r0206 :: true 2020-11-24 08:37:35 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-11-24 08:37:35 | [Mutex] received everything. 2020-11-24 08:37:35 | [Mutex] isItemNotified: node_qdj9d00203:subscribe_node:success :: true 2020-11-24 08:37:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-11-24 08:37:36 | command: <data><node>node_qdj9d00203</node><expire-at>2020-11-24T16:37:41Z</expire-at><entry><content>content_b1op8j0207</content></entry></data> 2020-11-24 08:37:36 | target: http://localhost:8088 2020-11-24 08:37:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-11-24 08:37:36 | entity: <data><node>node_qdj9d00203</node><expire-at>2020-11-24T16:37:41Z</expire-at><entry><content>content_b1op8j0207</content></entry></data> 2020-11-24 08:37:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 24 Nov 2020 16:37:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-11-24 08:37:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e7dd851b-665f-4d6c-ae16-ae9b0ec3eeb4</value></item-id></result> 2020-11-24 08:37:36 | contains: true 2020-11-24 08:37:44 | [Mutex] waiting for: [user_regularojsmmu0202@test-domain.com:message:received:content_b1op8j0207] 2020-11-24 08:37:44 | [Mutex] waiting for: [user_regularojsmmu0202@test-domain.com:message:received:content_b1op8j0207] 2020-11-24 08:37:59 | [Mutex] timeout. Not received [user_regularojsmmu0202@test-domain.com:message:received:content_b1op8j0207] 2020-11-24 08:37:59 | [Mutex] received everything. 2020-11-24 08:37:59 | [Mutex] isItemNotified: user_regularojsmmu0202@test-domain.com:message:received:content_b1op8j0207 :: false 2020-11-24 08:37:59 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_b1op8j0207 :: true |