Test duration : 45.684s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.777s |
2020-09-19 22:46:36 |
2020-09-19 22:46:36 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-19 22:46:36 | ------------------------------------ 2020-09-19 22:46:36 | [Mutex] isItemNotified: node_rg7xy00203:exists :: false 2020-09-19 22:46:36 | [Mutex] waiting for: [node_rg7xy00203:create_node] 2020-09-19 22:46:36 | [Mutex] received everything. 2020-09-19 22:46:36 | [Mutex] isItemNotified: node_rg7xy00203:create_node:success :: true 2020-09-19 22:46:36 | [Mutex] waiting for: [node_rg7xy00203:subscribe_node] 2020-09-19 22:46:36 | [Mutex] waiting for: [node_rg7xy00203:subscribe_node] 2020-09-19 22:46:36 | [Mutex] received everything. 2020-09-19 22:46:36 | [Mutex] isItemNotified: node_rg7xy00203:subscribe_node:success :: true 2020-09-19 22:46:36 | ===== publishing normal message (to online) 2020-09-19 22:46:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-19 22:46:36 | command: <data><node>node_rg7xy00203</node><entry><content>content_pbiu9k0204</content></entry></data> 2020-09-19 22:46:36 | target: http://localhost:8088 2020-09-19 22:46:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-19 22:46:36 | entity: <data><node>node_rg7xy00203</node><entry><content>content_pbiu9k0204</content></entry></data> 2020-09-19 22:46:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 05:46:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-19 22:46:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ef8da3c7-f00c-45a5-934c-bf84045e9644</value></item-id></result> 2020-09-19 22:46:36 | contains: true 2020-09-19 22:46:36 | [Mutex] received everything. 2020-09-19 22:46:36 | [Mutex] isItemNotified: user_regularm131y30202@test-domain.com:message:received:content_pbiu9k0204 :: true 2020-09-19 22:46:36 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-19 22:46:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-19 22:46:36 | command: <data><node>node_rg7xy00203</node><expire-at>2020-09-20T05:46:31Z</expire-at><entry><content>content_legw1o0205</content></entry></data> 2020-09-19 22:46:36 | target: http://localhost:8088 2020-09-19 22:46:36 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-19 22:46:36 | entity: <data><node>node_rg7xy00203</node><expire-at>2020-09-20T05:46:31Z</expire-at><entry><content>content_legw1o0205</content></entry></data> 2020-09-19 22:46:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 05:46:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-19 22:46:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8d40917e-fe83-4b2d-bc77-c6216158622e</value></item-id></result> 2020-09-19 22:46:36 | contains: true 2020-09-19 22:46:36 | [Mutex] waiting for: [user_regularm131y30202@test-domain.com:message:received:content_legw1o0205] 2020-09-19 22:46:51 | [Mutex] timeout. Not received [user_regularm131y30202@test-domain.com:message:received:content_legw1o0205] 2020-09-19 22:46:51 | [Mutex] isItemNotified: user_regularm131y30202@test-domain.com:message:received:content_legw1o0205 :: false 2020-09-19 22:46:51 | ===== publishing normal message (to offline) 2020-09-19 22:46:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-19 22:46:51 | command: <data><node>node_rg7xy00203</node><entry><content>content_452jkc0206</content></entry></data> 2020-09-19 22:46:51 | target: http://localhost:8088 2020-09-19 22:46:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-19 22:46:51 | entity: <data><node>node_rg7xy00203</node><entry><content>content_452jkc0206</content></entry></data> 2020-09-19 22:46:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 05:46:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-19 22:46:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ec61f115-1135-4a34-850e-da06beb41046</value></item-id></result> 2020-09-19 22:46:51 | contains: true 2020-09-19 22:46:56 | [Mutex] waiting for: [user_regularm131y30202@test-domain.com:message:received:content_452jkc0206] 2020-09-19 22:46:56 | [Mutex] received everything. 2020-09-19 22:46:56 | [Mutex] isItemNotified: user_regularm131y30202@test-domain.com:message:received:content_452jkc0206 :: true 2020-09-19 22:46:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-19 22:46:56 | [Mutex] received everything. 2020-09-19 22:46:56 | [Mutex] isItemNotified: node_rg7xy00203:subscribe_node:success :: true 2020-09-19 22:46:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-19 22:46:56 | command: <data><node>node_rg7xy00203</node><expire-at>2020-09-20T05:47:01Z</expire-at><entry><content>content_8zjb0n0207</content></entry></data> 2020-09-19 22:46:56 | target: http://localhost:8088 2020-09-19 22:46:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-19 22:46:56 | entity: <data><node>node_rg7xy00203</node><expire-at>2020-09-20T05:47:01Z</expire-at><entry><content>content_8zjb0n0207</content></entry></data> 2020-09-19 22:46:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 05:46:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-19 22:46:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d43ca28f-8372-4b61-8fdc-22ce50529f73</value></item-id></result> 2020-09-19 22:46:56 | contains: true 2020-09-19 22:47:05 | [Mutex] waiting for: [user_regularm131y30202@test-domain.com:message:received:content_8zjb0n0207] 2020-09-19 22:47:05 | [Mutex] waiting for: [user_regularm131y30202@test-domain.com:message:received:content_8zjb0n0207] 2020-09-19 22:47:20 | [Mutex] timeout. Not received [user_regularm131y30202@test-domain.com:message:received:content_8zjb0n0207] 2020-09-19 22:47:20 | [Mutex] received everything. 2020-09-19 22:47:20 | [Mutex] isItemNotified: user_regularm131y30202@test-domain.com:message:received:content_8zjb0n0207 :: false 2020-09-19 22:47:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8zjb0n0207 :: true |