Test duration : 44.682s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.735s |
2022-06-23 22:46:05 |
2022-06-23 22:46:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-23 22:46:05 | ------------------------------------ 2022-06-23 22:46:05 | [Mutex] isItemNotified: node_aalqzr0204:exists :: false 2022-06-23 22:46:05 | [Mutex] waiting for: [node_aalqzr0204:create_node] 2022-06-23 22:46:05 | [Mutex] received everything. 2022-06-23 22:46:05 | [Mutex] isItemNotified: node_aalqzr0204:create_node:success :: true 2022-06-23 22:46:05 | [Mutex] waiting for: [node_aalqzr0204:subscribe_node] 2022-06-23 22:46:05 | [Mutex] waiting for: [node_aalqzr0204:subscribe_node] 2022-06-23 22:46:05 | [Mutex] received everything. 2022-06-23 22:46:05 | [Mutex] isItemNotified: node_aalqzr0204:subscribe_node:success :: true 2022-06-23 22:46:05 | ===== publishing normal message (to online) 2022-06-23 22:46:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-23 22:46:05 | command: <data><node>node_aalqzr0204</node><entry><content>content_awbkp10205</content></entry></data> 2022-06-23 22:46:05 | target: http://localhost:8088 2022-06-23 22:46:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-23 22:46:05 | entity: <data><node>node_aalqzr0204</node><entry><content>content_awbkp10205</content></entry></data> 2022-06-23 22:46:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:46:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-23 22:46:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>22186f87-7508-4160-8c89-060ad47dc84f</value></item-id></result> 2022-06-23 22:46:05 | contains: true 2022-06-23 22:46:05 | [Mutex] received everything. 2022-06-23 22:46:05 | [Mutex] isItemNotified: user_regularhfkxg50203@test-domain.com:message:received:content_awbkp10205 :: true 2022-06-23 22:46:05 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-23 22:46:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-23 22:46:05 | command: <data><node>node_aalqzr0204</node><expire-at>2022-06-24T05:46:00Z</expire-at><entry><content>content_wz3cy50206</content></entry></data> 2022-06-23 22:46:05 | target: http://localhost:8088 2022-06-23 22:46:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-23 22:46:05 | entity: <data><node>node_aalqzr0204</node><expire-at>2022-06-24T05:46:00Z</expire-at><entry><content>content_wz3cy50206</content></entry></data> 2022-06-23 22:46:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:46:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-23 22:46:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4f7f9e92-1bc8-4448-91e7-517e9b570cdd</value></item-id></result> 2022-06-23 22:46:05 | contains: true 2022-06-23 22:46:05 | [Mutex] waiting for: [user_regularhfkxg50203@test-domain.com:message:received:content_wz3cy50206] 2022-06-23 22:46:20 | [Mutex] timeout. Not received [user_regularhfkxg50203@test-domain.com:message:received:content_wz3cy50206] 2022-06-23 22:46:20 | [Mutex] isItemNotified: user_regularhfkxg50203@test-domain.com:message:received:content_wz3cy50206 :: false 2022-06-23 22:46:20 | ===== publishing normal message (to offline) 2022-06-23 22:46:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-23 22:46:20 | command: <data><node>node_aalqzr0204</node><entry><content>content_62bozt0207</content></entry></data> 2022-06-23 22:46:20 | target: http://localhost:8088 2022-06-23 22:46:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-23 22:46:20 | entity: <data><node>node_aalqzr0204</node><entry><content>content_62bozt0207</content></entry></data> 2022-06-23 22:46:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:46:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-23 22:46:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e0118f8f-9920-48be-95ee-bca8189a062d</value></item-id></result> 2022-06-23 22:46:20 | contains: true 2022-06-23 22:46:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-23 22:46:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-23 22:46:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-23 22:46:25 | [Mutex] waiting for: [user_regularhfkxg50203@test-domain.com:message:received:content_62bozt0207] 2022-06-23 22:46:25 | [Mutex] received everything. 2022-06-23 22:46:25 | [Mutex] isItemNotified: user_regularhfkxg50203@test-domain.com:message:received:content_62bozt0207 :: true 2022-06-23 22:46:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-23 22:46:25 | [Mutex] received everything. 2022-06-23 22:46:25 | [Mutex] isItemNotified: node_aalqzr0204:subscribe_node:success :: true 2022-06-23 22:46:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-23 22:46:25 | command: <data><node>node_aalqzr0204</node><expire-at>2022-06-24T05:46:30Z</expire-at><entry><content>content_cknwgm0208</content></entry></data> 2022-06-23 22:46:25 | target: http://localhost:8088 2022-06-23 22:46:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-23 22:46:25 | entity: <data><node>node_aalqzr0204</node><expire-at>2022-06-24T05:46:30Z</expire-at><entry><content>content_cknwgm0208</content></entry></data> 2022-06-23 22:46:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 24 Jun 2022 05:46:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-23 22:46:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07a4b758-c55b-49d8-a912-75eb261059f8</value></item-id></result> 2022-06-23 22:46:25 | contains: true 2022-06-23 22:46:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-23 22:46:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-23 22:46:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-23 22:46:34 | [Mutex] waiting for: [user_regularhfkxg50203@test-domain.com:message:received:content_cknwgm0208] 2022-06-23 22:46:34 | [Mutex] waiting for: [user_regularhfkxg50203@test-domain.com:message:received:content_cknwgm0208] 2022-06-23 22:46:49 | [Mutex] timeout. Not received [user_regularhfkxg50203@test-domain.com:message:received:content_cknwgm0208] 2022-06-23 22:46:49 | [Mutex] received everything. 2022-06-23 22:46:49 | [Mutex] isItemNotified: user_regularhfkxg50203@test-domain.com:message:received:content_cknwgm0208 :: false 2022-06-23 22:46:49 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_cknwgm0208 :: true |