Test duration : 44.597s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.686s |
2022-12-28 21:31:19 |
2022-12-28 21:31:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-28 21:31:19 | ------------------------------------ 2022-12-28 21:31:19 | [Mutex] isItemNotified: node_m3frsr0204:exists :: false 2022-12-28 21:31:19 | [Mutex] waiting for: [node_m3frsr0204:create_node] 2022-12-28 21:31:19 | [Mutex] received everything. 2022-12-28 21:31:19 | [Mutex] isItemNotified: node_m3frsr0204:create_node:success :: true 2022-12-28 21:31:19 | [Mutex] waiting for: [node_m3frsr0204:subscribe_node] 2022-12-28 21:31:19 | [Mutex] waiting for: [node_m3frsr0204:subscribe_node] 2022-12-28 21:31:19 | [Mutex] received everything. 2022-12-28 21:31:19 | [Mutex] isItemNotified: node_m3frsr0204:subscribe_node:success :: true 2022-12-28 21:31:19 | ===== publishing normal message (to online) 2022-12-28 21:31:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-28 21:31:19 | command: <data><node>node_m3frsr0204</node><entry><content>content_rrilrt0205</content></entry></data> 2022-12-28 21:31:19 | target: http://localhost:8088 2022-12-28 21:31:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-28 21:31:19 | entity: <data><node>node_m3frsr0204</node><entry><content>content_rrilrt0205</content></entry></data> 2022-12-28 21:31:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Dec 2022 05:31:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-28 21:31:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>16397b9b-b59e-406f-8add-bc9d1051e30b</value></item-id></result> 2022-12-28 21:31:19 | contains: true 2022-12-28 21:31:19 | [Mutex] waiting for: [user_regular7a3u8j0203@test-domain.com:message:received:content_rrilrt0205] 2022-12-28 21:31:19 | [Mutex] received everything. 2022-12-28 21:31:19 | [Mutex] isItemNotified: user_regular7a3u8j0203@test-domain.com:message:received:content_rrilrt0205 :: true 2022-12-28 21:31:19 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-28 21:31:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-28 21:31:19 | command: <data><node>node_m3frsr0204</node><expire-at>2022-12-29T05:31:14Z</expire-at><entry><content>content_qjsq2w0206</content></entry></data> 2022-12-28 21:31:19 | target: http://localhost:8088 2022-12-28 21:31:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-28 21:31:19 | entity: <data><node>node_m3frsr0204</node><expire-at>2022-12-29T05:31:14Z</expire-at><entry><content>content_qjsq2w0206</content></entry></data> 2022-12-28 21:31:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Dec 2022 05:31:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-28 21:31:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7524035c-f758-4d2b-8a06-6680562d0767</value></item-id></result> 2022-12-28 21:31:19 | contains: true 2022-12-28 21:31:19 | [Mutex] waiting for: [user_regular7a3u8j0203@test-domain.com:message:received:content_qjsq2w0206] 2022-12-28 21:31:34 | [Mutex] timeout. Not received [user_regular7a3u8j0203@test-domain.com:message:received:content_qjsq2w0206] 2022-12-28 21:31:34 | [Mutex] isItemNotified: user_regular7a3u8j0203@test-domain.com:message:received:content_qjsq2w0206 :: false 2022-12-28 21:31:34 | ===== publishing normal message (to offline) 2022-12-28 21:31:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-28 21:31:34 | command: <data><node>node_m3frsr0204</node><entry><content>content_ui9lb90207</content></entry></data> 2022-12-28 21:31:34 | target: http://localhost:8088 2022-12-28 21:31:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-28 21:31:34 | entity: <data><node>node_m3frsr0204</node><entry><content>content_ui9lb90207</content></entry></data> 2022-12-28 21:31:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Dec 2022 05:31:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-28 21:31:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c762e2dd-fc7b-41f5-a6fe-4739cdec85b2</value></item-id></result> 2022-12-28 21:31:34 | contains: true 2022-12-28 21:31:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-28 21:31:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-28 21:31:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-28 21:31:40 | [Mutex] waiting for: [user_regular7a3u8j0203@test-domain.com:message:received:content_ui9lb90207] 2022-12-28 21:31:40 | [Mutex] waiting for: [user_regular7a3u8j0203@test-domain.com:message:received:content_ui9lb90207] 2022-12-28 21:31:40 | [Mutex] received everything. 2022-12-28 21:31:40 | [Mutex] isItemNotified: user_regular7a3u8j0203@test-domain.com:message:received:content_ui9lb90207 :: true 2022-12-28 21:31:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-28 21:31:40 | [Mutex] received everything. 2022-12-28 21:31:40 | [Mutex] isItemNotified: node_m3frsr0204:subscribe_node:success :: true 2022-12-28 21:31:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-28 21:31:40 | command: <data><node>node_m3frsr0204</node><expire-at>2022-12-29T05:31:45Z</expire-at><entry><content>content_zcblzb0208</content></entry></data> 2022-12-28 21:31:40 | target: http://localhost:8088 2022-12-28 21:31:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-28 21:31:40 | entity: <data><node>node_m3frsr0204</node><expire-at>2022-12-29T05:31:45Z</expire-at><entry><content>content_zcblzb0208</content></entry></data> 2022-12-28 21:31:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 29 Dec 2022 05:31:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-28 21:31:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>35f97346-413c-49aa-b79f-2bceec3dbb26</value></item-id></result> 2022-12-28 21:31:40 | contains: true 2022-12-28 21:31:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-28 21:31:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-28 21:31:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-28 21:31:48 | [Mutex] waiting for: [user_regular7a3u8j0203@test-domain.com:message:received:content_zcblzb0208] 2022-12-28 21:31:48 | [Mutex] waiting for: [user_regular7a3u8j0203@test-domain.com:message:received:content_zcblzb0208] 2022-12-28 21:31:48 | [Mutex] waiting for: [user_regular7a3u8j0203@test-domain.com:message:received:content_zcblzb0208] 2022-12-28 21:32:03 | [Mutex] timeout. Not received [user_regular7a3u8j0203@test-domain.com:message:received:content_zcblzb0208] 2022-12-28 21:32:03 | [Mutex] received everything. 2022-12-28 21:32:03 | [Mutex] isItemNotified: user_regular7a3u8j0203@test-domain.com:message:received:content_zcblzb0208 :: false 2022-12-28 21:32:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_zcblzb0208 :: true |