Test duration : 44.788s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.741s |
2023-11-04 23:58:04 |
2023-11-04 23:58:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-11-04 23:58:04 | ------------------------------------ 2023-11-04 23:58:04 | [Mutex] isItemNotified: node_d2nuq90208:exists :: false 2023-11-04 23:58:04 | [Mutex] waiting for: [node_d2nuq90208:create_node] 2023-11-04 23:58:04 | [Mutex] received everything. 2023-11-04 23:58:04 | [Mutex] isItemNotified: node_d2nuq90208:create_node:success :: true 2023-11-04 23:58:04 | [Mutex] waiting for: [node_d2nuq90208:subscribe_node] 2023-11-04 23:58:04 | [Mutex] waiting for: [node_d2nuq90208:subscribe_node] 2023-11-04 23:58:04 | [Mutex] received everything. 2023-11-04 23:58:04 | [Mutex] isItemNotified: node_d2nuq90208:subscribe_node:success :: true 2023-11-04 23:58:04 | ===== publishing normal message (to online) 2023-11-04 23:58:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-04 23:58:04 | command: <data><node>node_d2nuq90208</node><entry><content>content_kqkhfp0209</content></entry></data> 2023-11-04 23:58:04 | target: http://localhost:8088 2023-11-04 23:58:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-11-04 23:58:04 | entity: <data><node>node_d2nuq90208</node><entry><content>content_kqkhfp0209</content></entry></data> 2023-11-04 23:58:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 06:58:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-04 23:58:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5cec0a32-3899-4eb5-befb-743666e9f56f</value></item-id></result> 2023-11-04 23:58:04 | contains: true 2023-11-04 23:58:04 | [Mutex] waiting for: [user_regularvra72y0207@test-domain.com:message:received:content_kqkhfp0209] 2023-11-04 23:58:04 | [Mutex] received everything. 2023-11-04 23:58:04 | [Mutex] isItemNotified: user_regularvra72y0207@test-domain.com:message:received:content_kqkhfp0209 :: true 2023-11-04 23:58:04 | ===== publishing already old message - expecting message being filtered out (to online) 2023-11-04 23:58:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-04 23:58:04 | command: <data><node>node_d2nuq90208</node><expire-at>2023-11-05T06:57:59Z</expire-at><entry><content>content_g6bf5r0210</content></entry></data> 2023-11-04 23:58:04 | target: http://localhost:8088 2023-11-04 23:58:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-11-04 23:58:04 | entity: <data><node>node_d2nuq90208</node><expire-at>2023-11-05T06:57:59Z</expire-at><entry><content>content_g6bf5r0210</content></entry></data> 2023-11-04 23:58:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 06:58:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-04 23:58:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7f0b44cf-eb2c-4c2d-b237-222a1ddbe6e0</value></item-id></result> 2023-11-04 23:58:04 | contains: true 2023-11-04 23:58:04 | [Mutex] waiting for: [user_regularvra72y0207@test-domain.com:message:received:content_g6bf5r0210] 2023-11-04 23:58:19 | [Mutex] timeout. Not received [user_regularvra72y0207@test-domain.com:message:received:content_g6bf5r0210] 2023-11-04 23:58:19 | [Mutex] isItemNotified: user_regularvra72y0207@test-domain.com:message:received:content_g6bf5r0210 :: false 2023-11-04 23:58:19 | ===== publishing normal message (to offline) 2023-11-04 23:58:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-04 23:58:19 | command: <data><node>node_d2nuq90208</node><entry><content>content_phhgr10211</content></entry></data> 2023-11-04 23:58:19 | target: http://localhost:8088 2023-11-04 23:58:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-11-04 23:58:19 | entity: <data><node>node_d2nuq90208</node><entry><content>content_phhgr10211</content></entry></data> 2023-11-04 23:58:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 06:58:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-04 23:58:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07af7679-8a47-4d00-8b8c-2e8c59740d0f</value></item-id></result> 2023-11-04 23:58:19 | contains: true 2023-11-04 23:58:24 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-11-04 23:58:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-11-04 23:58:24 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-11-04 23:58:25 | [Mutex] waiting for: [user_regularvra72y0207@test-domain.com:message:received:content_phhgr10211] 2023-11-04 23:58:25 | [Mutex] waiting for: [user_regularvra72y0207@test-domain.com:message:received:content_phhgr10211] 2023-11-04 23:58:25 | [Mutex] received everything. 2023-11-04 23:58:25 | [Mutex] isItemNotified: user_regularvra72y0207@test-domain.com:message:received:content_phhgr10211 :: true 2023-11-04 23:58:25 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-11-04 23:58:25 | [Mutex] received everything. 2023-11-04 23:58:25 | [Mutex] isItemNotified: node_d2nuq90208:subscribe_node:success :: true 2023-11-04 23:58:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-11-04 23:58:25 | command: <data><node>node_d2nuq90208</node><expire-at>2023-11-05T06:58:30Z</expire-at><entry><content>content_tgf8070212</content></entry></data> 2023-11-04 23:58:25 | target: http://localhost:8088 2023-11-04 23:58:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-11-04 23:58:25 | entity: <data><node>node_d2nuq90208</node><expire-at>2023-11-05T06:58:30Z</expire-at><entry><content>content_tgf8070212</content></entry></data> 2023-11-04 23:58:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 05 Nov 2023 06:58:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-11-04 23:58:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>72173b50-8830-4cfa-bfa0-79151490ed6f</value></item-id></result> 2023-11-04 23:58:25 | contains: true 2023-11-04 23:58:33 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-11-04 23:58:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-11-04 23:58:33 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-11-04 23:58:33 | [Mutex] waiting for: [user_regularvra72y0207@test-domain.com:message:received:content_tgf8070212] 2023-11-04 23:58:33 | [Mutex] waiting for: [user_regularvra72y0207@test-domain.com:message:received:content_tgf8070212] 2023-11-04 23:58:33 | [Mutex] waiting for: [user_regularvra72y0207@test-domain.com:message:received:content_tgf8070212] 2023-11-04 23:58:48 | [Mutex] timeout. Not received [user_regularvra72y0207@test-domain.com:message:received:content_tgf8070212] 2023-11-04 23:58:48 | [Mutex] received everything. 2023-11-04 23:58:48 | [Mutex] isItemNotified: user_regularvra72y0207@test-domain.com:message:received:content_tgf8070212 :: false 2023-11-04 23:58:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tgf8070212 :: true |