Test duration : 45.242s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.729s |
2022-02-03 03:04:07 |
2022-02-03 03:04:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-03 03:04:07 | ------------------------------------ 2022-02-03 03:04:07 | [Mutex] isItemNotified: node_sci0tx0203:exists :: false 2022-02-03 03:04:07 | [Mutex] waiting for: [node_sci0tx0203:create_node] 2022-02-03 03:04:07 | [Mutex] received everything. 2022-02-03 03:04:07 | [Mutex] isItemNotified: node_sci0tx0203:create_node:success :: true 2022-02-03 03:04:07 | [Mutex] waiting for: [node_sci0tx0203:subscribe_node] 2022-02-03 03:04:07 | [Mutex] received everything. 2022-02-03 03:04:07 | [Mutex] isItemNotified: node_sci0tx0203:subscribe_node:success :: true 2022-02-03 03:04:07 | ===== publishing normal message (to online) 2022-02-03 03:04:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 03:04:07 | command: <data><node>node_sci0tx0203</node><entry><content>content_5vpdiq0204</content></entry></data> 2022-02-03 03:04:07 | target: http://localhost:8088 2022-02-03 03:04:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-03 03:04:07 | entity: <data><node>node_sci0tx0203</node><entry><content>content_5vpdiq0204</content></entry></data> 2022-02-03 03:04:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 11:04:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 03:04:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>47611f1e-b20f-48a4-9670-2118eb21d11b</value></item-id></result> 2022-02-03 03:04:07 | contains: true 2022-02-03 03:04:07 | [Mutex] received everything. 2022-02-03 03:04:07 | [Mutex] isItemNotified: user_regulari2a8tw0202@test-domain.com:message:received:content_5vpdiq0204 :: true 2022-02-03 03:04:07 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-03 03:04:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 03:04:07 | command: <data><node>node_sci0tx0203</node><expire-at>2022-02-03T11:04:02Z</expire-at><entry><content>content_i3ehw20205</content></entry></data> 2022-02-03 03:04:07 | target: http://localhost:8088 2022-02-03 03:04:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-03 03:04:07 | entity: <data><node>node_sci0tx0203</node><expire-at>2022-02-03T11:04:02Z</expire-at><entry><content>content_i3ehw20205</content></entry></data> 2022-02-03 03:04:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 11:04:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 03:04:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>31cdb677-d4c5-4886-87a5-a9f651048102</value></item-id></result> 2022-02-03 03:04:07 | contains: true 2022-02-03 03:04:07 | [Mutex] waiting for: [user_regulari2a8tw0202@test-domain.com:message:received:content_i3ehw20205] 2022-02-03 03:04:22 | [Mutex] timeout. Not received [user_regulari2a8tw0202@test-domain.com:message:received:content_i3ehw20205] 2022-02-03 03:04:22 | [Mutex] isItemNotified: user_regulari2a8tw0202@test-domain.com:message:received:content_i3ehw20205 :: false 2022-02-03 03:04:22 | ===== publishing normal message (to offline) 2022-02-03 03:04:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 03:04:22 | command: <data><node>node_sci0tx0203</node><entry><content>content_4koy4r0206</content></entry></data> 2022-02-03 03:04:22 | target: http://localhost:8088 2022-02-03 03:04:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-03 03:04:22 | entity: <data><node>node_sci0tx0203</node><entry><content>content_4koy4r0206</content></entry></data> 2022-02-03 03:04:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 11:04:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 03:04:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>656ac5bd-2819-4db3-99c6-2e30320978b5</value></item-id></result> 2022-02-03 03:04:22 | contains: true 2022-02-03 03:04:27 | [Mutex] waiting for: [user_regulari2a8tw0202@test-domain.com:message:received:content_4koy4r0206] 2022-02-03 03:04:27 | [Mutex] received everything. 2022-02-03 03:04:27 | [Mutex] isItemNotified: user_regulari2a8tw0202@test-domain.com:message:received:content_4koy4r0206 :: true 2022-02-03 03:04:27 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-03 03:04:27 | [Mutex] received everything. 2022-02-03 03:04:27 | [Mutex] isItemNotified: node_sci0tx0203:subscribe_node:success :: true 2022-02-03 03:04:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-03 03:04:27 | command: <data><node>node_sci0tx0203</node><expire-at>2022-02-03T11:04:32Z</expire-at><entry><content>content_ip4yz90207</content></entry></data> 2022-02-03 03:04:27 | target: http://localhost:8088 2022-02-03 03:04:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-03 03:04:27 | entity: <data><node>node_sci0tx0203</node><expire-at>2022-02-03T11:04:32Z</expire-at><entry><content>content_ip4yz90207</content></entry></data> 2022-02-03 03:04:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 03 Feb 2022 11:04:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-03 03:04:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cc47357f-7c38-4cf4-8f69-53dfcd2b690e</value></item-id></result> 2022-02-03 03:04:27 | contains: true 2022-02-03 03:04:36 | [Mutex] waiting for: [user_regulari2a8tw0202@test-domain.com:message:received:content_ip4yz90207] 2022-02-03 03:04:36 | [Mutex] waiting for: [user_regulari2a8tw0202@test-domain.com:message:received:content_ip4yz90207] 2022-02-03 03:04:36 | [Mutex] waiting for: [user_regulari2a8tw0202@test-domain.com:message:received:content_ip4yz90207] 2022-02-03 03:04:51 | [Mutex] timeout. Not received [user_regulari2a8tw0202@test-domain.com:message:received:content_ip4yz90207] 2022-02-03 03:04:51 | [Mutex] received everything. 2022-02-03 03:04:51 | [Mutex] isItemNotified: user_regulari2a8tw0202@test-domain.com:message:received:content_ip4yz90207 :: false 2022-02-03 03:04:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ip4yz90207 :: true |