Test duration : 44.417s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.495s |
2022-07-01 22:33:18 |
2022-07-01 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-01 22:33:18 | ------------------------------------ 2022-07-01 22:33:18 | [Mutex] isItemNotified: node_9seuht0204:exists :: false 2022-07-01 22:33:18 | [Mutex] waiting for: [node_9seuht0204:create_node] 2022-07-01 22:33:18 | [Mutex] received everything. 2022-07-01 22:33:18 | [Mutex] isItemNotified: node_9seuht0204:create_node:success :: true 2022-07-01 22:33:18 | [Mutex] waiting for: [node_9seuht0204:subscribe_node] 2022-07-01 22:33:18 | [Mutex] received everything. 2022-07-01 22:33:18 | [Mutex] isItemNotified: node_9seuht0204:subscribe_node:success :: true 2022-07-01 22:33:18 | ===== publishing normal message (to online) 2022-07-01 22:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-01 22:33:18 | command: <data><node>node_9seuht0204</node><entry><content>content_wuaas20205</content></entry></data> 2022-07-01 22:33:18 | target: http://localhost:8088 2022-07-01 22:33:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-01 22:33:18 | entity: <data><node>node_9seuht0204</node><entry><content>content_wuaas20205</content></entry></data> 2022-07-01 22:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-01 22:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>53b17653-8473-4eeb-b222-c74e4fc6a2f7</value></item-id></result> 2022-07-01 22:33:18 | contains: true 2022-07-01 22:33:18 | [Mutex] received everything. 2022-07-01 22:33:18 | [Mutex] isItemNotified: user_regularh95dif0203@test-domain.com:message:received:content_wuaas20205 :: true 2022-07-01 22:33:18 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-01 22:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-01 22:33:18 | command: <data><node>node_9seuht0204</node><expire-at>2022-07-02T05:33:13Z</expire-at><entry><content>content_oudibr0206</content></entry></data> 2022-07-01 22:33:18 | target: http://localhost:8088 2022-07-01 22:33:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-01 22:33:18 | entity: <data><node>node_9seuht0204</node><expire-at>2022-07-02T05:33:13Z</expire-at><entry><content>content_oudibr0206</content></entry></data> 2022-07-01 22:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-01 22:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>86be5b42-f0bf-4d70-9c8c-7914cca88c39</value></item-id></result> 2022-07-01 22:33:18 | contains: true 2022-07-01 22:33:18 | [Mutex] waiting for: [user_regularh95dif0203@test-domain.com:message:received:content_oudibr0206] 2022-07-01 22:33:33 | [Mutex] timeout. Not received [user_regularh95dif0203@test-domain.com:message:received:content_oudibr0206] 2022-07-01 22:33:33 | [Mutex] isItemNotified: user_regularh95dif0203@test-domain.com:message:received:content_oudibr0206 :: false 2022-07-01 22:33:33 | ===== publishing normal message (to offline) 2022-07-01 22:33:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-01 22:33:33 | command: <data><node>node_9seuht0204</node><entry><content>content_v1szga0207</content></entry></data> 2022-07-01 22:33:33 | target: http://localhost:8088 2022-07-01 22:33:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-01 22:33:33 | entity: <data><node>node_9seuht0204</node><entry><content>content_v1szga0207</content></entry></data> 2022-07-01 22:33:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 05:33:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-01 22:33:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bbeb757f-1424-462f-a988-381f3fff0d4b</value></item-id></result> 2022-07-01 22:33:33 | contains: true 2022-07-01 22:33:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-01 22:33:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-01 22:33:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-01 22:33:38 | [Mutex] waiting for: [user_regularh95dif0203@test-domain.com:message:received:content_v1szga0207] 2022-07-01 22:33:38 | [Mutex] received everything. 2022-07-01 22:33:38 | [Mutex] isItemNotified: user_regularh95dif0203@test-domain.com:message:received:content_v1szga0207 :: true 2022-07-01 22:33:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-01 22:33:38 | [Mutex] received everything. 2022-07-01 22:33:38 | [Mutex] isItemNotified: node_9seuht0204:subscribe_node:success :: true 2022-07-01 22:33:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-01 22:33:38 | command: <data><node>node_9seuht0204</node><expire-at>2022-07-02T05:33:43Z</expire-at><entry><content>content_538zce0208</content></entry></data> 2022-07-01 22:33:38 | target: http://localhost:8088 2022-07-01 22:33:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-01 22:33:38 | entity: <data><node>node_9seuht0204</node><expire-at>2022-07-02T05:33:43Z</expire-at><entry><content>content_538zce0208</content></entry></data> 2022-07-01 22:33:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 02 Jul 2022 05:33:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-01 22:33:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>53a48014-cedc-4e4e-825f-7878eee958c1</value></item-id></result> 2022-07-01 22:33:38 | contains: true 2022-07-01 22:33:46 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-01 22:33:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-01 22:33:46 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-01 22:33:47 | [Mutex] waiting for: [user_regularh95dif0203@test-domain.com:message:received:content_538zce0208] 2022-07-01 22:33:47 | [Mutex] waiting for: [user_regularh95dif0203@test-domain.com:message:received:content_538zce0208] 2022-07-01 22:34:02 | [Mutex] timeout. Not received [user_regularh95dif0203@test-domain.com:message:received:content_538zce0208] 2022-07-01 22:34:02 | [Mutex] received everything. 2022-07-01 22:34:02 | [Mutex] isItemNotified: user_regularh95dif0203@test-domain.com:message:received:content_538zce0208 :: false 2022-07-01 22:34:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_538zce0208 :: true |