Test duration : 44.903s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.606s |
2022-06-01 22:37:56 |
2022-06-01 22:37:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-01 22:37:56 | ------------------------------------ 2022-06-01 22:37:56 | [Mutex] isItemNotified: node_mygukw0204:exists :: false 2022-06-01 22:37:56 | [Mutex] waiting for: [node_mygukw0204:create_node] 2022-06-01 22:37:56 | [Mutex] waiting for: [node_mygukw0204:create_node] 2022-06-01 22:37:56 | [Mutex] received everything. 2022-06-01 22:37:56 | [Mutex] isItemNotified: node_mygukw0204:create_node:success :: true 2022-06-01 22:37:56 | [Mutex] waiting for: [node_mygukw0204:subscribe_node] 2022-06-01 22:37:56 | [Mutex] received everything. 2022-06-01 22:37:56 | [Mutex] isItemNotified: node_mygukw0204:subscribe_node:success :: true 2022-06-01 22:37:56 | ===== publishing normal message (to online) 2022-06-01 22:37:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 22:37:56 | command: <data><node>node_mygukw0204</node><entry><content>content_90h3uu0205</content></entry></data> 2022-06-01 22:37:56 | target: http://localhost:8088 2022-06-01 22:37:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-01 22:37:56 | entity: <data><node>node_mygukw0204</node><entry><content>content_90h3uu0205</content></entry></data> 2022-06-01 22:37:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 05:37:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 22:37:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>526e61a8-308a-4383-a84d-ebc63345e3ce</value></item-id></result> 2022-06-01 22:37:56 | contains: true 2022-06-01 22:37:56 | [Mutex] received everything. 2022-06-01 22:37:56 | [Mutex] isItemNotified: user_regularmc22el0203@test-domain.com:message:received:content_90h3uu0205 :: true 2022-06-01 22:37:56 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-01 22:37:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 22:37:56 | command: <data><node>node_mygukw0204</node><expire-at>2022-06-02T05:37:51Z</expire-at><entry><content>content_gianog0206</content></entry></data> 2022-06-01 22:37:56 | target: http://localhost:8088 2022-06-01 22:37:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-01 22:37:56 | entity: <data><node>node_mygukw0204</node><expire-at>2022-06-02T05:37:51Z</expire-at><entry><content>content_gianog0206</content></entry></data> 2022-06-01 22:37:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 05:37:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 22:37:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4118e285-78bb-4abd-b5ff-d48a51864e2f</value></item-id></result> 2022-06-01 22:37:56 | contains: true 2022-06-01 22:37:56 | [Mutex] waiting for: [user_regularmc22el0203@test-domain.com:message:received:content_gianog0206] 2022-06-01 22:38:11 | [Mutex] timeout. Not received [user_regularmc22el0203@test-domain.com:message:received:content_gianog0206] 2022-06-01 22:38:11 | [Mutex] isItemNotified: user_regularmc22el0203@test-domain.com:message:received:content_gianog0206 :: false 2022-06-01 22:38:11 | ===== publishing normal message (to offline) 2022-06-01 22:38:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 22:38:11 | command: <data><node>node_mygukw0204</node><entry><content>content_bq15eo0207</content></entry></data> 2022-06-01 22:38:11 | target: http://localhost:8088 2022-06-01 22:38:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-01 22:38:11 | entity: <data><node>node_mygukw0204</node><entry><content>content_bq15eo0207</content></entry></data> 2022-06-01 22:38:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 05:38:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 22:38:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0e15dbb1-4a3f-403e-9e90-dfc42fad8d7a</value></item-id></result> 2022-06-01 22:38:11 | contains: true 2022-06-01 22:38:16 | [Mutex] waiting for: [user_regularmc22el0203@test-domain.com:message:received:content_bq15eo0207] 2022-06-01 22:38:16 | [Mutex] received everything. 2022-06-01 22:38:16 | [Mutex] isItemNotified: user_regularmc22el0203@test-domain.com:message:received:content_bq15eo0207 :: true 2022-06-01 22:38:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-01 22:38:16 | [Mutex] received everything. 2022-06-01 22:38:16 | [Mutex] isItemNotified: node_mygukw0204:subscribe_node:success :: true 2022-06-01 22:38:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 22:38:16 | command: <data><node>node_mygukw0204</node><expire-at>2022-06-02T05:38:21Z</expire-at><entry><content>content_12354s0208</content></entry></data> 2022-06-01 22:38:16 | target: http://localhost:8088 2022-06-01 22:38:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-01 22:38:16 | entity: <data><node>node_mygukw0204</node><expire-at>2022-06-02T05:38:21Z</expire-at><entry><content>content_12354s0208</content></entry></data> 2022-06-01 22:38:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 05:38:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 22:38:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aca2f3e6-71cf-4a26-b554-ca09cd68dadd</value></item-id></result> 2022-06-01 22:38:16 | contains: true 2022-06-01 22:38:24 | [Mutex] waiting for: [user_regularmc22el0203@test-domain.com:message:received:content_12354s0208] 2022-06-01 22:38:39 | [Mutex] timeout. Not received [user_regularmc22el0203@test-domain.com:message:received:content_12354s0208] 2022-06-01 22:38:39 | [Mutex] received everything. 2022-06-01 22:38:39 | [Mutex] isItemNotified: user_regularmc22el0203@test-domain.com:message:received:content_12354s0208 :: false 2022-06-01 22:38:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_12354s0208 :: true |