Test duration : 44.917s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.618s |
2022-11-24 04:31:42 |
2022-11-24 04:31:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-24 04:31:42 | ------------------------------------ 2022-11-24 04:31:42 | [Mutex] isItemNotified: node_ehtv4j0204:exists :: false 2022-11-24 04:31:42 | [Mutex] waiting for: [node_ehtv4j0204:create_node] 2022-11-24 04:31:42 | [Mutex] received everything. 2022-11-24 04:31:42 | [Mutex] isItemNotified: node_ehtv4j0204:create_node:success :: true 2022-11-24 04:31:42 | [Mutex] waiting for: [node_ehtv4j0204:subscribe_node] 2022-11-24 04:31:42 | [Mutex] received everything. 2022-11-24 04:31:42 | [Mutex] isItemNotified: node_ehtv4j0204:subscribe_node:success :: true 2022-11-24 04:31:42 | ===== publishing normal message (to online) 2022-11-24 04:31:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 04:31:42 | command: <data><node>node_ehtv4j0204</node><entry><content>content_9nmi180205</content></entry></data> 2022-11-24 04:31:42 | target: http://localhost:8088 2022-11-24 04:31:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 04:31:42 | entity: <data><node>node_ehtv4j0204</node><entry><content>content_9nmi180205</content></entry></data> 2022-11-24 04:31:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 12:31:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 04:31:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>85b393fc-31c3-4e44-a46a-3d46fd5a4906</value></item-id></result> 2022-11-24 04:31:42 | contains: true 2022-11-24 04:31:42 | [Mutex] received everything. 2022-11-24 04:31:42 | [Mutex] isItemNotified: user_regular8v9sdu0203@test-domain.com:message:received:content_9nmi180205 :: true 2022-11-24 04:31:42 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-24 04:31:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 04:31:42 | command: <data><node>node_ehtv4j0204</node><expire-at>2022-11-24T12:31:37Z</expire-at><entry><content>content_j6ej0206</content></entry></data> 2022-11-24 04:31:42 | target: http://localhost:8088 2022-11-24 04:31:42 | entity: [Content-Type: application/xml,Content-Length: 134,Chunked: false] 2022-11-24 04:31:42 | entity: <data><node>node_ehtv4j0204</node><expire-at>2022-11-24T12:31:37Z</expire-at><entry><content>content_j6ej0206</content></entry></data> 2022-11-24 04:31:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 12:31:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 04:31:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6f178ed3-ad41-421a-b512-4493da20ebea</value></item-id></result> 2022-11-24 04:31:42 | contains: true 2022-11-24 04:31:42 | [Mutex] waiting for: [user_regular8v9sdu0203@test-domain.com:message:received:content_j6ej0206] 2022-11-24 04:31:57 | [Mutex] timeout. Not received [user_regular8v9sdu0203@test-domain.com:message:received:content_j6ej0206] 2022-11-24 04:31:57 | [Mutex] isItemNotified: user_regular8v9sdu0203@test-domain.com:message:received:content_j6ej0206 :: false 2022-11-24 04:31:57 | ===== publishing normal message (to offline) 2022-11-24 04:31:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 04:31:57 | command: <data><node>node_ehtv4j0204</node><entry><content>content_65db1y0207</content></entry></data> 2022-11-24 04:31:57 | target: http://localhost:8088 2022-11-24 04:31:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 04:31:57 | entity: <data><node>node_ehtv4j0204</node><entry><content>content_65db1y0207</content></entry></data> 2022-11-24 04:31:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 12:31:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 04:31:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>44c0826e-2212-4291-acf0-d5b192a2298e</value></item-id></result> 2022-11-24 04:31:57 | contains: true 2022-11-24 04:32:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 04:32:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 04:32:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 04:32:02 | [Mutex] waiting for: [user_regular8v9sdu0203@test-domain.com:message:received:content_65db1y0207] 2022-11-24 04:32:02 | [Mutex] waiting for: [user_regular8v9sdu0203@test-domain.com:message:received:content_65db1y0207] 2022-11-24 04:32:02 | [Mutex] received everything. 2022-11-24 04:32:02 | [Mutex] isItemNotified: user_regular8v9sdu0203@test-domain.com:message:received:content_65db1y0207 :: true 2022-11-24 04:32:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-24 04:32:02 | [Mutex] received everything. 2022-11-24 04:32:02 | [Mutex] isItemNotified: node_ehtv4j0204:subscribe_node:success :: true 2022-11-24 04:32:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 04:32:03 | command: <data><node>node_ehtv4j0204</node><expire-at>2022-11-24T12:32:08Z</expire-at><entry><content>content_waq30z0208</content></entry></data> 2022-11-24 04:32:03 | target: http://localhost:8088 2022-11-24 04:32:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-24 04:32:03 | entity: <data><node>node_ehtv4j0204</node><expire-at>2022-11-24T12:32:08Z</expire-at><entry><content>content_waq30z0208</content></entry></data> 2022-11-24 04:32:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 24 Nov 2022 12:32:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 04:32:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b64e6e56-4331-45d7-835b-80f01b45009b</value></item-id></result> 2022-11-24 04:32:03 | contains: true 2022-11-24 04:32:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 04:32:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 04:32:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 04:32:11 | [Mutex] waiting for: [user_regular8v9sdu0203@test-domain.com:message:received:content_waq30z0208] 2022-11-24 04:32:11 | [Mutex] waiting for: [user_regular8v9sdu0203@test-domain.com:message:received:content_waq30z0208] 2022-11-24 04:32:11 | [Mutex] waiting for: [user_regular8v9sdu0203@test-domain.com:message:received:content_waq30z0208] 2022-11-24 04:32:26 | [Mutex] timeout. Not received [user_regular8v9sdu0203@test-domain.com:message:received:content_waq30z0208] 2022-11-24 04:32:26 | [Mutex] received everything. 2022-11-24 04:32:26 | [Mutex] isItemNotified: user_regular8v9sdu0203@test-domain.com:message:received:content_waq30z0208 :: false 2022-11-24 04:32:26 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_waq30z0208 :: true |