Test duration : 45.102s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.714s |
2021-11-16 22:49:19 |
2021-11-16 22:49:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-11-16 22:49:19 | ------------------------------------ 2021-11-16 22:49:19 | [Mutex] isItemNotified: node_b60y0a0203:exists :: false 2021-11-16 22:49:19 | [Mutex] waiting for: [node_b60y0a0203:create_node] 2021-11-16 22:49:19 | [Mutex] received everything. 2021-11-16 22:49:19 | [Mutex] isItemNotified: node_b60y0a0203:create_node:success :: true 2021-11-16 22:49:19 | [Mutex] waiting for: [node_b60y0a0203:subscribe_node] 2021-11-16 22:49:19 | [Mutex] received everything. 2021-11-16 22:49:19 | [Mutex] isItemNotified: node_b60y0a0203:subscribe_node:success :: true 2021-11-16 22:49:19 | ===== publishing normal message (to online) 2021-11-16 22:49:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:49:19 | command: <data><node>node_b60y0a0203</node><entry><content>content_2ikhb10204</content></entry></data> 2021-11-16 22:49:19 | target: http://localhost:8088 2021-11-16 22:49:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-16 22:49:19 | entity: <data><node>node_b60y0a0203</node><entry><content>content_2ikhb10204</content></entry></data> 2021-11-16 22:49:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:49:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:49:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fad73ce0-e930-4c1a-a7c2-fdd57af3c534</value></item-id></result> 2021-11-16 22:49:19 | contains: true 2021-11-16 22:49:19 | [Mutex] received everything. 2021-11-16 22:49:19 | [Mutex] isItemNotified: user_regularoh58rh0202@test-domain.com:message:received:content_2ikhb10204 :: true 2021-11-16 22:49:19 | ===== publishing already old message - expecting message being filtered out (to online) 2021-11-16 22:49:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:49:19 | command: <data><node>node_b60y0a0203</node><expire-at>2021-11-17T06:49:14Z</expire-at><entry><content>content_8byze30205</content></entry></data> 2021-11-16 22:49:19 | target: http://localhost:8088 2021-11-16 22:49:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-16 22:49:19 | entity: <data><node>node_b60y0a0203</node><expire-at>2021-11-17T06:49:14Z</expire-at><entry><content>content_8byze30205</content></entry></data> 2021-11-16 22:49:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:49:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:49:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c81501bb-3570-4de5-8562-700d0514c981</value></item-id></result> 2021-11-16 22:49:19 | contains: true 2021-11-16 22:49:19 | [Mutex] waiting for: [user_regularoh58rh0202@test-domain.com:message:received:content_8byze30205] 2021-11-16 22:49:34 | [Mutex] timeout. Not received [user_regularoh58rh0202@test-domain.com:message:received:content_8byze30205] 2021-11-16 22:49:34 | [Mutex] isItemNotified: user_regularoh58rh0202@test-domain.com:message:received:content_8byze30205 :: false 2021-11-16 22:49:34 | ===== publishing normal message (to offline) 2021-11-16 22:49:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:49:34 | command: <data><node>node_b60y0a0203</node><entry><content>content_pz3vfd0206</content></entry></data> 2021-11-16 22:49:34 | target: http://localhost:8088 2021-11-16 22:49:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-11-16 22:49:34 | entity: <data><node>node_b60y0a0203</node><entry><content>content_pz3vfd0206</content></entry></data> 2021-11-16 22:49:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:49:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:49:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>435fdf5f-5335-49a5-a241-3b7f7c0fe66a</value></item-id></result> 2021-11-16 22:49:34 | contains: true 2021-11-16 22:49:39 | [Mutex] waiting for: [user_regularoh58rh0202@test-domain.com:message:received:content_pz3vfd0206] 2021-11-16 22:49:39 | [Mutex] received everything. 2021-11-16 22:49:39 | [Mutex] isItemNotified: user_regularoh58rh0202@test-domain.com:message:received:content_pz3vfd0206 :: true 2021-11-16 22:49:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-11-16 22:49:39 | [Mutex] received everything. 2021-11-16 22:49:39 | [Mutex] isItemNotified: node_b60y0a0203:subscribe_node:success :: true 2021-11-16 22:49:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-11-16 22:49:39 | command: <data><node>node_b60y0a0203</node><expire-at>2021-11-17T06:49:44Z</expire-at><entry><content>content_cdqvtu0207</content></entry></data> 2021-11-16 22:49:39 | target: http://localhost:8088 2021-11-16 22:49:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-11-16 22:49:39 | entity: <data><node>node_b60y0a0203</node><expire-at>2021-11-17T06:49:44Z</expire-at><entry><content>content_cdqvtu0207</content></entry></data> 2021-11-16 22:49:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Nov 2021 06:49:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-11-16 22:49:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a7e3d759-3fda-4b5a-a36f-51da17e344ea</value></item-id></result> 2021-11-16 22:49:39 | contains: true 2021-11-16 22:49:48 | [Mutex] waiting for: [user_regularoh58rh0202@test-domain.com:message:received:content_cdqvtu0207] 2021-11-16 22:49:48 | [Mutex] waiting for: [user_regularoh58rh0202@test-domain.com:message:received:content_cdqvtu0207] 2021-11-16 22:50:03 | [Mutex] timeout. Not received [user_regularoh58rh0202@test-domain.com:message:received:content_cdqvtu0207] 2021-11-16 22:50:03 | [Mutex] received everything. 2021-11-16 22:50:03 | [Mutex] isItemNotified: user_regularoh58rh0202@test-domain.com:message:received:content_cdqvtu0207 :: false 2021-11-16 22:50:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cdqvtu0207 :: true |