Test duration : 44.880s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.624s |
2022-05-15 22:54:15 |
2022-05-15 22:54:15 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-15 22:54:15 | ------------------------------------ 2022-05-15 22:54:15 | [Mutex] isItemNotified: node_jjfc610204:exists :: false 2022-05-15 22:54:15 | [Mutex] waiting for: [node_jjfc610204:create_node] 2022-05-15 22:54:15 | [Mutex] received everything. 2022-05-15 22:54:15 | [Mutex] isItemNotified: node_jjfc610204:create_node:success :: true 2022-05-15 22:54:15 | [Mutex] waiting for: [node_jjfc610204:subscribe_node] 2022-05-15 22:54:15 | [Mutex] waiting for: [node_jjfc610204:subscribe_node] 2022-05-15 22:54:15 | [Mutex] received everything. 2022-05-15 22:54:15 | [Mutex] isItemNotified: node_jjfc610204:subscribe_node:success :: true 2022-05-15 22:54:15 | ===== publishing normal message (to online) 2022-05-15 22:54:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-15 22:54:15 | command: <data><node>node_jjfc610204</node><entry><content>content_ccsef20205</content></entry></data> 2022-05-15 22:54:15 | target: http://localhost:8088 2022-05-15 22:54:15 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-15 22:54:15 | entity: <data><node>node_jjfc610204</node><entry><content>content_ccsef20205</content></entry></data> 2022-05-15 22:54:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 05:54:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-15 22:54:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>90107eaa-eca3-418e-9e73-6c19a9f1e80d</value></item-id></result> 2022-05-15 22:54:15 | contains: true 2022-05-15 22:54:15 | [Mutex] received everything. 2022-05-15 22:54:15 | [Mutex] isItemNotified: user_regular972o6f0203@test-domain.com:message:received:content_ccsef20205 :: true 2022-05-15 22:54:15 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-15 22:54:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-15 22:54:15 | command: <data><node>node_jjfc610204</node><expire-at>2022-05-16T05:54:10Z</expire-at><entry><content>content_or9uxk0206</content></entry></data> 2022-05-15 22:54:15 | target: http://localhost:8088 2022-05-15 22:54:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-15 22:54:15 | entity: <data><node>node_jjfc610204</node><expire-at>2022-05-16T05:54:10Z</expire-at><entry><content>content_or9uxk0206</content></entry></data> 2022-05-15 22:54:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 05:54:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-15 22:54:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>87c15787-d498-437e-b776-263ad30fbdae</value></item-id></result> 2022-05-15 22:54:15 | contains: true 2022-05-15 22:54:15 | [Mutex] waiting for: [user_regular972o6f0203@test-domain.com:message:received:content_or9uxk0206] 2022-05-15 22:54:30 | [Mutex] timeout. Not received [user_regular972o6f0203@test-domain.com:message:received:content_or9uxk0206] 2022-05-15 22:54:30 | [Mutex] isItemNotified: user_regular972o6f0203@test-domain.com:message:received:content_or9uxk0206 :: false 2022-05-15 22:54:30 | ===== publishing normal message (to offline) 2022-05-15 22:54:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-15 22:54:30 | command: <data><node>node_jjfc610204</node><entry><content>content_bt8l390207</content></entry></data> 2022-05-15 22:54:30 | target: http://localhost:8088 2022-05-15 22:54:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-15 22:54:30 | entity: <data><node>node_jjfc610204</node><entry><content>content_bt8l390207</content></entry></data> 2022-05-15 22:54:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 05:54:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-15 22:54:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>75be7021-ce83-4a6f-a239-f763a290cc4e</value></item-id></result> 2022-05-15 22:54:30 | contains: true 2022-05-15 22:54:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-15 22:54:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-15 22:54:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-15 22:54:35 | [Mutex] waiting for: [user_regular972o6f0203@test-domain.com:message:received:content_bt8l390207] 2022-05-15 22:54:35 | [Mutex] received everything. 2022-05-15 22:54:35 | [Mutex] isItemNotified: user_regular972o6f0203@test-domain.com:message:received:content_bt8l390207 :: true 2022-05-15 22:54:35 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-15 22:54:35 | [Mutex] received everything. 2022-05-15 22:54:35 | [Mutex] isItemNotified: node_jjfc610204:subscribe_node:success :: true 2022-05-15 22:54:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-15 22:54:35 | command: <data><node>node_jjfc610204</node><expire-at>2022-05-16T05:54:40Z</expire-at><entry><content>content_kqsws0208</content></entry></data> 2022-05-15 22:54:35 | target: http://localhost:8088 2022-05-15 22:54:35 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-05-15 22:54:35 | entity: <data><node>node_jjfc610204</node><expire-at>2022-05-16T05:54:40Z</expire-at><entry><content>content_kqsws0208</content></entry></data> 2022-05-15 22:54:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 16 May 2022 05:54:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-15 22:54:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9d7303c8-bb9c-4226-9f8b-08f3e107c8d6</value></item-id></result> 2022-05-15 22:54:35 | contains: true 2022-05-15 22:54:43 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-15 22:54:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-15 22:54:43 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-15 22:54:43 | [Mutex] waiting for: [user_regular972o6f0203@test-domain.com:message:received:content_kqsws0208] 2022-05-15 22:54:43 | [Mutex] waiting for: [user_regular972o6f0203@test-domain.com:message:received:content_kqsws0208] 2022-05-15 22:54:58 | [Mutex] timeout. Not received [user_regular972o6f0203@test-domain.com:message:received:content_kqsws0208] 2022-05-15 22:54:58 | [Mutex] received everything. 2022-05-15 22:54:58 | [Mutex] isItemNotified: user_regular972o6f0203@test-domain.com:message:received:content_kqsws0208 :: false 2022-05-15 22:54:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kqsws0208 :: true |