Test duration : 45.022s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.714s |
2020-08-25 22:48:29 |
2020-08-25 22:48:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-25 22:48:29 | ------------------------------------ 2020-08-25 22:48:29 | [Mutex] isItemNotified: node_mxeobc0203:exists :: false 2020-08-25 22:48:29 | [Mutex] waiting for: [node_mxeobc0203:create_node] 2020-08-25 22:48:29 | [Mutex] received everything. 2020-08-25 22:48:29 | [Mutex] isItemNotified: node_mxeobc0203:create_node:success :: true 2020-08-25 22:48:29 | [Mutex] waiting for: [node_mxeobc0203:subscribe_node] 2020-08-25 22:48:29 | [Mutex] waiting for: [node_mxeobc0203:subscribe_node] 2020-08-25 22:48:29 | [Mutex] received everything. 2020-08-25 22:48:29 | [Mutex] isItemNotified: node_mxeobc0203:subscribe_node:success :: true 2020-08-25 22:48:29 | ===== publishing normal message (to online) 2020-08-25 22:48:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 22:48:29 | command: <data><node>node_mxeobc0203</node><entry><content>content_njxcb60204</content></entry></data> 2020-08-25 22:48:29 | target: http://localhost:8088 2020-08-25 22:48:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-25 22:48:29 | entity: <data><node>node_mxeobc0203</node><entry><content>content_njxcb60204</content></entry></data> 2020-08-25 22:48:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 05:48:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 22:48:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c96ea54a-c9c1-4176-b5e8-16b9ca5a4dbc</value></item-id></result> 2020-08-25 22:48:29 | contains: true 2020-08-25 22:48:29 | [Mutex] received everything. 2020-08-25 22:48:29 | [Mutex] isItemNotified: user_regulareidzk50202@test-domain.com:message:received:content_njxcb60204 :: true 2020-08-25 22:48:29 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-25 22:48:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 22:48:29 | command: <data><node>node_mxeobc0203</node><expire-at>2020-08-26T05:48:24Z</expire-at><entry><content>content_ce4x770205</content></entry></data> 2020-08-25 22:48:29 | target: http://localhost:8088 2020-08-25 22:48:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-25 22:48:29 | entity: <data><node>node_mxeobc0203</node><expire-at>2020-08-26T05:48:24Z</expire-at><entry><content>content_ce4x770205</content></entry></data> 2020-08-25 22:48:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 05:48:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 22:48:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6570dcaa-351f-420c-a1bb-b4f85c3bf78b</value></item-id></result> 2020-08-25 22:48:29 | contains: true 2020-08-25 22:48:29 | [Mutex] waiting for: [user_regulareidzk50202@test-domain.com:message:received:content_ce4x770205] 2020-08-25 22:48:44 | [Mutex] timeout. Not received [user_regulareidzk50202@test-domain.com:message:received:content_ce4x770205] 2020-08-25 22:48:44 | [Mutex] isItemNotified: user_regulareidzk50202@test-domain.com:message:received:content_ce4x770205 :: false 2020-08-25 22:48:44 | ===== publishing normal message (to offline) 2020-08-25 22:48:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 22:48:44 | command: <data><node>node_mxeobc0203</node><entry><content>content_eia4x20206</content></entry></data> 2020-08-25 22:48:44 | target: http://localhost:8088 2020-08-25 22:48:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-25 22:48:44 | entity: <data><node>node_mxeobc0203</node><entry><content>content_eia4x20206</content></entry></data> 2020-08-25 22:48:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 05:48:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 22:48:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2dc39b99-d699-4144-8afd-626967efed6a</value></item-id></result> 2020-08-25 22:48:44 | contains: true 2020-08-25 22:48:49 | [Mutex] waiting for: [user_regulareidzk50202@test-domain.com:message:received:content_eia4x20206] 2020-08-25 22:48:49 | [Mutex] waiting for: [user_regulareidzk50202@test-domain.com:message:received:content_eia4x20206] 2020-08-25 22:48:49 | [Mutex] received everything. 2020-08-25 22:48:49 | [Mutex] isItemNotified: user_regulareidzk50202@test-domain.com:message:received:content_eia4x20206 :: true 2020-08-25 22:48:49 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-25 22:48:49 | [Mutex] received everything. 2020-08-25 22:48:49 | [Mutex] isItemNotified: node_mxeobc0203:subscribe_node:success :: true 2020-08-25 22:48:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-25 22:48:49 | command: <data><node>node_mxeobc0203</node><expire-at>2020-08-26T05:48:54Z</expire-at><entry><content>content_qwr0ey0207</content></entry></data> 2020-08-25 22:48:49 | target: http://localhost:8088 2020-08-25 22:48:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-25 22:48:49 | entity: <data><node>node_mxeobc0203</node><expire-at>2020-08-26T05:48:54Z</expire-at><entry><content>content_qwr0ey0207</content></entry></data> 2020-08-25 22:48:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 26 Aug 2020 05:48:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-25 22:48:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>def94bf8-b183-44dd-baee-0d7508f82422</value></item-id></result> 2020-08-25 22:48:49 | contains: true 2020-08-25 22:48:58 | [Mutex] waiting for: [user_regulareidzk50202@test-domain.com:message:received:content_qwr0ey0207] 2020-08-25 22:48:58 | [Mutex] waiting for: [user_regulareidzk50202@test-domain.com:message:received:content_qwr0ey0207] 2020-08-25 22:48:58 | [Mutex] waiting for: [user_regulareidzk50202@test-domain.com:message:received:content_qwr0ey0207] 2020-08-25 22:49:13 | [Mutex] timeout. Not received [user_regulareidzk50202@test-domain.com:message:received:content_qwr0ey0207] 2020-08-25 22:49:13 | [Mutex] received everything. 2020-08-25 22:49:13 | [Mutex] isItemNotified: user_regulareidzk50202@test-domain.com:message:received:content_qwr0ey0207 :: false 2020-08-25 22:49:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qwr0ey0207 :: true |