Test duration : 45.107s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.682s |
2022-03-24 22:34:22 |
2022-03-24 22:34:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-03-24 22:34:22 | ------------------------------------ 2022-03-24 22:34:22 | [Mutex] isItemNotified: node_7qhkx70202:exists :: false 2022-03-24 22:34:22 | [Mutex] waiting for: [node_7qhkx70202:create_node] 2022-03-24 22:34:22 | [Mutex] received everything. 2022-03-24 22:34:22 | [Mutex] isItemNotified: node_7qhkx70202:create_node:success :: true 2022-03-24 22:34:22 | [Mutex] waiting for: [node_7qhkx70202:subscribe_node] 2022-03-24 22:34:22 | [Mutex] received everything. 2022-03-24 22:34:22 | [Mutex] isItemNotified: node_7qhkx70202:subscribe_node:success :: true 2022-03-24 22:34:22 | ===== publishing normal message (to online) 2022-03-24 22:34:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-24 22:34:22 | command: <data><node>node_7qhkx70202</node><entry><content>content_8s8xu10203</content></entry></data> 2022-03-24 22:34:22 | target: http://localhost:8088 2022-03-24 22:34:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-24 22:34:22 | entity: <data><node>node_7qhkx70202</node><entry><content>content_8s8xu10203</content></entry></data> 2022-03-24 22:34:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 05:34:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-24 22:34:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7f023161-a37d-4d33-a059-73b36f6b7270</value></item-id></result> 2022-03-24 22:34:22 | contains: true 2022-03-24 22:34:22 | [Mutex] received everything. 2022-03-24 22:34:22 | [Mutex] isItemNotified: user_regular9uph5e0201@test-domain.com:message:received:content_8s8xu10203 :: true 2022-03-24 22:34:22 | ===== publishing already old message - expecting message being filtered out (to online) 2022-03-24 22:34:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-24 22:34:22 | command: <data><node>node_7qhkx70202</node><expire-at>2022-03-25T05:34:17Z</expire-at><entry><content>content_t2b3oi0204</content></entry></data> 2022-03-24 22:34:22 | target: http://localhost:8088 2022-03-24 22:34:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-24 22:34:22 | entity: <data><node>node_7qhkx70202</node><expire-at>2022-03-25T05:34:17Z</expire-at><entry><content>content_t2b3oi0204</content></entry></data> 2022-03-24 22:34:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 05:34:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-24 22:34:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>49417e46-95e1-4a4e-b8db-bad31f502d9f</value></item-id></result> 2022-03-24 22:34:22 | contains: true 2022-03-24 22:34:22 | [Mutex] waiting for: [user_regular9uph5e0201@test-domain.com:message:received:content_t2b3oi0204] 2022-03-24 22:34:37 | [Mutex] timeout. Not received [user_regular9uph5e0201@test-domain.com:message:received:content_t2b3oi0204] 2022-03-24 22:34:37 | [Mutex] isItemNotified: user_regular9uph5e0201@test-domain.com:message:received:content_t2b3oi0204 :: false 2022-03-24 22:34:37 | ===== publishing normal message (to offline) 2022-03-24 22:34:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-24 22:34:37 | command: <data><node>node_7qhkx70202</node><entry><content>content_kl37bl0205</content></entry></data> 2022-03-24 22:34:37 | target: http://localhost:8088 2022-03-24 22:34:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-24 22:34:37 | entity: <data><node>node_7qhkx70202</node><entry><content>content_kl37bl0205</content></entry></data> 2022-03-24 22:34:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 05:34:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-24 22:34:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5cca9863-7097-4ed2-8288-5e71a7862ae3</value></item-id></result> 2022-03-24 22:34:37 | contains: true 2022-03-24 22:34:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-03-24 22:34:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] DNS entry stored in session object: localhost:5222 2022-03-24 22:34:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-03-24 22:34:42 | [Mutex] waiting for: [user_regular9uph5e0201@test-domain.com:message:received:content_kl37bl0205] 2022-03-24 22:34:42 | [Mutex] waiting for: [user_regular9uph5e0201@test-domain.com:message:received:content_kl37bl0205] 2022-03-24 22:34:42 | [Mutex] received everything. 2022-03-24 22:34:42 | [Mutex] isItemNotified: user_regular9uph5e0201@test-domain.com:message:received:content_kl37bl0205 :: true 2022-03-24 22:34:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-03-24 22:34:42 | [Mutex] received everything. 2022-03-24 22:34:42 | [Mutex] isItemNotified: node_7qhkx70202:subscribe_node:success :: true 2022-03-24 22:34:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-24 22:34:43 | command: <data><node>node_7qhkx70202</node><expire-at>2022-03-25T05:34:48Z</expire-at><entry><content>content_lhprx50206</content></entry></data> 2022-03-24 22:34:43 | target: http://localhost:8088 2022-03-24 22:34:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-24 22:34:43 | entity: <data><node>node_7qhkx70202</node><expire-at>2022-03-25T05:34:48Z</expire-at><entry><content>content_lhprx50206</content></entry></data> 2022-03-24 22:34:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Mar 2022 05:34:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-24 22:34:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c6870800-94a5-4495-a712-31c7c4181a40</value></item-id></result> 2022-03-24 22:34:43 | contains: true 2022-03-24 22:34:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-03-24 22:34:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222 2022-03-24 22:34:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-03-24 22:34:51 | [Mutex] waiting for: [user_regular9uph5e0201@test-domain.com:message:received:content_lhprx50206] 2022-03-24 22:34:51 | [Mutex] waiting for: [user_regular9uph5e0201@test-domain.com:message:received:content_lhprx50206] 2022-03-24 22:35:06 | [Mutex] timeout. Not received [user_regular9uph5e0201@test-domain.com:message:received:content_lhprx50206] 2022-03-24 22:35:06 | [Mutex] received everything. 2022-03-24 22:35:06 | [Mutex] isItemNotified: user_regular9uph5e0201@test-domain.com:message:received:content_lhprx50206 :: false 2022-03-24 22:35:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_lhprx50206 :: true |