Test duration : 44.483s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.620s |
2022-09-07 23:03:35 |
2022-09-07 23:03:35 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-07 23:03:35 | ------------------------------------ 2022-09-07 23:03:35 | [Mutex] isItemNotified: node_3vwv2k0204:exists :: false 2022-09-07 23:03:35 | [Mutex] waiting for: [node_3vwv2k0204:create_node] 2022-09-07 23:03:35 | [Mutex] received everything. 2022-09-07 23:03:35 | [Mutex] isItemNotified: node_3vwv2k0204:create_node:success :: true 2022-09-07 23:03:35 | [Mutex] waiting for: [node_3vwv2k0204:subscribe_node] 2022-09-07 23:03:35 | [Mutex] waiting for: [node_3vwv2k0204:subscribe_node] 2022-09-07 23:03:35 | [Mutex] received everything. 2022-09-07 23:03:35 | [Mutex] isItemNotified: node_3vwv2k0204:subscribe_node:success :: true 2022-09-07 23:03:35 | ===== publishing normal message (to online) 2022-09-07 23:03:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 23:03:35 | command: <data><node>node_3vwv2k0204</node><entry><content>content_vlbich0205</content></entry></data> 2022-09-07 23:03:35 | target: http://localhost:8088 2022-09-07 23:03:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-07 23:03:35 | entity: <data><node>node_3vwv2k0204</node><entry><content>content_vlbich0205</content></entry></data> 2022-09-07 23:03:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 06:03:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 23:03:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9f18f591-2b0b-461f-beb9-90a0e50c2c73</value></item-id></result> 2022-09-07 23:03:35 | contains: true 2022-09-07 23:03:35 | [Mutex] waiting for: [user_regularqzhis90203@test-domain.com:message:received:content_vlbich0205] 2022-09-07 23:03:35 | [Mutex] received everything. 2022-09-07 23:03:35 | [Mutex] isItemNotified: user_regularqzhis90203@test-domain.com:message:received:content_vlbich0205 :: true 2022-09-07 23:03:35 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-07 23:03:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 23:03:35 | command: <data><node>node_3vwv2k0204</node><expire-at>2022-09-08T06:03:30Z</expire-at><entry><content>content_is7bhd0206</content></entry></data> 2022-09-07 23:03:35 | target: http://localhost:8088 2022-09-07 23:03:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-07 23:03:35 | entity: <data><node>node_3vwv2k0204</node><expire-at>2022-09-08T06:03:30Z</expire-at><entry><content>content_is7bhd0206</content></entry></data> 2022-09-07 23:03:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 06:03:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 23:03:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>221cf0b2-87ad-4d03-a5cd-4de5af695135</value></item-id></result> 2022-09-07 23:03:35 | contains: true 2022-09-07 23:03:35 | [Mutex] waiting for: [user_regularqzhis90203@test-domain.com:message:received:content_is7bhd0206] 2022-09-07 23:03:50 | [Mutex] timeout. Not received [user_regularqzhis90203@test-domain.com:message:received:content_is7bhd0206] 2022-09-07 23:03:50 | [Mutex] isItemNotified: user_regularqzhis90203@test-domain.com:message:received:content_is7bhd0206 :: false 2022-09-07 23:03:50 | ===== publishing normal message (to offline) 2022-09-07 23:03:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 23:03:50 | command: <data><node>node_3vwv2k0204</node><entry><content>content_whzz0f0207</content></entry></data> 2022-09-07 23:03:50 | target: http://localhost:8088 2022-09-07 23:03:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-07 23:03:50 | entity: <data><node>node_3vwv2k0204</node><entry><content>content_whzz0f0207</content></entry></data> 2022-09-07 23:03:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 06:03:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 23:03:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>22affe45-39fa-425d-9b38-87291067dc8c</value></item-id></result> 2022-09-07 23:03:50 | contains: true 2022-09-07 23:03:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-07 23:03:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-07 23:03:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-07 23:03:55 | [Mutex] waiting for: [user_regularqzhis90203@test-domain.com:message:received:content_whzz0f0207] 2022-09-07 23:03:55 | [Mutex] received everything. 2022-09-07 23:03:55 | [Mutex] isItemNotified: user_regularqzhis90203@test-domain.com:message:received:content_whzz0f0207 :: true 2022-09-07 23:03:55 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-07 23:03:55 | [Mutex] received everything. 2022-09-07 23:03:55 | [Mutex] isItemNotified: node_3vwv2k0204:subscribe_node:success :: true 2022-09-07 23:03:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-07 23:03:55 | command: <data><node>node_3vwv2k0204</node><expire-at>2022-09-08T06:04:00Z</expire-at><entry><content>content_5cz0ve0208</content></entry></data> 2022-09-07 23:03:55 | target: http://localhost:8088 2022-09-07 23:03:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-07 23:03:55 | entity: <data><node>node_3vwv2k0204</node><expire-at>2022-09-08T06:04:00Z</expire-at><entry><content>content_5cz0ve0208</content></entry></data> 2022-09-07 23:03:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 08 Sep 2022 06:03:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-07 23:03:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a81af0bf-ccb2-472c-804b-2bec8f50f4fc</value></item-id></result> 2022-09-07 23:03:55 | contains: true 2022-09-07 23:04:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-07 23:04:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-07 23:04:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-07 23:04:03 | [Mutex] waiting for: [user_regularqzhis90203@test-domain.com:message:received:content_5cz0ve0208] 2022-09-07 23:04:03 | [Mutex] waiting for: [user_regularqzhis90203@test-domain.com:message:received:content_5cz0ve0208] 2022-09-07 23:04:18 | [Mutex] timeout. Not received [user_regularqzhis90203@test-domain.com:message:received:content_5cz0ve0208] 2022-09-07 23:04:18 | [Mutex] received everything. 2022-09-07 23:04:18 | [Mutex] isItemNotified: user_regularqzhis90203@test-domain.com:message:received:content_5cz0ve0208 :: false 2022-09-07 23:04:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5cz0ve0208 :: true |