Test duration : 45.760s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.688s |
2020-08-26 23:15:35 |
2020-08-26 23:15:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-08-26 23:15:35 | ------------------------------------ 2020-08-26 23:15:35 | [Mutex] isItemNotified: node_gl2ovu0203:exists :: false 2020-08-26 23:15:35 | [Mutex] waiting for: [node_gl2ovu0203:create_node] 2020-08-26 23:15:35 | [Mutex] received everything. 2020-08-26 23:15:35 | [Mutex] isItemNotified: node_gl2ovu0203:create_node:success :: true 2020-08-26 23:15:35 | [Mutex] waiting for: [node_gl2ovu0203:subscribe_node] 2020-08-26 23:15:35 | [Mutex] waiting for: [node_gl2ovu0203:subscribe_node] 2020-08-26 23:15:35 | [Mutex] received everything. 2020-08-26 23:15:35 | [Mutex] isItemNotified: node_gl2ovu0203:subscribe_node:success :: true 2020-08-26 23:15:35 | ===== publishing normal message (to online) 2020-08-26 23:15:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 23:15:35 | command: <data><node>node_gl2ovu0203</node><entry><content>content_vz4mpp0204</content></entry></data> 2020-08-26 23:15:35 | target: http://localhost:8088 2020-08-26 23:15:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-26 23:15:35 | entity: <data><node>node_gl2ovu0203</node><entry><content>content_vz4mpp0204</content></entry></data> 2020-08-26 23:15:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 06:15:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 23:15:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27e95cf6-ce44-4339-8760-b46d0ca64061</value></item-id></result> 2020-08-26 23:15:35 | contains: true 2020-08-26 23:15:35 | [Mutex] received everything. 2020-08-26 23:15:35 | [Mutex] isItemNotified: user_regulardnsp4g0202@test-domain.com:message:received:content_vz4mpp0204 :: true 2020-08-26 23:15:35 | ===== publishing already old message - expecting message being filtered out (to online) 2020-08-26 23:15:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 23:15:35 | command: <data><node>node_gl2ovu0203</node><expire-at>2020-08-27T06:15:30Z</expire-at><entry><content>content_ylhqld0205</content></entry></data> 2020-08-26 23:15:35 | target: http://localhost:8088 2020-08-26 23:15:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-26 23:15:35 | entity: <data><node>node_gl2ovu0203</node><expire-at>2020-08-27T06:15:30Z</expire-at><entry><content>content_ylhqld0205</content></entry></data> 2020-08-26 23:15:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 06:15:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 23:15:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>79a13d87-cf7b-4863-a30b-e47a11840950</value></item-id></result> 2020-08-26 23:15:35 | contains: true 2020-08-26 23:15:35 | [Mutex] waiting for: [user_regulardnsp4g0202@test-domain.com:message:received:content_ylhqld0205] 2020-08-26 23:15:50 | [Mutex] timeout. Not received [user_regulardnsp4g0202@test-domain.com:message:received:content_ylhqld0205] 2020-08-26 23:15:50 | [Mutex] isItemNotified: user_regulardnsp4g0202@test-domain.com:message:received:content_ylhqld0205 :: false 2020-08-26 23:15:50 | ===== publishing normal message (to offline) 2020-08-26 23:15:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 23:15:50 | command: <data><node>node_gl2ovu0203</node><entry><content>content_q2wpvy0206</content></entry></data> 2020-08-26 23:15:50 | target: http://localhost:8088 2020-08-26 23:15:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-08-26 23:15:50 | entity: <data><node>node_gl2ovu0203</node><entry><content>content_q2wpvy0206</content></entry></data> 2020-08-26 23:15:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 06:15:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 23:15:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1c638ce9-9e21-4806-8cd6-53f6c80c1284</value></item-id></result> 2020-08-26 23:15:50 | contains: true 2020-08-26 23:15:56 | [Mutex] waiting for: [user_regulardnsp4g0202@test-domain.com:message:received:content_q2wpvy0206] 2020-08-26 23:15:56 | [Mutex] received everything. 2020-08-26 23:15:56 | [Mutex] isItemNotified: user_regulardnsp4g0202@test-domain.com:message:received:content_q2wpvy0206 :: true 2020-08-26 23:15:56 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-08-26 23:15:56 | [Mutex] received everything. 2020-08-26 23:15:56 | [Mutex] isItemNotified: node_gl2ovu0203:subscribe_node:success :: true 2020-08-26 23:15:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-08-26 23:15:56 | command: <data><node>node_gl2ovu0203</node><expire-at>2020-08-27T06:16:01Z</expire-at><entry><content>content_uxjg7u0207</content></entry></data> 2020-08-26 23:15:56 | target: http://localhost:8088 2020-08-26 23:15:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-08-26 23:15:56 | entity: <data><node>node_gl2ovu0203</node><expire-at>2020-08-27T06:16:01Z</expire-at><entry><content>content_uxjg7u0207</content></entry></data> 2020-08-26 23:15:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 Aug 2020 06:15:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-08-26 23:15:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc558cc4-8adb-4d07-b703-7cdb33c598c1</value></item-id></result> 2020-08-26 23:15:56 | contains: true 2020-08-26 23:16:04 | [Mutex] waiting for: [user_regulardnsp4g0202@test-domain.com:message:received:content_uxjg7u0207] 2020-08-26 23:16:04 | [Mutex] waiting for: [user_regulardnsp4g0202@test-domain.com:message:received:content_uxjg7u0207] 2020-08-26 23:16:04 | [Mutex] waiting for: [user_regulardnsp4g0202@test-domain.com:message:received:content_uxjg7u0207] 2020-08-26 23:16:19 | [Mutex] timeout. Not received [user_regulardnsp4g0202@test-domain.com:message:received:content_uxjg7u0207] 2020-08-26 23:16:19 | [Mutex] received everything. 2020-08-26 23:16:19 | [Mutex] isItemNotified: user_regulardnsp4g0202@test-domain.com:message:received:content_uxjg7u0207 :: false 2020-08-26 23:16:19 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_uxjg7u0207 :: true |