Test duration : 44.591s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.649s |
2023-02-01 21:45:22 |
2023-02-01 21:45:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-01 21:45:22 | ------------------------------------ 2023-02-01 21:45:22 | [Mutex] isItemNotified: node_r10vmz0204:exists :: false 2023-02-01 21:45:22 | [Mutex] waiting for: [node_r10vmz0204:create_node] 2023-02-01 21:45:22 | [Mutex] received everything. 2023-02-01 21:45:22 | [Mutex] isItemNotified: node_r10vmz0204:create_node:success :: true 2023-02-01 21:45:22 | [Mutex] waiting for: [node_r10vmz0204:subscribe_node] 2023-02-01 21:45:22 | [Mutex] waiting for: [node_r10vmz0204:subscribe_node] 2023-02-01 21:45:22 | [Mutex] received everything. 2023-02-01 21:45:22 | [Mutex] isItemNotified: node_r10vmz0204:subscribe_node:success :: true 2023-02-01 21:45:22 | ===== publishing normal message (to online) 2023-02-01 21:45:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:45:22 | command: <data><node>node_r10vmz0204</node><entry><content>content_jmlwv80205</content></entry></data> 2023-02-01 21:45:22 | target: http://localhost:8088 2023-02-01 21:45:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-01 21:45:22 | entity: <data><node>node_r10vmz0204</node><entry><content>content_jmlwv80205</content></entry></data> 2023-02-01 21:45:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:45:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:45:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7a389142-ae4c-46f2-b2c8-9c61e2ab0860</value></item-id></result> 2023-02-01 21:45:23 | contains: true 2023-02-01 21:45:23 | [Mutex] waiting for: [user_regularlqyena0203@test-domain.com:message:received:content_jmlwv80205] 2023-02-01 21:45:23 | [Mutex] received everything. 2023-02-01 21:45:23 | [Mutex] isItemNotified: user_regularlqyena0203@test-domain.com:message:received:content_jmlwv80205 :: true 2023-02-01 21:45:23 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-01 21:45:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:45:23 | command: <data><node>node_r10vmz0204</node><expire-at>2023-02-02T05:45:18Z</expire-at><entry><content>content_kzb9sz0206</content></entry></data> 2023-02-01 21:45:23 | target: http://localhost:8088 2023-02-01 21:45:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-01 21:45:23 | entity: <data><node>node_r10vmz0204</node><expire-at>2023-02-02T05:45:18Z</expire-at><entry><content>content_kzb9sz0206</content></entry></data> 2023-02-01 21:45:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:45:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:45:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>081ac242-5c43-4f70-a080-a0a9eefdcb47</value></item-id></result> 2023-02-01 21:45:23 | contains: true 2023-02-01 21:45:23 | [Mutex] waiting for: [user_regularlqyena0203@test-domain.com:message:received:content_kzb9sz0206] 2023-02-01 21:45:38 | [Mutex] timeout. Not received [user_regularlqyena0203@test-domain.com:message:received:content_kzb9sz0206] 2023-02-01 21:45:38 | [Mutex] isItemNotified: user_regularlqyena0203@test-domain.com:message:received:content_kzb9sz0206 :: false 2023-02-01 21:45:38 | ===== publishing normal message (to offline) 2023-02-01 21:45:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:45:38 | command: <data><node>node_r10vmz0204</node><entry><content>content_933jv40207</content></entry></data> 2023-02-01 21:45:38 | target: http://localhost:8088 2023-02-01 21:45:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-01 21:45:38 | entity: <data><node>node_r10vmz0204</node><entry><content>content_933jv40207</content></entry></data> 2023-02-01 21:45:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:45:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:45:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1f30abb7-e732-4a03-8988-58ccde2fa214</value></item-id></result> 2023-02-01 21:45:38 | contains: true 2023-02-01 21:45:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-01 21:45:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-01 21:45:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-01 21:45:43 | [Mutex] waiting for: [user_regularlqyena0203@test-domain.com:message:received:content_933jv40207] 2023-02-01 21:45:43 | [Mutex] waiting for: [user_regularlqyena0203@test-domain.com:message:received:content_933jv40207] 2023-02-01 21:45:43 | [Mutex] received everything. 2023-02-01 21:45:43 | [Mutex] isItemNotified: user_regularlqyena0203@test-domain.com:message:received:content_933jv40207 :: true 2023-02-01 21:45:43 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-01 21:45:43 | [Mutex] received everything. 2023-02-01 21:45:43 | [Mutex] isItemNotified: node_r10vmz0204:subscribe_node:success :: true 2023-02-01 21:45:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 21:45:43 | command: <data><node>node_r10vmz0204</node><expire-at>2023-02-02T05:45:48Z</expire-at><entry><content>content_mwe3yo0208</content></entry></data> 2023-02-01 21:45:43 | target: http://localhost:8088 2023-02-01 21:45:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-01 21:45:43 | entity: <data><node>node_r10vmz0204</node><expire-at>2023-02-02T05:45:48Z</expire-at><entry><content>content_mwe3yo0208</content></entry></data> 2023-02-01 21:45:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 05:45:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 21:45:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2ca6150a-2016-470f-bd08-e443531c1393</value></item-id></result> 2023-02-01 21:45:43 | contains: true 2023-02-01 21:45:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-01 21:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-01 21:45:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-01 21:45:51 | [Mutex] waiting for: [user_regularlqyena0203@test-domain.com:message:received:content_mwe3yo0208] 2023-02-01 21:46:06 | [Mutex] timeout. Not received [user_regularlqyena0203@test-domain.com:message:received:content_mwe3yo0208] 2023-02-01 21:46:06 | [Mutex] received everything. 2023-02-01 21:46:06 | [Mutex] isItemNotified: user_regularlqyena0203@test-domain.com:message:received:content_mwe3yo0208 :: false 2023-02-01 21:46:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mwe3yo0208 :: true |