Test duration : 44.362s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.489s |
2022-08-16 22:34:37 |
2022-08-16 22:34:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-16 22:34:37 | ------------------------------------ 2022-08-16 22:34:37 | [Mutex] isItemNotified: node_mv0wft0204:exists :: false 2022-08-16 22:34:37 | [Mutex] waiting for: [node_mv0wft0204:create_node] 2022-08-16 22:34:37 | [Mutex] received everything. 2022-08-16 22:34:37 | [Mutex] isItemNotified: node_mv0wft0204:create_node:success :: true 2022-08-16 22:34:37 | [Mutex] waiting for: [node_mv0wft0204:subscribe_node] 2022-08-16 22:34:37 | [Mutex] received everything. 2022-08-16 22:34:37 | [Mutex] isItemNotified: node_mv0wft0204:subscribe_node:success :: true 2022-08-16 22:34:37 | ===== publishing normal message (to online) 2022-08-16 22:34:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 22:34:37 | command: <data><node>node_mv0wft0204</node><entry><content>content_mw595l0205</content></entry></data> 2022-08-16 22:34:37 | target: http://localhost:8088 2022-08-16 22:34:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-16 22:34:37 | entity: <data><node>node_mv0wft0204</node><entry><content>content_mw595l0205</content></entry></data> 2022-08-16 22:34:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 05:34:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 22:34:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1198d24-9be0-4e41-b998-9f840df89035</value></item-id></result> 2022-08-16 22:34:37 | contains: true 2022-08-16 22:34:37 | [Mutex] waiting for: [user_regular295fbd0203@test-domain.com:message:received:content_mw595l0205] 2022-08-16 22:34:37 | [Mutex] received everything. 2022-08-16 22:34:37 | [Mutex] isItemNotified: user_regular295fbd0203@test-domain.com:message:received:content_mw595l0205 :: true 2022-08-16 22:34:37 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-16 22:34:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 22:34:37 | command: <data><node>node_mv0wft0204</node><expire-at>2022-08-17T05:34:32Z</expire-at><entry><content>content_hs28tj0206</content></entry></data> 2022-08-16 22:34:37 | target: http://localhost:8088 2022-08-16 22:34:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-16 22:34:37 | entity: <data><node>node_mv0wft0204</node><expire-at>2022-08-17T05:34:32Z</expire-at><entry><content>content_hs28tj0206</content></entry></data> 2022-08-16 22:34:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 05:34:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 22:34:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>af6aeb34-b9c9-4f05-80b5-ecc14f022c10</value></item-id></result> 2022-08-16 22:34:37 | contains: true 2022-08-16 22:34:37 | [Mutex] waiting for: [user_regular295fbd0203@test-domain.com:message:received:content_hs28tj0206] 2022-08-16 22:34:52 | [Mutex] timeout. Not received [user_regular295fbd0203@test-domain.com:message:received:content_hs28tj0206] 2022-08-16 22:34:52 | [Mutex] isItemNotified: user_regular295fbd0203@test-domain.com:message:received:content_hs28tj0206 :: false 2022-08-16 22:34:52 | ===== publishing normal message (to offline) 2022-08-16 22:34:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 22:34:52 | command: <data><node>node_mv0wft0204</node><entry><content>content_lzvmig0207</content></entry></data> 2022-08-16 22:34:52 | target: http://localhost:8088 2022-08-16 22:34:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-16 22:34:52 | entity: <data><node>node_mv0wft0204</node><entry><content>content_lzvmig0207</content></entry></data> 2022-08-16 22:34:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 05:34:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 22:34:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6744f96e-3264-4466-9709-0ae79933bd5a</value></item-id></result> 2022-08-16 22:34:52 | contains: true 2022-08-16 22:34:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-16 22:34:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-16 22:34:57 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-16 22:34:58 | [Mutex] waiting for: [user_regular295fbd0203@test-domain.com:message:received:content_lzvmig0207] 2022-08-16 22:34:58 | [Mutex] waiting for: [user_regular295fbd0203@test-domain.com:message:received:content_lzvmig0207] 2022-08-16 22:34:58 | [Mutex] received everything. 2022-08-16 22:34:58 | [Mutex] isItemNotified: user_regular295fbd0203@test-domain.com:message:received:content_lzvmig0207 :: true 2022-08-16 22:34:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-16 22:34:58 | [Mutex] received everything. 2022-08-16 22:34:58 | [Mutex] isItemNotified: node_mv0wft0204:subscribe_node:success :: true 2022-08-16 22:34:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 22:34:58 | command: <data><node>node_mv0wft0204</node><expire-at>2022-08-17T05:35:03Z</expire-at><entry><content>content_2evki60208</content></entry></data> 2022-08-16 22:34:58 | target: http://localhost:8088 2022-08-16 22:34:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-16 22:34:58 | entity: <data><node>node_mv0wft0204</node><expire-at>2022-08-17T05:35:03Z</expire-at><entry><content>content_2evki60208</content></entry></data> 2022-08-16 22:34:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 05:34:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 22:34:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f75ee3ec-1cbb-44b0-92d2-679932883e1f</value></item-id></result> 2022-08-16 22:34:58 | contains: true 2022-08-16 22:35:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-16 22:35:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-16 22:35:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-16 22:35:06 | [Mutex] waiting for: [user_regular295fbd0203@test-domain.com:message:received:content_2evki60208] 2022-08-16 22:35:06 | [Mutex] waiting for: [user_regular295fbd0203@test-domain.com:message:received:content_2evki60208] 2022-08-16 22:35:21 | [Mutex] timeout. Not received [user_regular295fbd0203@test-domain.com:message:received:content_2evki60208] 2022-08-16 22:35:21 | [Mutex] received everything. 2022-08-16 22:35:21 | [Mutex] isItemNotified: user_regular295fbd0203@test-domain.com:message:received:content_2evki60208 :: false 2022-08-16 22:35:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2evki60208 :: true |