Test duration : 44.407s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.553s |
2022-06-25 23:20:19 |
2022-06-25 23:20:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-25 23:20:19 | ------------------------------------ 2022-06-25 23:20:19 | [Mutex] isItemNotified: node_9xrs8s0204:exists :: false 2022-06-25 23:20:19 | [Mutex] waiting for: [node_9xrs8s0204:create_node] 2022-06-25 23:20:19 | [Mutex] received everything. 2022-06-25 23:20:19 | [Mutex] isItemNotified: node_9xrs8s0204:create_node:success :: true 2022-06-25 23:20:19 | [Mutex] waiting for: [node_9xrs8s0204:subscribe_node] 2022-06-25 23:20:19 | [Mutex] received everything. 2022-06-25 23:20:19 | [Mutex] isItemNotified: node_9xrs8s0204:subscribe_node:success :: true 2022-06-25 23:20:19 | ===== publishing normal message (to online) 2022-06-25 23:20:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 23:20:19 | command: <data><node>node_9xrs8s0204</node><entry><content>content_eez6ei0205</content></entry></data> 2022-06-25 23:20:19 | target: http://localhost:8088 2022-06-25 23:20:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-25 23:20:19 | entity: <data><node>node_9xrs8s0204</node><entry><content>content_eez6ei0205</content></entry></data> 2022-06-25 23:20:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 06:20:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 23:20:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>46f4edd9-a4dd-4ff1-9588-56e0e0207c16</value></item-id></result> 2022-06-25 23:20:19 | contains: true 2022-06-25 23:20:19 | [Mutex] received everything. 2022-06-25 23:20:19 | [Mutex] isItemNotified: user_regularemj4n00203@test-domain.com:message:received:content_eez6ei0205 :: true 2022-06-25 23:20:19 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-25 23:20:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 23:20:19 | command: <data><node>node_9xrs8s0204</node><expire-at>2022-06-26T06:20:14Z</expire-at><entry><content>content_jp7phr0206</content></entry></data> 2022-06-25 23:20:19 | target: http://localhost:8088 2022-06-25 23:20:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-25 23:20:19 | entity: <data><node>node_9xrs8s0204</node><expire-at>2022-06-26T06:20:14Z</expire-at><entry><content>content_jp7phr0206</content></entry></data> 2022-06-25 23:20:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 06:20:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 23:20:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d7a20ca4-f860-4072-9ab9-a9c85fc36496</value></item-id></result> 2022-06-25 23:20:19 | contains: true 2022-06-25 23:20:19 | [Mutex] waiting for: [user_regularemj4n00203@test-domain.com:message:received:content_jp7phr0206] 2022-06-25 23:20:34 | [Mutex] timeout. Not received [user_regularemj4n00203@test-domain.com:message:received:content_jp7phr0206] 2022-06-25 23:20:34 | [Mutex] isItemNotified: user_regularemj4n00203@test-domain.com:message:received:content_jp7phr0206 :: false 2022-06-25 23:20:34 | ===== publishing normal message (to offline) 2022-06-25 23:20:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 23:20:34 | command: <data><node>node_9xrs8s0204</node><entry><content>content_gxn2qq0207</content></entry></data> 2022-06-25 23:20:34 | target: http://localhost:8088 2022-06-25 23:20:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-25 23:20:34 | entity: <data><node>node_9xrs8s0204</node><entry><content>content_gxn2qq0207</content></entry></data> 2022-06-25 23:20:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 06:20:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 23:20:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>656cd3ea-da28-4ea7-9a2c-5c31e9bff038</value></item-id></result> 2022-06-25 23:20:34 | contains: true 2022-06-25 23:20:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-25 23:20:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-25 23:20:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-25 23:20:39 | [Mutex] waiting for: [user_regularemj4n00203@test-domain.com:message:received:content_gxn2qq0207] 2022-06-25 23:20:39 | [Mutex] waiting for: [user_regularemj4n00203@test-domain.com:message:received:content_gxn2qq0207] 2022-06-25 23:20:39 | [Mutex] received everything. 2022-06-25 23:20:39 | [Mutex] isItemNotified: user_regularemj4n00203@test-domain.com:message:received:content_gxn2qq0207 :: true 2022-06-25 23:20:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-25 23:20:39 | [Mutex] received everything. 2022-06-25 23:20:39 | [Mutex] isItemNotified: node_9xrs8s0204:subscribe_node:success :: true 2022-06-25 23:20:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-25 23:20:39 | command: <data><node>node_9xrs8s0204</node><expire-at>2022-06-26T06:20:44Z</expire-at><entry><content>content_asffhq0208</content></entry></data> 2022-06-25 23:20:39 | target: http://localhost:8088 2022-06-25 23:20:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-25 23:20:39 | entity: <data><node>node_9xrs8s0204</node><expire-at>2022-06-26T06:20:44Z</expire-at><entry><content>content_asffhq0208</content></entry></data> 2022-06-25 23:20:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 26 Jun 2022 06:20:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-25 23:20:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>73a26053-7d0c-4138-aec9-30a7bf0363da</value></item-id></result> 2022-06-25 23:20:39 | contains: true 2022-06-25 23:20:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-25 23:20:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-25 23:20:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-25 23:20:47 | [Mutex] waiting for: [user_regularemj4n00203@test-domain.com:message:received:content_asffhq0208] 2022-06-25 23:21:02 | [Mutex] timeout. Not received [user_regularemj4n00203@test-domain.com:message:received:content_asffhq0208] 2022-06-25 23:21:02 | [Mutex] received everything. 2022-06-25 23:21:02 | [Mutex] isItemNotified: user_regularemj4n00203@test-domain.com:message:received:content_asffhq0208 :: false 2022-06-25 23:21:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_asffhq0208 :: true |