Test duration : 44.475s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.632s |
2023-10-25 23:59:29 |
2023-10-25 23:59:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-10-25 23:59:29 | ------------------------------------ 2023-10-25 23:59:29 | [Mutex] isItemNotified: node_p9d82d0208:exists :: false 2023-10-25 23:59:29 | [Mutex] waiting for: [node_p9d82d0208:create_node] 2023-10-25 23:59:29 | [Mutex] received everything. 2023-10-25 23:59:29 | [Mutex] isItemNotified: node_p9d82d0208:create_node:success :: true 2023-10-25 23:59:29 | [Mutex] waiting for: [node_p9d82d0208:subscribe_node] 2023-10-25 23:59:29 | [Mutex] waiting for: [node_p9d82d0208:subscribe_node] 2023-10-25 23:59:29 | [Mutex] received everything. 2023-10-25 23:59:29 | [Mutex] isItemNotified: node_p9d82d0208:subscribe_node:success :: true 2023-10-25 23:59:29 | ===== publishing normal message (to online) 2023-10-25 23:59:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-25 23:59:29 | command: <data><node>node_p9d82d0208</node><entry><content>content_ytszo70209</content></entry></data> 2023-10-25 23:59:29 | target: http://localhost:8088 2023-10-25 23:59:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-25 23:59:29 | entity: <data><node>node_p9d82d0208</node><entry><content>content_ytszo70209</content></entry></data> 2023-10-25 23:59:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 06:59:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-25 23:59:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>de7abe19-f097-43c9-bbda-3711f2562397</value></item-id></result> 2023-10-25 23:59:29 | contains: true 2023-10-25 23:59:29 | [Mutex] received everything. 2023-10-25 23:59:29 | [Mutex] isItemNotified: user_regularw094nx0207@test-domain.com:message:received:content_ytszo70209 :: true 2023-10-25 23:59:29 | ===== publishing already old message - expecting message being filtered out (to online) 2023-10-25 23:59:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-25 23:59:29 | command: <data><node>node_p9d82d0208</node><expire-at>2023-10-26T06:59:24Z</expire-at><entry><content>content_f81r4a0210</content></entry></data> 2023-10-25 23:59:29 | target: http://localhost:8088 2023-10-25 23:59:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-25 23:59:29 | entity: <data><node>node_p9d82d0208</node><expire-at>2023-10-26T06:59:24Z</expire-at><entry><content>content_f81r4a0210</content></entry></data> 2023-10-25 23:59:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 06:59:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-25 23:59:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>28aa3c5a-4b22-4007-8672-498db7ff0d5b</value></item-id></result> 2023-10-25 23:59:30 | contains: true 2023-10-25 23:59:30 | [Mutex] waiting for: [user_regularw094nx0207@test-domain.com:message:received:content_f81r4a0210] 2023-10-25 23:59:45 | [Mutex] timeout. Not received [user_regularw094nx0207@test-domain.com:message:received:content_f81r4a0210] 2023-10-25 23:59:45 | [Mutex] isItemNotified: user_regularw094nx0207@test-domain.com:message:received:content_f81r4a0210 :: false 2023-10-25 23:59:45 | ===== publishing normal message (to offline) 2023-10-25 23:59:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-25 23:59:45 | command: <data><node>node_p9d82d0208</node><entry><content>content_1u340i0211</content></entry></data> 2023-10-25 23:59:45 | target: http://localhost:8088 2023-10-25 23:59:45 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-10-25 23:59:45 | entity: <data><node>node_p9d82d0208</node><entry><content>content_1u340i0211</content></entry></data> 2023-10-25 23:59:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 06:59:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-25 23:59:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b4ae7eb0-298c-49b3-9275-3d09238c1ecf</value></item-id></result> 2023-10-25 23:59:45 | contains: true 2023-10-25 23:59:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-25 23:59:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-10-25 23:59:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-25 23:59:50 | [Mutex] waiting for: [user_regularw094nx0207@test-domain.com:message:received:content_1u340i0211] 2023-10-25 23:59:50 | [Mutex] waiting for: [user_regularw094nx0207@test-domain.com:message:received:content_1u340i0211] 2023-10-25 23:59:50 | [Mutex] received everything. 2023-10-25 23:59:50 | [Mutex] isItemNotified: user_regularw094nx0207@test-domain.com:message:received:content_1u340i0211 :: true 2023-10-25 23:59:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-10-25 23:59:50 | [Mutex] received everything. 2023-10-25 23:59:50 | [Mutex] isItemNotified: node_p9d82d0208:subscribe_node:success :: true 2023-10-25 23:59:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-10-25 23:59:50 | command: <data><node>node_p9d82d0208</node><expire-at>2023-10-26T06:59:55Z</expire-at><entry><content>content_9h8kb80212</content></entry></data> 2023-10-25 23:59:50 | target: http://localhost:8088 2023-10-25 23:59:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-10-25 23:59:50 | entity: <data><node>node_p9d82d0208</node><expire-at>2023-10-26T06:59:55Z</expire-at><entry><content>content_9h8kb80212</content></entry></data> 2023-10-25 23:59:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 26 Oct 2023 06:59:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-10-25 23:59:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>05b8ed75-f214-47d4-82c2-b5497ed4a536</value></item-id></result> 2023-10-25 23:59:50 | contains: true 2023-10-25 23:59:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-10-25 23:59:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-10-25 23:59:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-10-25 23:59:58 | [Mutex] waiting for: [user_regularw094nx0207@test-domain.com:message:received:content_9h8kb80212] 2023-10-26 00:00:13 | [Mutex] timeout. Not received [user_regularw094nx0207@test-domain.com:message:received:content_9h8kb80212] 2023-10-26 00:00:13 | [Mutex] received everything. 2023-10-26 00:00:13 | [Mutex] isItemNotified: user_regularw094nx0207@test-domain.com:message:received:content_9h8kb80212 :: false 2023-10-26 00:00:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9h8kb80212 :: true |