Test duration : 44.696s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.565s |
2023-03-17 22:59:55 |
2023-03-17 22:59:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-17 22:59:55 | ------------------------------------ 2023-03-17 22:59:55 | [Mutex] isItemNotified: node_w4fddm0208:exists :: false 2023-03-17 22:59:55 | [Mutex] waiting for: [node_w4fddm0208:create_node] 2023-03-17 22:59:55 | [Mutex] waiting for: [node_w4fddm0208:create_node] 2023-03-17 22:59:55 | [Mutex] received everything. 2023-03-17 22:59:55 | [Mutex] isItemNotified: node_w4fddm0208:create_node:success :: true 2023-03-17 22:59:55 | [Mutex] waiting for: [node_w4fddm0208:subscribe_node] 2023-03-17 22:59:55 | [Mutex] waiting for: [node_w4fddm0208:subscribe_node] 2023-03-17 22:59:55 | [Mutex] received everything. 2023-03-17 22:59:55 | [Mutex] isItemNotified: node_w4fddm0208:subscribe_node:success :: true 2023-03-17 22:59:55 | ===== publishing normal message (to online) 2023-03-17 22:59:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:59:55 | command: <data><node>node_w4fddm0208</node><entry><content>content_vi1n330209</content></entry></data> 2023-03-17 22:59:55 | target: http://localhost:8088 2023-03-17 22:59:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-17 22:59:55 | entity: <data><node>node_w4fddm0208</node><entry><content>content_vi1n330209</content></entry></data> 2023-03-17 22:59:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:59:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:59:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4cab6c4b-d560-42ef-88f0-290a5593e51b</value></item-id></result> 2023-03-17 22:59:55 | contains: true 2023-03-17 22:59:55 | [Mutex] waiting for: [user_regular1llcy30207@test-domain.com:message:received:content_vi1n330209] 2023-03-17 22:59:55 | [Mutex] received everything. 2023-03-17 22:59:55 | [Mutex] isItemNotified: user_regular1llcy30207@test-domain.com:message:received:content_vi1n330209 :: true 2023-03-17 22:59:55 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-17 22:59:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 22:59:55 | command: <data><node>node_w4fddm0208</node><expire-at>2023-03-18T05:59:50Z</expire-at><entry><content>content_ae99xx0210</content></entry></data> 2023-03-17 22:59:55 | target: http://localhost:8088 2023-03-17 22:59:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-17 22:59:55 | entity: <data><node>node_w4fddm0208</node><expire-at>2023-03-18T05:59:50Z</expire-at><entry><content>content_ae99xx0210</content></entry></data> 2023-03-17 22:59:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 05:59:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 22:59:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e3d33ca4-944c-48c2-b93a-d32db1b69034</value></item-id></result> 2023-03-17 22:59:55 | contains: true 2023-03-17 22:59:55 | [Mutex] waiting for: [user_regular1llcy30207@test-domain.com:message:received:content_ae99xx0210] 2023-03-17 23:00:10 | [Mutex] timeout. Not received [user_regular1llcy30207@test-domain.com:message:received:content_ae99xx0210] 2023-03-17 23:00:10 | [Mutex] isItemNotified: user_regular1llcy30207@test-domain.com:message:received:content_ae99xx0210 :: false 2023-03-17 23:00:10 | ===== publishing normal message (to offline) 2023-03-17 23:00:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 23:00:10 | command: <data><node>node_w4fddm0208</node><entry><content>content_mafpur0211</content></entry></data> 2023-03-17 23:00:10 | target: http://localhost:8088 2023-03-17 23:00:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-17 23:00:10 | entity: <data><node>node_w4fddm0208</node><entry><content>content_mafpur0211</content></entry></data> 2023-03-17 23:00:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 06:00:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 23:00:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dbf140b9-3fb4-4539-8269-a4e629b04b6d</value></item-id></result> 2023-03-17 23:00:10 | contains: true 2023-03-17 23:00:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-17 23:00:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-17 23:00:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-17 23:00:15 | [Mutex] waiting for: [user_regular1llcy30207@test-domain.com:message:received:content_mafpur0211] 2023-03-17 23:00:15 | [Mutex] waiting for: [user_regular1llcy30207@test-domain.com:message:received:content_mafpur0211] 2023-03-17 23:00:15 | [Mutex] received everything. 2023-03-17 23:00:15 | [Mutex] isItemNotified: user_regular1llcy30207@test-domain.com:message:received:content_mafpur0211 :: true 2023-03-17 23:00:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-17 23:00:15 | [Mutex] received everything. 2023-03-17 23:00:15 | [Mutex] isItemNotified: node_w4fddm0208:subscribe_node:success :: true 2023-03-17 23:00:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-17 23:00:15 | command: <data><node>node_w4fddm0208</node><expire-at>2023-03-18T06:00:20Z</expire-at><entry><content>content_s5u3ku0212</content></entry></data> 2023-03-17 23:00:15 | target: http://localhost:8088 2023-03-17 23:00:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-17 23:00:15 | entity: <data><node>node_w4fddm0208</node><expire-at>2023-03-18T06:00:20Z</expire-at><entry><content>content_s5u3ku0212</content></entry></data> 2023-03-17 23:00:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 18 Mar 2023 06:00:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-17 23:00:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c7d32c87-0da6-44c2-a343-8b5234d5f747</value></item-id></result> 2023-03-17 23:00:15 | contains: true 2023-03-17 23:00:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-17 23:00:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-17 23:00:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-17 23:00:23 | [Mutex] waiting for: [user_regular1llcy30207@test-domain.com:message:received:content_s5u3ku0212] 2023-03-17 23:00:23 | [Mutex] waiting for: [user_regular1llcy30207@test-domain.com:message:received:content_s5u3ku0212] 2023-03-17 23:00:23 | [Mutex] waiting for: [user_regular1llcy30207@test-domain.com:message:received:content_s5u3ku0212] 2023-03-17 23:00:38 | [Mutex] timeout. Not received [user_regular1llcy30207@test-domain.com:message:received:content_s5u3ku0212] 2023-03-17 23:00:38 | [Mutex] received everything. 2023-03-17 23:00:38 | [Mutex] isItemNotified: user_regular1llcy30207@test-domain.com:message:received:content_s5u3ku0212 :: false 2023-03-17 23:00:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s5u3ku0212 :: true |