Test duration : 44.584s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.657s |
2022-06-29 22:33:48 |
2022-06-29 22:33:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-29 22:33:48 | ------------------------------------ 2022-06-29 22:33:48 | [Mutex] isItemNotified: node_x2c41a0204:exists :: false 2022-06-29 22:33:48 | [Mutex] waiting for: [node_x2c41a0204:create_node] 2022-06-29 22:33:48 | [Mutex] waiting for: [node_x2c41a0204:create_node] 2022-06-29 22:33:48 | [Mutex] received everything. 2022-06-29 22:33:48 | [Mutex] isItemNotified: node_x2c41a0204:create_node:success :: true 2022-06-29 22:33:48 | [Mutex] waiting for: [node_x2c41a0204:subscribe_node] 2022-06-29 22:33:48 | [Mutex] waiting for: [node_x2c41a0204:subscribe_node] 2022-06-29 22:33:48 | [Mutex] received everything. 2022-06-29 22:33:48 | [Mutex] isItemNotified: node_x2c41a0204:subscribe_node:success :: true 2022-06-29 22:33:48 | ===== publishing normal message (to online) 2022-06-29 22:33:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 22:33:48 | command: <data><node>node_x2c41a0204</node><entry><content>content_cip6f50205</content></entry></data> 2022-06-29 22:33:48 | target: http://localhost:8088 2022-06-29 22:33:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-29 22:33:48 | entity: <data><node>node_x2c41a0204</node><entry><content>content_cip6f50205</content></entry></data> 2022-06-29 22:33:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:33:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 22:33:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>db3589ea-ddaf-4054-9a78-9a5dd7e0f6b7</value></item-id></result> 2022-06-29 22:33:48 | contains: true 2022-06-29 22:33:48 | [Mutex] received everything. 2022-06-29 22:33:48 | [Mutex] isItemNotified: user_regular1lekrp0203@test-domain.com:message:received:content_cip6f50205 :: true 2022-06-29 22:33:48 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-29 22:33:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 22:33:48 | command: <data><node>node_x2c41a0204</node><expire-at>2022-06-30T05:33:43Z</expire-at><entry><content>content_5hk6fg0206</content></entry></data> 2022-06-29 22:33:48 | target: http://localhost:8088 2022-06-29 22:33:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-29 22:33:48 | entity: <data><node>node_x2c41a0204</node><expire-at>2022-06-30T05:33:43Z</expire-at><entry><content>content_5hk6fg0206</content></entry></data> 2022-06-29 22:33:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:33:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 22:33:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6d8d31fe-3b38-40ff-b4d9-a240726da12f</value></item-id></result> 2022-06-29 22:33:49 | contains: true 2022-06-29 22:33:49 | [Mutex] waiting for: [user_regular1lekrp0203@test-domain.com:message:received:content_5hk6fg0206] 2022-06-29 22:34:04 | [Mutex] timeout. Not received [user_regular1lekrp0203@test-domain.com:message:received:content_5hk6fg0206] 2022-06-29 22:34:04 | [Mutex] isItemNotified: user_regular1lekrp0203@test-domain.com:message:received:content_5hk6fg0206 :: false 2022-06-29 22:34:04 | ===== publishing normal message (to offline) 2022-06-29 22:34:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 22:34:04 | command: <data><node>node_x2c41a0204</node><entry><content>content_n2c0l30207</content></entry></data> 2022-06-29 22:34:04 | target: http://localhost:8088 2022-06-29 22:34:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-29 22:34:04 | entity: <data><node>node_x2c41a0204</node><entry><content>content_n2c0l30207</content></entry></data> 2022-06-29 22:34:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:34:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 22:34:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>549c70d3-a5c2-441a-8564-61179c69db0a</value></item-id></result> 2022-06-29 22:34:04 | contains: true 2022-06-29 22:34:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-29 22:34:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-29 22:34:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-29 22:34:09 | [Mutex] waiting for: [user_regular1lekrp0203@test-domain.com:message:received:content_n2c0l30207] 2022-06-29 22:34:09 | [Mutex] waiting for: [user_regular1lekrp0203@test-domain.com:message:received:content_n2c0l30207] 2022-06-29 22:34:09 | [Mutex] received everything. 2022-06-29 22:34:09 | [Mutex] isItemNotified: user_regular1lekrp0203@test-domain.com:message:received:content_n2c0l30207 :: true 2022-06-29 22:34:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-29 22:34:09 | [Mutex] received everything. 2022-06-29 22:34:09 | [Mutex] isItemNotified: node_x2c41a0204:subscribe_node:success :: true 2022-06-29 22:34:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 22:34:09 | command: <data><node>node_x2c41a0204</node><expire-at>2022-06-30T05:34:14Z</expire-at><entry><content>content_bjswt80208</content></entry></data> 2022-06-29 22:34:09 | target: http://localhost:8088 2022-06-29 22:34:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-29 22:34:09 | entity: <data><node>node_x2c41a0204</node><expire-at>2022-06-30T05:34:14Z</expire-at><entry><content>content_bjswt80208</content></entry></data> 2022-06-29 22:34:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:34:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 22:34:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f1ca451c-e0af-48fe-ab4e-5ef1f925599e</value></item-id></result> 2022-06-29 22:34:09 | contains: true 2022-06-29 22:34:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-29 22:34:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-29 22:34:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-29 22:34:17 | [Mutex] waiting for: [user_regular1lekrp0203@test-domain.com:message:received:content_bjswt80208] 2022-06-29 22:34:32 | [Mutex] timeout. Not received [user_regular1lekrp0203@test-domain.com:message:received:content_bjswt80208] 2022-06-29 22:34:32 | [Mutex] received everything. 2022-06-29 22:34:32 | [Mutex] isItemNotified: user_regular1lekrp0203@test-domain.com:message:received:content_bjswt80208 :: false 2022-06-29 22:34:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bjswt80208 :: true |