Test duration : 44.776s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.613s |
2022-09-06 23:07:14 |
2022-09-06 23:07:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-06 23:07:14 | ------------------------------------ 2022-09-06 23:07:14 | [Mutex] isItemNotified: node_95xb4h0204:exists :: false 2022-09-06 23:07:14 | [Mutex] waiting for: [node_95xb4h0204:create_node] 2022-09-06 23:07:14 | [Mutex] received everything. 2022-09-06 23:07:14 | [Mutex] isItemNotified: node_95xb4h0204:create_node:success :: true 2022-09-06 23:07:14 | [Mutex] waiting for: [node_95xb4h0204:subscribe_node] 2022-09-06 23:07:14 | [Mutex] waiting for: [node_95xb4h0204:subscribe_node] 2022-09-06 23:07:14 | [Mutex] received everything. 2022-09-06 23:07:14 | [Mutex] isItemNotified: node_95xb4h0204:subscribe_node:success :: true 2022-09-06 23:07:14 | ===== publishing normal message (to online) 2022-09-06 23:07:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-06 23:07:14 | command: <data><node>node_95xb4h0204</node><entry><content>content_hk32k50205</content></entry></data> 2022-09-06 23:07:14 | target: http://localhost:8088 2022-09-06 23:07:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-06 23:07:14 | entity: <data><node>node_95xb4h0204</node><entry><content>content_hk32k50205</content></entry></data> 2022-09-06 23:07:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:07:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-06 23:07:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e8526d85-46be-410a-9e9a-f2c6aefa3601</value></item-id></result> 2022-09-06 23:07:14 | contains: true 2022-09-06 23:07:14 | [Mutex] waiting for: [user_regularmy77a50203@test-domain.com:message:received:content_hk32k50205] 2022-09-06 23:07:14 | [Mutex] received everything. 2022-09-06 23:07:14 | [Mutex] isItemNotified: user_regularmy77a50203@test-domain.com:message:received:content_hk32k50205 :: true 2022-09-06 23:07:14 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-06 23:07:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-06 23:07:14 | command: <data><node>node_95xb4h0204</node><expire-at>2022-09-07T06:07:09Z</expire-at><entry><content>content_tljfjc0206</content></entry></data> 2022-09-06 23:07:14 | target: http://localhost:8088 2022-09-06 23:07:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-06 23:07:14 | entity: <data><node>node_95xb4h0204</node><expire-at>2022-09-07T06:07:09Z</expire-at><entry><content>content_tljfjc0206</content></entry></data> 2022-09-06 23:07:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:07:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-06 23:07:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>71791f16-c232-499b-b154-a4177da8c2f4</value></item-id></result> 2022-09-06 23:07:14 | contains: true 2022-09-06 23:07:14 | [Mutex] waiting for: [user_regularmy77a50203@test-domain.com:message:received:content_tljfjc0206] 2022-09-06 23:07:29 | [Mutex] timeout. Not received [user_regularmy77a50203@test-domain.com:message:received:content_tljfjc0206] 2022-09-06 23:07:29 | [Mutex] isItemNotified: user_regularmy77a50203@test-domain.com:message:received:content_tljfjc0206 :: false 2022-09-06 23:07:29 | ===== publishing normal message (to offline) 2022-09-06 23:07:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-06 23:07:29 | command: <data><node>node_95xb4h0204</node><entry><content>content_c194n60207</content></entry></data> 2022-09-06 23:07:29 | target: http://localhost:8088 2022-09-06 23:07:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-06 23:07:29 | entity: <data><node>node_95xb4h0204</node><entry><content>content_c194n60207</content></entry></data> 2022-09-06 23:07:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:07:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-06 23:07:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c51b5fdf-00a1-4c84-9121-205dfbdf4ea0</value></item-id></result> 2022-09-06 23:07:29 | contains: true 2022-09-06 23:07:34 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-06 23:07:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-06 23:07:34 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-06 23:07:34 | [Mutex] waiting for: [user_regularmy77a50203@test-domain.com:message:received:content_c194n60207] 2022-09-06 23:07:34 | [Mutex] received everything. 2022-09-06 23:07:34 | [Mutex] isItemNotified: user_regularmy77a50203@test-domain.com:message:received:content_c194n60207 :: true 2022-09-06 23:07:34 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-06 23:07:34 | [Mutex] received everything. 2022-09-06 23:07:34 | [Mutex] isItemNotified: node_95xb4h0204:subscribe_node:success :: true 2022-09-06 23:07:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-06 23:07:34 | command: <data><node>node_95xb4h0204</node><expire-at>2022-09-07T06:07:39Z</expire-at><entry><content>content_lgzptb0208</content></entry></data> 2022-09-06 23:07:34 | target: http://localhost:8088 2022-09-06 23:07:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-06 23:07:34 | entity: <data><node>node_95xb4h0204</node><expire-at>2022-09-07T06:07:39Z</expire-at><entry><content>content_lgzptb0208</content></entry></data> 2022-09-06 23:07:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 07 Sep 2022 06:07:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-06 23:07:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9a74f4be-ce02-4202-ac85-1f2a96a213b3</value></item-id></result> 2022-09-06 23:07:34 | contains: true 2022-09-06 23:07:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-06 23:07:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-06 23:07:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-06 23:07:43 | [Mutex] waiting for: [user_regularmy77a50203@test-domain.com:message:received:content_lgzptb0208] 2022-09-06 23:07:43 | [Mutex] waiting for: [user_regularmy77a50203@test-domain.com:message:received:content_lgzptb0208] 2022-09-06 23:07:43 | [Mutex] waiting for: [user_regularmy77a50203@test-domain.com:message:received:content_lgzptb0208] 2022-09-06 23:07:58 | [Mutex] timeout. Not received [user_regularmy77a50203@test-domain.com:message:received:content_lgzptb0208] 2022-09-06 23:07:58 | [Mutex] received everything. 2022-09-06 23:07:58 | [Mutex] isItemNotified: user_regularmy77a50203@test-domain.com:message:received:content_lgzptb0208 :: false 2022-09-06 23:07:58 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lgzptb0208 :: true |