Test duration : 44.436s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.614s |
2023-02-15 21:30:43 |
2023-02-15 21:30:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-15 21:30:43 | ------------------------------------ 2023-02-15 21:30:43 | [Mutex] isItemNotified: node_vr1s700204:exists :: false 2023-02-15 21:30:43 | [Mutex] waiting for: [node_vr1s700204:create_node] 2023-02-15 21:30:43 | [Mutex] received everything. 2023-02-15 21:30:43 | [Mutex] isItemNotified: node_vr1s700204:create_node:success :: true 2023-02-15 21:30:43 | [Mutex] waiting for: [node_vr1s700204:subscribe_node] 2023-02-15 21:30:43 | [Mutex] waiting for: [node_vr1s700204:subscribe_node] 2023-02-15 21:30:43 | [Mutex] received everything. 2023-02-15 21:30:43 | [Mutex] isItemNotified: node_vr1s700204:subscribe_node:success :: true 2023-02-15 21:30:43 | ===== publishing normal message (to online) 2023-02-15 21:30:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-15 21:30:43 | command: <data><node>node_vr1s700204</node><entry><content>content_sgvxt80205</content></entry></data> 2023-02-15 21:30:43 | target: http://localhost:8088 2023-02-15 21:30:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-15 21:30:43 | entity: <data><node>node_vr1s700204</node><entry><content>content_sgvxt80205</content></entry></data> 2023-02-15 21:30:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:30:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-15 21:30:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>97f521a2-5846-4527-9fa5-7f0ba03ac31e</value></item-id></result> 2023-02-15 21:30:43 | contains: true 2023-02-15 21:30:43 | [Mutex] received everything. 2023-02-15 21:30:43 | [Mutex] isItemNotified: user_regularkbmvcr0203@test-domain.com:message:received:content_sgvxt80205 :: true 2023-02-15 21:30:43 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-15 21:30:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-15 21:30:43 | command: <data><node>node_vr1s700204</node><expire-at>2023-02-16T05:30:38Z</expire-at><entry><content>content_lbp0f40206</content></entry></data> 2023-02-15 21:30:43 | target: http://localhost:8088 2023-02-15 21:30:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-15 21:30:43 | entity: <data><node>node_vr1s700204</node><expire-at>2023-02-16T05:30:38Z</expire-at><entry><content>content_lbp0f40206</content></entry></data> 2023-02-15 21:30:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:30:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-15 21:30:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2e92ff44-699c-40d4-b4fa-f19acbfbe220</value></item-id></result> 2023-02-15 21:30:44 | contains: true 2023-02-15 21:30:44 | [Mutex] waiting for: [user_regularkbmvcr0203@test-domain.com:message:received:content_lbp0f40206] 2023-02-15 21:30:59 | [Mutex] timeout. Not received [user_regularkbmvcr0203@test-domain.com:message:received:content_lbp0f40206] 2023-02-15 21:30:59 | [Mutex] isItemNotified: user_regularkbmvcr0203@test-domain.com:message:received:content_lbp0f40206 :: false 2023-02-15 21:30:59 | ===== publishing normal message (to offline) 2023-02-15 21:30:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-15 21:30:59 | command: <data><node>node_vr1s700204</node><entry><content>content_6jl80n0207</content></entry></data> 2023-02-15 21:30:59 | target: http://localhost:8088 2023-02-15 21:30:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-15 21:30:59 | entity: <data><node>node_vr1s700204</node><entry><content>content_6jl80n0207</content></entry></data> 2023-02-15 21:30:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:30:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-15 21:30:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>662bad6c-acea-4e41-b0b4-fbd9e7ab316f</value></item-id></result> 2023-02-15 21:30:59 | contains: true 2023-02-15 21:31:04 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-15 21:31:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-15 21:31:04 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-15 21:31:04 | [Mutex] waiting for: [user_regularkbmvcr0203@test-domain.com:message:received:content_6jl80n0207] 2023-02-15 21:31:04 | [Mutex] received everything. 2023-02-15 21:31:04 | [Mutex] isItemNotified: user_regularkbmvcr0203@test-domain.com:message:received:content_6jl80n0207 :: true 2023-02-15 21:31:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-15 21:31:04 | [Mutex] received everything. 2023-02-15 21:31:04 | [Mutex] isItemNotified: node_vr1s700204:subscribe_node:success :: true 2023-02-15 21:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-15 21:31:04 | command: <data><node>node_vr1s700204</node><expire-at>2023-02-16T05:31:09Z</expire-at><entry><content>content_eaah6x0208</content></entry></data> 2023-02-15 21:31:04 | target: http://localhost:8088 2023-02-15 21:31:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-15 21:31:04 | entity: <data><node>node_vr1s700204</node><expire-at>2023-02-16T05:31:09Z</expire-at><entry><content>content_eaah6x0208</content></entry></data> 2023-02-15 21:31:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 16 Feb 2023 05:31:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-15 21:31:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>853a7b68-e1cc-44dd-a125-1e67cfbf6db7</value></item-id></result> 2023-02-15 21:31:04 | contains: true 2023-02-15 21:31:12 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-15 21:31:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-15 21:31:12 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-15 21:31:12 | [Mutex] waiting for: [user_regularkbmvcr0203@test-domain.com:message:received:content_eaah6x0208] 2023-02-15 21:31:27 | [Mutex] timeout. Not received [user_regularkbmvcr0203@test-domain.com:message:received:content_eaah6x0208] 2023-02-15 21:31:27 | [Mutex] received everything. 2023-02-15 21:31:27 | [Mutex] isItemNotified: user_regularkbmvcr0203@test-domain.com:message:received:content_eaah6x0208 :: false 2023-02-15 21:31:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_eaah6x0208 :: true |