Test duration : 44.896s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.532s |
2022-11-24 21:32:20 |
2022-11-24 21:32:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-24 21:32:20 | ------------------------------------ 2022-11-24 21:32:20 | [Mutex] isItemNotified: node_difunh0204:exists :: false 2022-11-24 21:32:20 | [Mutex] waiting for: [node_difunh0204:create_node] 2022-11-24 21:32:20 | [Mutex] received everything. 2022-11-24 21:32:20 | [Mutex] isItemNotified: node_difunh0204:create_node:success :: true 2022-11-24 21:32:20 | [Mutex] waiting for: [node_difunh0204:subscribe_node] 2022-11-24 21:32:20 | [Mutex] waiting for: [node_difunh0204:subscribe_node] 2022-11-24 21:32:20 | [Mutex] received everything. 2022-11-24 21:32:20 | [Mutex] isItemNotified: node_difunh0204:subscribe_node:success :: true 2022-11-24 21:32:20 | ===== publishing normal message (to online) 2022-11-24 21:32:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:32:20 | command: <data><node>node_difunh0204</node><entry><content>content_d6lr6b0205</content></entry></data> 2022-11-24 21:32:20 | target: http://localhost:8088 2022-11-24 21:32:20 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 21:32:20 | entity: <data><node>node_difunh0204</node><entry><content>content_d6lr6b0205</content></entry></data> 2022-11-24 21:32:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:32:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:32:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8fd45c49-1dfb-414a-b33c-a85b59fe9181</value></item-id></result> 2022-11-24 21:32:20 | contains: true 2022-11-24 21:32:20 | [Mutex] received everything. 2022-11-24 21:32:20 | [Mutex] isItemNotified: user_regularn29fp70203@test-domain.com:message:received:content_d6lr6b0205 :: true 2022-11-24 21:32:20 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-24 21:32:20 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:32:20 | command: <data><node>node_difunh0204</node><expire-at>2022-11-25T05:32:15Z</expire-at><entry><content>content_bntp8r0206</content></entry></data> 2022-11-24 21:32:20 | target: http://localhost:8088 2022-11-24 21:32:20 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-24 21:32:20 | entity: <data><node>node_difunh0204</node><expire-at>2022-11-25T05:32:15Z</expire-at><entry><content>content_bntp8r0206</content></entry></data> 2022-11-24 21:32:20 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:32:20 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:32:20 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7c082b59-241e-49aa-bf45-15773860b5cc</value></item-id></result> 2022-11-24 21:32:20 | contains: true 2022-11-24 21:32:20 | [Mutex] waiting for: [user_regularn29fp70203@test-domain.com:message:received:content_bntp8r0206] 2022-11-24 21:32:35 | [Mutex] timeout. Not received [user_regularn29fp70203@test-domain.com:message:received:content_bntp8r0206] 2022-11-24 21:32:35 | [Mutex] isItemNotified: user_regularn29fp70203@test-domain.com:message:received:content_bntp8r0206 :: false 2022-11-24 21:32:35 | ===== publishing normal message (to offline) 2022-11-24 21:32:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:32:35 | command: <data><node>node_difunh0204</node><entry><content>content_6t2eob0207</content></entry></data> 2022-11-24 21:32:35 | target: http://localhost:8088 2022-11-24 21:32:35 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-24 21:32:35 | entity: <data><node>node_difunh0204</node><entry><content>content_6t2eob0207</content></entry></data> 2022-11-24 21:32:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:32:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:32:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a7bf1c65-dc3e-4f0c-afae-a2e1995634e4</value></item-id></result> 2022-11-24 21:32:35 | contains: true 2022-11-24 21:32:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 21:32:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 21:32:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 21:32:40 | [Mutex] waiting for: [user_regularn29fp70203@test-domain.com:message:received:content_6t2eob0207] 2022-11-24 21:32:40 | [Mutex] waiting for: [user_regularn29fp70203@test-domain.com:message:received:content_6t2eob0207] 2022-11-24 21:32:40 | [Mutex] received everything. 2022-11-24 21:32:40 | [Mutex] isItemNotified: user_regularn29fp70203@test-domain.com:message:received:content_6t2eob0207 :: true 2022-11-24 21:32:40 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-24 21:32:40 | [Mutex] received everything. 2022-11-24 21:32:40 | [Mutex] isItemNotified: node_difunh0204:subscribe_node:success :: true 2022-11-24 21:32:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-24 21:32:40 | command: <data><node>node_difunh0204</node><expire-at>2022-11-25T05:32:45Z</expire-at><entry><content>content_mpx1x90208</content></entry></data> 2022-11-24 21:32:40 | target: http://localhost:8088 2022-11-24 21:32:40 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-24 21:32:40 | entity: <data><node>node_difunh0204</node><expire-at>2022-11-25T05:32:45Z</expire-at><entry><content>content_mpx1x90208</content></entry></data> 2022-11-24 21:32:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 25 Nov 2022 05:32:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-24 21:32:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>93f44df6-e95f-439d-b580-c2312d4c13f1</value></item-id></result> 2022-11-24 21:32:40 | contains: true 2022-11-24 21:32:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-24 21:32:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-24 21:32:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-24 21:32:48 | [Mutex] waiting for: [user_regularn29fp70203@test-domain.com:message:received:content_mpx1x90208] 2022-11-24 21:32:48 | [Mutex] waiting for: [user_regularn29fp70203@test-domain.com:message:received:content_mpx1x90208] 2022-11-24 21:32:48 | [Mutex] waiting for: [user_regularn29fp70203@test-domain.com:message:received:content_mpx1x90208] 2022-11-24 21:33:03 | [Mutex] timeout. Not received [user_regularn29fp70203@test-domain.com:message:received:content_mpx1x90208] 2022-11-24 21:33:03 | [Mutex] received everything. 2022-11-24 21:33:03 | [Mutex] isItemNotified: user_regularn29fp70203@test-domain.com:message:received:content_mpx1x90208 :: false 2022-11-24 21:33:03 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_mpx1x90208 :: true |