Test duration : 44.833s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.662s |
2023-03-18 22:30:57 |
2023-03-18 22:30:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-18 22:30:57 | ------------------------------------ 2023-03-18 22:30:57 | [Mutex] isItemNotified: node_ufiphr0208:exists :: false 2023-03-18 22:30:57 | [Mutex] waiting for: [node_ufiphr0208:create_node] 2023-03-18 22:30:57 | [Mutex] received everything. 2023-03-18 22:30:57 | [Mutex] isItemNotified: node_ufiphr0208:create_node:success :: true 2023-03-18 22:30:57 | [Mutex] waiting for: [node_ufiphr0208:subscribe_node] 2023-03-18 22:30:57 | [Mutex] waiting for: [node_ufiphr0208:subscribe_node] 2023-03-18 22:30:57 | [Mutex] received everything. 2023-03-18 22:30:57 | [Mutex] isItemNotified: node_ufiphr0208:subscribe_node:success :: true 2023-03-18 22:30:57 | ===== publishing normal message (to online) 2023-03-18 22:30:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-18 22:30:57 | command: <data><node>node_ufiphr0208</node><entry><content>content_b3p1da0209</content></entry></data> 2023-03-18 22:30:57 | target: http://localhost:8088 2023-03-18 22:30:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-18 22:30:57 | entity: <data><node>node_ufiphr0208</node><entry><content>content_b3p1da0209</content></entry></data> 2023-03-18 22:30:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:30:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-18 22:30:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ce21a7d3-1fbf-4955-b1ae-8df134362866</value></item-id></result> 2023-03-18 22:30:57 | contains: true 2023-03-18 22:30:57 | [Mutex] waiting for: [user_regularx21res0207@test-domain.com:message:received:content_b3p1da0209] 2023-03-18 22:30:57 | [Mutex] received everything. 2023-03-18 22:30:57 | [Mutex] isItemNotified: user_regularx21res0207@test-domain.com:message:received:content_b3p1da0209 :: true 2023-03-18 22:30:57 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-18 22:30:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-18 22:30:57 | command: <data><node>node_ufiphr0208</node><expire-at>2023-03-19T05:30:52Z</expire-at><entry><content>content_ppgwdl0210</content></entry></data> 2023-03-18 22:30:57 | target: http://localhost:8088 2023-03-18 22:30:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-18 22:30:57 | entity: <data><node>node_ufiphr0208</node><expire-at>2023-03-19T05:30:52Z</expire-at><entry><content>content_ppgwdl0210</content></entry></data> 2023-03-18 22:30:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:30:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-18 22:30:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>261af2a3-cf3f-4d75-a6c9-568ad4e59096</value></item-id></result> 2023-03-18 22:30:57 | contains: true 2023-03-18 22:30:57 | [Mutex] waiting for: [user_regularx21res0207@test-domain.com:message:received:content_ppgwdl0210] 2023-03-18 22:31:12 | [Mutex] timeout. Not received [user_regularx21res0207@test-domain.com:message:received:content_ppgwdl0210] 2023-03-18 22:31:12 | [Mutex] isItemNotified: user_regularx21res0207@test-domain.com:message:received:content_ppgwdl0210 :: false 2023-03-18 22:31:12 | ===== publishing normal message (to offline) 2023-03-18 22:31:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-18 22:31:12 | command: <data><node>node_ufiphr0208</node><entry><content>content_satluy0211</content></entry></data> 2023-03-18 22:31:12 | target: http://localhost:8088 2023-03-18 22:31:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-18 22:31:12 | entity: <data><node>node_ufiphr0208</node><entry><content>content_satluy0211</content></entry></data> 2023-03-18 22:31:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:31:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-18 22:31:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>78f043e7-5f59-4819-b8a0-e47a5c0c90f4</value></item-id></result> 2023-03-18 22:31:12 | contains: true 2023-03-18 22:31:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-18 22:31:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-18 22:31:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-18 22:31:17 | [Mutex] waiting for: [user_regularx21res0207@test-domain.com:message:received:content_satluy0211] 2023-03-18 22:31:17 | [Mutex] waiting for: [user_regularx21res0207@test-domain.com:message:received:content_satluy0211] 2023-03-18 22:31:17 | [Mutex] received everything. 2023-03-18 22:31:17 | [Mutex] isItemNotified: user_regularx21res0207@test-domain.com:message:received:content_satluy0211 :: true 2023-03-18 22:31:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-18 22:31:17 | [Mutex] received everything. 2023-03-18 22:31:17 | [Mutex] isItemNotified: node_ufiphr0208:subscribe_node:success :: true 2023-03-18 22:31:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-18 22:31:17 | command: <data><node>node_ufiphr0208</node><expire-at>2023-03-19T05:31:22Z</expire-at><entry><content>content_omie7o0212</content></entry></data> 2023-03-18 22:31:17 | target: http://localhost:8088 2023-03-18 22:31:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-18 22:31:17 | entity: <data><node>node_ufiphr0208</node><expire-at>2023-03-19T05:31:22Z</expire-at><entry><content>content_omie7o0212</content></entry></data> 2023-03-18 22:31:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 05:31:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-18 22:31:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>15053a71-f798-465f-be00-4e94a8cff14a</value></item-id></result> 2023-03-18 22:31:18 | contains: true 2023-03-18 22:31:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-18 22:31:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-18 22:31:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-18 22:31:26 | [Mutex] waiting for: [user_regularx21res0207@test-domain.com:message:received:content_omie7o0212] 2023-03-18 22:31:26 | [Mutex] waiting for: [user_regularx21res0207@test-domain.com:message:received:content_omie7o0212] 2023-03-18 22:31:26 | [Mutex] waiting for: [user_regularx21res0207@test-domain.com:message:received:content_omie7o0212] 2023-03-18 22:31:41 | [Mutex] timeout. Not received [user_regularx21res0207@test-domain.com:message:received:content_omie7o0212] 2023-03-18 22:31:41 | [Mutex] received everything. 2023-03-18 22:31:41 | [Mutex] isItemNotified: user_regularx21res0207@test-domain.com:message:received:content_omie7o0212 :: false 2023-03-18 22:31:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_omie7o0212 :: true |