Test duration : 45.577s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.765s |
2021-05-13 23:02:25 |
2021-05-13 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-13 23:02:25 | ------------------------------------ 2021-05-13 23:02:25 | [Mutex] isItemNotified: node_a1h93w0203:exists :: false 2021-05-13 23:02:25 | [Mutex] waiting for: [node_a1h93w0203:create_node] 2021-05-13 23:02:25 | [Mutex] received everything. 2021-05-13 23:02:25 | [Mutex] isItemNotified: node_a1h93w0203:create_node:success :: true 2021-05-13 23:02:25 | [Mutex] waiting for: [node_a1h93w0203:subscribe_node] 2021-05-13 23:02:25 | [Mutex] waiting for: [node_a1h93w0203:subscribe_node] 2021-05-13 23:02:25 | [Mutex] received everything. 2021-05-13 23:02:25 | [Mutex] isItemNotified: node_a1h93w0203:subscribe_node:success :: true 2021-05-13 23:02:25 | ===== publishing normal message (to online) 2021-05-13 23:02:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-13 23:02:25 | command: <data><node>node_a1h93w0203</node><entry><content>content_tk2jyo0204</content></entry></data> 2021-05-13 23:02:25 | target: http://localhost:8088 2021-05-13 23:02:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-13 23:02:25 | entity: <data><node>node_a1h93w0203</node><entry><content>content_tk2jyo0204</content></entry></data> 2021-05-13 23:02:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 06:02:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-13 23:02:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8053e4df-76cb-4313-92c6-969259f4aff3</value></item-id></result> 2021-05-13 23:02:25 | contains: true 2021-05-13 23:02:25 | [Mutex] waiting for: [user_regulara63ldf0202@test-domain.com:message:received:content_tk2jyo0204] 2021-05-13 23:02:25 | [Mutex] received everything. 2021-05-13 23:02:25 | [Mutex] isItemNotified: user_regulara63ldf0202@test-domain.com:message:received:content_tk2jyo0204 :: true 2021-05-13 23:02:25 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-13 23:02:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-13 23:02:25 | command: <data><node>node_a1h93w0203</node><expire-at>2021-05-14T06:02:20Z</expire-at><entry><content>content_qw17ta0205</content></entry></data> 2021-05-13 23:02:25 | target: http://localhost:8088 2021-05-13 23:02:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-13 23:02:25 | entity: <data><node>node_a1h93w0203</node><expire-at>2021-05-14T06:02:20Z</expire-at><entry><content>content_qw17ta0205</content></entry></data> 2021-05-13 23:02:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 06:02:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-13 23:02:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc69f2b7-10f0-4c2d-b6b9-7cf103e1db25</value></item-id></result> 2021-05-13 23:02:25 | contains: true 2021-05-13 23:02:25 | [Mutex] waiting for: [user_regulara63ldf0202@test-domain.com:message:received:content_qw17ta0205] 2021-05-13 23:02:40 | [Mutex] timeout. Not received [user_regulara63ldf0202@test-domain.com:message:received:content_qw17ta0205] 2021-05-13 23:02:40 | [Mutex] isItemNotified: user_regulara63ldf0202@test-domain.com:message:received:content_qw17ta0205 :: false 2021-05-13 23:02:40 | ===== publishing normal message (to offline) 2021-05-13 23:02:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-13 23:02:40 | command: <data><node>node_a1h93w0203</node><entry><content>content_3vklfv0206</content></entry></data> 2021-05-13 23:02:40 | target: http://localhost:8088 2021-05-13 23:02:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-13 23:02:40 | entity: <data><node>node_a1h93w0203</node><entry><content>content_3vklfv0206</content></entry></data> 2021-05-13 23:02:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 06:02:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-13 23:02:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aaaa52b7-7ae5-4931-8909-65badc770a78</value></item-id></result> 2021-05-13 23:02:40 | contains: true 2021-05-13 23:02:45 | [Mutex] waiting for: [user_regulara63ldf0202@test-domain.com:message:received:content_3vklfv0206] 2021-05-13 23:02:45 | [Mutex] waiting for: [user_regulara63ldf0202@test-domain.com:message:received:content_3vklfv0206] 2021-05-13 23:02:45 | [Mutex] received everything. 2021-05-13 23:02:45 | [Mutex] isItemNotified: user_regulara63ldf0202@test-domain.com:message:received:content_3vklfv0206 :: true 2021-05-13 23:02:45 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-13 23:02:45 | [Mutex] received everything. 2021-05-13 23:02:45 | [Mutex] isItemNotified: node_a1h93w0203:subscribe_node:success :: true 2021-05-13 23:02:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-13 23:02:45 | command: <data><node>node_a1h93w0203</node><expire-at>2021-05-14T06:02:50Z</expire-at><entry><content>content_as1lsw0207</content></entry></data> 2021-05-13 23:02:45 | target: http://localhost:8088 2021-05-13 23:02:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-13 23:02:45 | entity: <data><node>node_a1h93w0203</node><expire-at>2021-05-14T06:02:50Z</expire-at><entry><content>content_as1lsw0207</content></entry></data> 2021-05-13 23:02:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 06:02:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-13 23:02:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c843da6f-fc3a-4f25-89ac-02be3f4d00c3</value></item-id></result> 2021-05-13 23:02:45 | contains: true 2021-05-13 23:02:54 | [Mutex] waiting for: [user_regulara63ldf0202@test-domain.com:message:received:content_as1lsw0207] 2021-05-13 23:03:09 | [Mutex] timeout. Not received [user_regulara63ldf0202@test-domain.com:message:received:content_as1lsw0207] 2021-05-13 23:03:09 | [Mutex] received everything. 2021-05-13 23:03:09 | [Mutex] isItemNotified: user_regulara63ldf0202@test-domain.com:message:received:content_as1lsw0207 :: false 2021-05-13 23:03:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_as1lsw0207 :: true |