Test duration : 44.768s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.642s |
2022-06-25 23:00:43 |
2022-06-25 23:00:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-25 23:00:43 | ------------------------------------ 2022-06-25 23:00:43 | [Mutex] isItemNotified: node_c4j4um0204:exists :: false 2022-06-25 23:00:43 | [Mutex] waiting for: [node_c4j4um0204:create_node] 2022-06-25 23:00:43 | [Mutex] received everything. 2022-06-25 23:00:43 | [Mutex] isItemNotified: node_c4j4um0204:create_node:success :: true 2022-06-25 23:00:43 | [Mutex] waiting for: [node_c4j4um0204:subscribe_node] 2022-06-25 23:00:43 | [Mutex] waiting for: [node_c4j4um0204:subscribe_node] 2022-06-25 23:00:43 | [Mutex] received everything. 2022-06-25 23:00:43 | [Mutex] isItemNotified: node_c4j4um0204:subscribe_node:success :: true 2022-06-25 23:00:43 | ===== publishing normal message (to online) 2022-06-25 23:00:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 23:00:43 | command: <data><node>node_c4j4um0204</node><entry><content>content_md5hju0205</content></entry></data> 2022-06-25 23:00:43 | target: http://localhost:8088 2022-06-25 23:00:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-25 23:00:43 | entity: <data><node>node_c4j4um0204</node><entry><content>content_md5hju0205</content></entry></data> 2022-06-25 23:00:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 06:00:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 23:00:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>44bbcc99-d6d2-45c6-93e3-8796cd0072c7</value></item-id></result> 2022-06-25 23:00:43 | contains: true 2022-06-25 23:00:44 | [Mutex] waiting for: [user_regular7dhigo0203@test-domain.com:message:received:content_md5hju0205] 2022-06-25 23:00:44 | [Mutex] received everything. 2022-06-25 23:00:44 | [Mutex] isItemNotified: user_regular7dhigo0203@test-domain.com:message:received:content_md5hju0205 :: true 2022-06-25 23:00:44 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-25 23:00:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 23:00:44 | command: <data><node>node_c4j4um0204</node><expire-at>2022-06-26T06:00:39Z</expire-at><entry><content>content_9i7g920206</content></entry></data> 2022-06-25 23:00:44 | target: http://localhost:8088 2022-06-25 23:00:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-25 23:00:44 | entity: <data><node>node_c4j4um0204</node><expire-at>2022-06-26T06:00:39Z</expire-at><entry><content>content_9i7g920206</content></entry></data> 2022-06-25 23:00:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 06:00:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 23:00:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a4f6b0bd-54c9-4800-951d-5ed33d60f35d</value></item-id></result> 2022-06-25 23:00:44 | contains: true 2022-06-25 23:00:44 | [Mutex] waiting for: [user_regular7dhigo0203@test-domain.com:message:received:content_9i7g920206] 2022-06-25 23:00:59 | [Mutex] timeout. Not received [user_regular7dhigo0203@test-domain.com:message:received:content_9i7g920206] 2022-06-25 23:00:59 | [Mutex] isItemNotified: user_regular7dhigo0203@test-domain.com:message:received:content_9i7g920206 :: false 2022-06-25 23:00:59 | ===== publishing normal message (to offline) 2022-06-25 23:00:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 23:00:59 | command: <data><node>node_c4j4um0204</node><entry><content>content_5hbq6l0207</content></entry></data> 2022-06-25 23:00:59 | target: http://localhost:8088 2022-06-25 23:00:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-25 23:00:59 | entity: <data><node>node_c4j4um0204</node><entry><content>content_5hbq6l0207</content></entry></data> 2022-06-25 23:00:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 06:00:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 23:00:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>14ba0813-38be-4991-8fdb-bfc9f74bb272</value></item-id></result> 2022-06-25 23:00:59 | contains: true 2022-06-25 23:01:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-25 23:01:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-25 23:01:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-25 23:01:04 | [Mutex] waiting for: [user_regular7dhigo0203@test-domain.com:message:received:content_5hbq6l0207] 2022-06-25 23:01:04 | [Mutex] waiting for: [user_regular7dhigo0203@test-domain.com:message:received:content_5hbq6l0207] 2022-06-25 23:01:04 | [Mutex] received everything. 2022-06-25 23:01:04 | [Mutex] isItemNotified: user_regular7dhigo0203@test-domain.com:message:received:content_5hbq6l0207 :: true 2022-06-25 23:01:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-25 23:01:04 | [Mutex] received everything. 2022-06-25 23:01:04 | [Mutex] isItemNotified: node_c4j4um0204:subscribe_node:success :: true 2022-06-25 23:01:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 23:01:04 | command: <data><node>node_c4j4um0204</node><expire-at>2022-06-26T06:01:09Z</expire-at><entry><content>content_ze7d7f0208</content></entry></data> 2022-06-25 23:01:04 | target: http://localhost:8088 2022-06-25 23:01:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-25 23:01:04 | entity: <data><node>node_c4j4um0204</node><expire-at>2022-06-26T06:01:09Z</expire-at><entry><content>content_ze7d7f0208</content></entry></data> 2022-06-25 23:01:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 06:01:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 23:01:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b48d2e67-53e9-4e00-8b20-07d683a188a8</value></item-id></result> 2022-06-25 23:01:04 | contains: true 2022-06-25 23:01:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-25 23:01:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-25 23:01:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-25 23:01:12 | [Mutex] waiting for: [user_regular7dhigo0203@test-domain.com:message:received:content_ze7d7f0208] 2022-06-25 23:01:12 | [Mutex] waiting for: [user_regular7dhigo0203@test-domain.com:message:received:content_ze7d7f0208] 2022-06-25 23:01:27 | [Mutex] timeout. Not received [user_regular7dhigo0203@test-domain.com:message:received:content_ze7d7f0208] 2022-06-25 23:01:27 | [Mutex] received everything. 2022-06-25 23:01:27 | [Mutex] isItemNotified: user_regular7dhigo0203@test-domain.com:message:received:content_ze7d7f0208 :: false 2022-06-25 23:01:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ze7d7f0208 :: true |