Test duration : 45.372s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.604s |
2021-10-12 23:07:00 |
2021-10-12 23:07:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-10-12 23:07:00 | ------------------------------------ 2021-10-12 23:07:00 | [Mutex] isItemNotified: node_6stcf0203:exists :: false 2021-10-12 23:07:00 | [Mutex] waiting for: [node_6stcf0203:create_node] 2021-10-12 23:07:00 | [Mutex] received everything. 2021-10-12 23:07:00 | [Mutex] isItemNotified: node_6stcf0203:create_node:success :: true 2021-10-12 23:07:00 | [Mutex] waiting for: [node_6stcf0203:subscribe_node] 2021-10-12 23:07:00 | [Mutex] waiting for: [node_6stcf0203:subscribe_node] 2021-10-12 23:07:00 | [Mutex] received everything. 2021-10-12 23:07:00 | [Mutex] isItemNotified: node_6stcf0203:subscribe_node:success :: true 2021-10-12 23:07:00 | ===== publishing normal message (to online) 2021-10-12 23:07:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-12 23:07:00 | command: <data><node>node_6stcf0203</node><entry><content>content_k91e7p0204</content></entry></data> 2021-10-12 23:07:00 | target: http://localhost:8088 2021-10-12 23:07:00 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-10-12 23:07:00 | entity: <data><node>node_6stcf0203</node><entry><content>content_k91e7p0204</content></entry></data> 2021-10-12 23:07:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 06:07:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-12 23:07:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e42bfc19-4079-458c-aed3-b239f11e3d86</value></item-id></result> 2021-10-12 23:07:00 | contains: true 2021-10-12 23:07:00 | [Mutex] received everything. 2021-10-12 23:07:00 | [Mutex] isItemNotified: user_regulardoegco0202@test-domain.com:message:received:content_k91e7p0204 :: true 2021-10-12 23:07:00 | ===== publishing already old message - expecting message being filtered out (to online) 2021-10-12 23:07:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-12 23:07:00 | command: <data><node>node_6stcf0203</node><expire-at>2021-10-13T06:06:55Z</expire-at><entry><content>content_4fjeqq0205</content></entry></data> 2021-10-12 23:07:00 | target: http://localhost:8088 2021-10-12 23:07:00 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-10-12 23:07:00 | entity: <data><node>node_6stcf0203</node><expire-at>2021-10-13T06:06:55Z</expire-at><entry><content>content_4fjeqq0205</content></entry></data> 2021-10-12 23:07:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 06:07:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-12 23:07:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ab213eba-9b67-48b6-9a27-8f7882a1eb2c</value></item-id></result> 2021-10-12 23:07:00 | contains: true 2021-10-12 23:07:00 | [Mutex] waiting for: [user_regulardoegco0202@test-domain.com:message:received:content_4fjeqq0205] 2021-10-12 23:07:15 | [Mutex] timeout. Not received [user_regulardoegco0202@test-domain.com:message:received:content_4fjeqq0205] 2021-10-12 23:07:15 | [Mutex] isItemNotified: user_regulardoegco0202@test-domain.com:message:received:content_4fjeqq0205 :: false 2021-10-12 23:07:15 | ===== publishing normal message (to offline) 2021-10-12 23:07:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-12 23:07:15 | command: <data><node>node_6stcf0203</node><entry><content>content_kotji30206</content></entry></data> 2021-10-12 23:07:15 | target: http://localhost:8088 2021-10-12 23:07:15 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2021-10-12 23:07:15 | entity: <data><node>node_6stcf0203</node><entry><content>content_kotji30206</content></entry></data> 2021-10-12 23:07:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 06:07:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-12 23:07:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>84e1a3b1-eb9c-4c07-9837-17a72e124b10</value></item-id></result> 2021-10-12 23:07:15 | contains: true 2021-10-12 23:07:20 | [Mutex] waiting for: [user_regulardoegco0202@test-domain.com:message:received:content_kotji30206] 2021-10-12 23:07:20 | [Mutex] waiting for: [user_regulardoegco0202@test-domain.com:message:received:content_kotji30206] 2021-10-12 23:07:20 | [Mutex] received everything. 2021-10-12 23:07:20 | [Mutex] isItemNotified: user_regulardoegco0202@test-domain.com:message:received:content_kotji30206 :: true 2021-10-12 23:07:20 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-10-12 23:07:20 | [Mutex] received everything. 2021-10-12 23:07:20 | [Mutex] isItemNotified: node_6stcf0203:subscribe_node:success :: true 2021-10-12 23:07:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-10-12 23:07:20 | command: <data><node>node_6stcf0203</node><expire-at>2021-10-13T06:07:25Z</expire-at><entry><content>content_r6na7f0207</content></entry></data> 2021-10-12 23:07:20 | target: http://localhost:8088 2021-10-12 23:07:20 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2021-10-12 23:07:20 | entity: <data><node>node_6stcf0203</node><expire-at>2021-10-13T06:07:25Z</expire-at><entry><content>content_r6na7f0207</content></entry></data> 2021-10-12 23:07:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 13 Oct 2021 06:07:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-10-12 23:07:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b627de58-22e2-4fcb-9c95-9418668a05b1</value></item-id></result> 2021-10-12 23:07:20 | contains: true 2021-10-12 23:07:28 | [Mutex] waiting for: [user_regulardoegco0202@test-domain.com:message:received:content_r6na7f0207] 2021-10-12 23:07:43 | [Mutex] timeout. Not received [user_regulardoegco0202@test-domain.com:message:received:content_r6na7f0207] 2021-10-12 23:07:43 | [Mutex] received everything. 2021-10-12 23:07:43 | [Mutex] isItemNotified: user_regulardoegco0202@test-domain.com:message:received:content_r6na7f0207 :: false 2021-10-12 23:07:43 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_r6na7f0207 :: true |