Test duration : 45.888s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.903s |
2020-10-08 22:29:44 |
2020-10-08 22:29:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-08 22:29:44 | ------------------------------------ 2020-10-08 22:29:44 | [Mutex] isItemNotified: node_6bigy40203:exists :: false 2020-10-08 22:29:44 | [Mutex] waiting for: [node_6bigy40203:create_node] 2020-10-08 22:29:44 | [Mutex] received everything. 2020-10-08 22:29:44 | [Mutex] isItemNotified: node_6bigy40203:create_node:success :: true 2020-10-08 22:29:44 | [Mutex] waiting for: [node_6bigy40203:subscribe_node] 2020-10-08 22:29:44 | [Mutex] received everything. 2020-10-08 22:29:44 | [Mutex] isItemNotified: node_6bigy40203:subscribe_node:success :: true 2020-10-08 22:29:44 | ===== publishing normal message (to online) 2020-10-08 22:29:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-08 22:29:44 | command: <data><node>node_6bigy40203</node><entry><content>content_z16b8m0204</content></entry></data> 2020-10-08 22:29:44 | target: http://localhost:8088 2020-10-08 22:29:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-08 22:29:44 | entity: <data><node>node_6bigy40203</node><entry><content>content_z16b8m0204</content></entry></data> 2020-10-08 22:29:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:29:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-08 22:29:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>395f3d22-fea9-4473-8c77-53e4e5d01a45</value></item-id></result> 2020-10-08 22:29:44 | contains: true 2020-10-08 22:29:44 | [Mutex] received everything. 2020-10-08 22:29:44 | [Mutex] isItemNotified: user_regularcrxn680202@test-domain.com:message:received:content_z16b8m0204 :: true 2020-10-08 22:29:44 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-08 22:29:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-08 22:29:44 | command: <data><node>node_6bigy40203</node><expire-at>2020-10-09T05:29:39Z</expire-at><entry><content>content_12y2qn0205</content></entry></data> 2020-10-08 22:29:44 | target: http://localhost:8088 2020-10-08 22:29:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-08 22:29:44 | entity: <data><node>node_6bigy40203</node><expire-at>2020-10-09T05:29:39Z</expire-at><entry><content>content_12y2qn0205</content></entry></data> 2020-10-08 22:29:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:29:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-08 22:29:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b0e1bec6-6ef9-487b-a1ae-421a3ea793b4</value></item-id></result> 2020-10-08 22:29:44 | contains: true 2020-10-08 22:29:44 | [Mutex] waiting for: [user_regularcrxn680202@test-domain.com:message:received:content_12y2qn0205] 2020-10-08 22:29:59 | [Mutex] timeout. Not received [user_regularcrxn680202@test-domain.com:message:received:content_12y2qn0205] 2020-10-08 22:29:59 | [Mutex] isItemNotified: user_regularcrxn680202@test-domain.com:message:received:content_12y2qn0205 :: false 2020-10-08 22:29:59 | ===== publishing normal message (to offline) 2020-10-08 22:30:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-08 22:30:00 | command: <data><node>node_6bigy40203</node><entry><content>content_78i7n20206</content></entry></data> 2020-10-08 22:30:00 | target: http://localhost:8088 2020-10-08 22:30:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-08 22:30:00 | entity: <data><node>node_6bigy40203</node><entry><content>content_78i7n20206</content></entry></data> 2020-10-08 22:30:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:30:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-08 22:30:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0bb4815b-c88d-4614-8bce-346003786256</value></item-id></result> 2020-10-08 22:30:00 | contains: true 2020-10-08 22:30:05 | [Mutex] waiting for: [user_regularcrxn680202@test-domain.com:message:received:content_78i7n20206] 2020-10-08 22:30:05 | [Mutex] waiting for: [user_regularcrxn680202@test-domain.com:message:received:content_78i7n20206] 2020-10-08 22:30:05 | [Mutex] received everything. 2020-10-08 22:30:05 | [Mutex] isItemNotified: user_regularcrxn680202@test-domain.com:message:received:content_78i7n20206 :: true 2020-10-08 22:30:05 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-08 22:30:05 | [Mutex] received everything. 2020-10-08 22:30:05 | [Mutex] isItemNotified: node_6bigy40203:subscribe_node:success :: true 2020-10-08 22:30:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-08 22:30:05 | command: <data><node>node_6bigy40203</node><expire-at>2020-10-09T05:30:10Z</expire-at><entry><content>content_t72uvf0207</content></entry></data> 2020-10-08 22:30:05 | target: http://localhost:8088 2020-10-08 22:30:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-08 22:30:05 | entity: <data><node>node_6bigy40203</node><expire-at>2020-10-09T05:30:10Z</expire-at><entry><content>content_t72uvf0207</content></entry></data> 2020-10-08 22:30:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Oct 2020 05:30:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-08 22:30:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>94cec7fa-badf-4068-a85f-5f37662cb898</value></item-id></result> 2020-10-08 22:30:05 | contains: true 2020-10-08 22:30:13 | [Mutex] waiting for: [user_regularcrxn680202@test-domain.com:message:received:content_t72uvf0207] 2020-10-08 22:30:13 | [Mutex] waiting for: [user_regularcrxn680202@test-domain.com:message:received:content_t72uvf0207] 2020-10-08 22:30:28 | [Mutex] timeout. Not received [user_regularcrxn680202@test-domain.com:message:received:content_t72uvf0207] 2020-10-08 22:30:28 | [Mutex] received everything. 2020-10-08 22:30:28 | [Mutex] isItemNotified: user_regularcrxn680202@test-domain.com:message:received:content_t72uvf0207 :: false 2020-10-08 22:30:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_t72uvf0207 :: true |