Test duration : 44.837s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.593s |
2022-06-19 22:36:21 |
2022-06-19 22:36:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-19 22:36:21 | ------------------------------------ 2022-06-19 22:36:21 | [Mutex] isItemNotified: node_z68gaz0204:exists :: false 2022-06-19 22:36:21 | [Mutex] waiting for: [node_z68gaz0204:create_node] 2022-06-19 22:36:21 | [Mutex] waiting for: [node_z68gaz0204:create_node] 2022-06-19 22:36:21 | [Mutex] received everything. 2022-06-19 22:36:21 | [Mutex] isItemNotified: node_z68gaz0204:create_node:success :: true 2022-06-19 22:36:21 | [Mutex] waiting for: [node_z68gaz0204:subscribe_node] 2022-06-19 22:36:21 | [Mutex] waiting for: [node_z68gaz0204:subscribe_node] 2022-06-19 22:36:21 | [Mutex] received everything. 2022-06-19 22:36:21 | [Mutex] isItemNotified: node_z68gaz0204:subscribe_node:success :: true 2022-06-19 22:36:21 | ===== publishing normal message (to online) 2022-06-19 22:36:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-19 22:36:21 | command: <data><node>node_z68gaz0204</node><entry><content>content_66gyb20205</content></entry></data> 2022-06-19 22:36:21 | target: http://localhost:8088 2022-06-19 22:36:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-19 22:36:21 | entity: <data><node>node_z68gaz0204</node><entry><content>content_66gyb20205</content></entry></data> 2022-06-19 22:36:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Jun 2022 05:36:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-19 22:36:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8f6b1ae3-f37d-4c1a-9e50-70c9df3d2175</value></item-id></result> 2022-06-19 22:36:21 | contains: true 2022-06-19 22:36:21 | [Mutex] received everything. 2022-06-19 22:36:21 | [Mutex] isItemNotified: user_regularbx6k4g0203@test-domain.com:message:received:content_66gyb20205 :: true 2022-06-19 22:36:21 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-19 22:36:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-19 22:36:21 | command: <data><node>node_z68gaz0204</node><expire-at>2022-06-20T05:36:16Z</expire-at><entry><content>content_ndcm1c0206</content></entry></data> 2022-06-19 22:36:21 | target: http://localhost:8088 2022-06-19 22:36:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-19 22:36:21 | entity: <data><node>node_z68gaz0204</node><expire-at>2022-06-20T05:36:16Z</expire-at><entry><content>content_ndcm1c0206</content></entry></data> 2022-06-19 22:36:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Jun 2022 05:36:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-19 22:36:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f2b03999-c3cc-4fc8-905f-9bd34cf30305</value></item-id></result> 2022-06-19 22:36:21 | contains: true 2022-06-19 22:36:21 | [Mutex] waiting for: [user_regularbx6k4g0203@test-domain.com:message:received:content_ndcm1c0206] 2022-06-19 22:36:36 | [Mutex] timeout. Not received [user_regularbx6k4g0203@test-domain.com:message:received:content_ndcm1c0206] 2022-06-19 22:36:36 | [Mutex] isItemNotified: user_regularbx6k4g0203@test-domain.com:message:received:content_ndcm1c0206 :: false 2022-06-19 22:36:36 | ===== publishing normal message (to offline) 2022-06-19 22:36:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-19 22:36:36 | command: <data><node>node_z68gaz0204</node><entry><content>content_js3odo0207</content></entry></data> 2022-06-19 22:36:36 | target: http://localhost:8088 2022-06-19 22:36:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-19 22:36:36 | entity: <data><node>node_z68gaz0204</node><entry><content>content_js3odo0207</content></entry></data> 2022-06-19 22:36:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Jun 2022 05:36:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-19 22:36:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ecc33e9d-d76a-4e06-9906-1884609d3452</value></item-id></result> 2022-06-19 22:36:36 | contains: true 2022-06-19 22:36:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-19 22:36:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-19 22:36:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-19 22:36:41 | [Mutex] waiting for: [user_regularbx6k4g0203@test-domain.com:message:received:content_js3odo0207] 2022-06-19 22:36:41 | [Mutex] waiting for: [user_regularbx6k4g0203@test-domain.com:message:received:content_js3odo0207] 2022-06-19 22:36:41 | [Mutex] received everything. 2022-06-19 22:36:41 | [Mutex] isItemNotified: user_regularbx6k4g0203@test-domain.com:message:received:content_js3odo0207 :: true 2022-06-19 22:36:41 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-19 22:36:41 | [Mutex] received everything. 2022-06-19 22:36:41 | [Mutex] isItemNotified: node_z68gaz0204:subscribe_node:success :: true 2022-06-19 22:36:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-19 22:36:41 | command: <data><node>node_z68gaz0204</node><expire-at>2022-06-20T05:36:46Z</expire-at><entry><content>content_jzm7sw0208</content></entry></data> 2022-06-19 22:36:41 | target: http://localhost:8088 2022-06-19 22:36:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-19 22:36:41 | entity: <data><node>node_z68gaz0204</node><expire-at>2022-06-20T05:36:46Z</expire-at><entry><content>content_jzm7sw0208</content></entry></data> 2022-06-19 22:36:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 20 Jun 2022 05:36:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-19 22:36:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f20a502c-f268-4498-a4a5-15d406f26263</value></item-id></result> 2022-06-19 22:36:41 | contains: true 2022-06-19 22:36:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-19 22:36:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-19 22:36:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-19 22:36:49 | [Mutex] waiting for: [user_regularbx6k4g0203@test-domain.com:message:received:content_jzm7sw0208] 2022-06-19 22:36:49 | [Mutex] waiting for: [user_regularbx6k4g0203@test-domain.com:message:received:content_jzm7sw0208] 2022-06-19 22:36:49 | [Mutex] waiting for: [user_regularbx6k4g0203@test-domain.com:message:received:content_jzm7sw0208] 2022-06-19 22:37:04 | [Mutex] timeout. Not received [user_regularbx6k4g0203@test-domain.com:message:received:content_jzm7sw0208] 2022-06-19 22:37:04 | [Mutex] received everything. 2022-06-19 22:37:04 | [Mutex] isItemNotified: user_regularbx6k4g0203@test-domain.com:message:received:content_jzm7sw0208 :: false 2022-06-19 22:37:04 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jzm7sw0208 :: true |