Test duration : 44.651s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.707s |
2023-02-01 22:02:03 |
2023-02-01 22:02:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-02-01 22:02:03 | ------------------------------------ 2023-02-01 22:02:03 | [Mutex] isItemNotified: node_etlfvr0204:exists :: false 2023-02-01 22:02:03 | [Mutex] waiting for: [node_etlfvr0204:create_node] 2023-02-01 22:02:03 | [Mutex] received everything. 2023-02-01 22:02:03 | [Mutex] isItemNotified: node_etlfvr0204:create_node:success :: true 2023-02-01 22:02:03 | [Mutex] waiting for: [node_etlfvr0204:subscribe_node] 2023-02-01 22:02:03 | [Mutex] waiting for: [node_etlfvr0204:subscribe_node] 2023-02-01 22:02:03 | [Mutex] received everything. 2023-02-01 22:02:03 | [Mutex] isItemNotified: node_etlfvr0204:subscribe_node:success :: true 2023-02-01 22:02:03 | ===== publishing normal message (to online) 2023-02-01 22:02:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 22:02:03 | command: <data><node>node_etlfvr0204</node><entry><content>content_nybaxg0205</content></entry></data> 2023-02-01 22:02:03 | target: http://localhost:8088 2023-02-01 22:02:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-01 22:02:03 | entity: <data><node>node_etlfvr0204</node><entry><content>content_nybaxg0205</content></entry></data> 2023-02-01 22:02:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 06:02:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 22:02:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d92b45af-3e6b-4e7f-9722-80b49cbf61ef</value></item-id></result> 2023-02-01 22:02:03 | contains: true 2023-02-01 22:02:03 | [Mutex] waiting for: [user_regulardxd40a0203@test-domain.com:message:received:content_nybaxg0205] 2023-02-01 22:02:03 | [Mutex] received everything. 2023-02-01 22:02:03 | [Mutex] isItemNotified: user_regulardxd40a0203@test-domain.com:message:received:content_nybaxg0205 :: true 2023-02-01 22:02:03 | ===== publishing already old message - expecting message being filtered out (to online) 2023-02-01 22:02:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 22:02:03 | command: <data><node>node_etlfvr0204</node><expire-at>2023-02-02T06:01:58Z</expire-at><entry><content>content_cg3ybp0206</content></entry></data> 2023-02-01 22:02:03 | target: http://localhost:8088 2023-02-01 22:02:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-01 22:02:03 | entity: <data><node>node_etlfvr0204</node><expire-at>2023-02-02T06:01:58Z</expire-at><entry><content>content_cg3ybp0206</content></entry></data> 2023-02-01 22:02:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 06:02:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 22:02:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0c5ccfda-f5a0-4d8e-b299-3c0be9313da4</value></item-id></result> 2023-02-01 22:02:03 | contains: true 2023-02-01 22:02:03 | [Mutex] waiting for: [user_regulardxd40a0203@test-domain.com:message:received:content_cg3ybp0206] 2023-02-01 22:02:18 | [Mutex] timeout. Not received [user_regulardxd40a0203@test-domain.com:message:received:content_cg3ybp0206] 2023-02-01 22:02:18 | [Mutex] isItemNotified: user_regulardxd40a0203@test-domain.com:message:received:content_cg3ybp0206 :: false 2023-02-01 22:02:18 | ===== publishing normal message (to offline) 2023-02-01 22:02:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 22:02:18 | command: <data><node>node_etlfvr0204</node><entry><content>content_qurqbe0207</content></entry></data> 2023-02-01 22:02:18 | target: http://localhost:8088 2023-02-01 22:02:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-02-01 22:02:18 | entity: <data><node>node_etlfvr0204</node><entry><content>content_qurqbe0207</content></entry></data> 2023-02-01 22:02:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 06:02:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 22:02:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ca309c4d-dce1-4740-8c40-ce986381a119</value></item-id></result> 2023-02-01 22:02:18 | contains: true 2023-02-01 22:02:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-01 22:02:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-02-01 22:02:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-01 22:02:24 | [Mutex] waiting for: [user_regulardxd40a0203@test-domain.com:message:received:content_qurqbe0207] 2023-02-01 22:02:24 | [Mutex] waiting for: [user_regulardxd40a0203@test-domain.com:message:received:content_qurqbe0207] 2023-02-01 22:02:24 | [Mutex] received everything. 2023-02-01 22:02:24 | [Mutex] isItemNotified: user_regulardxd40a0203@test-domain.com:message:received:content_qurqbe0207 :: true 2023-02-01 22:02:24 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-02-01 22:02:24 | [Mutex] received everything. 2023-02-01 22:02:24 | [Mutex] isItemNotified: node_etlfvr0204:subscribe_node:success :: true 2023-02-01 22:02:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-02-01 22:02:24 | command: <data><node>node_etlfvr0204</node><expire-at>2023-02-02T06:02:29Z</expire-at><entry><content>content_p6gll20208</content></entry></data> 2023-02-01 22:02:24 | target: http://localhost:8088 2023-02-01 22:02:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-02-01 22:02:24 | entity: <data><node>node_etlfvr0204</node><expire-at>2023-02-02T06:02:29Z</expire-at><entry><content>content_p6gll20208</content></entry></data> 2023-02-01 22:02:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Feb 2023 06:02:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-02-01 22:02:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b99b3796-e369-46f0-b1e9-3cca097c514a</value></item-id></result> 2023-02-01 22:02:24 | contains: true 2023-02-01 22:02:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-02-01 22:02:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-02-01 22:02:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-02-01 22:02:32 | [Mutex] waiting for: [user_regulardxd40a0203@test-domain.com:message:received:content_p6gll20208] 2023-02-01 22:02:32 | [Mutex] waiting for: [user_regulardxd40a0203@test-domain.com:message:received:content_p6gll20208] 2023-02-01 22:02:47 | [Mutex] timeout. Not received [user_regulardxd40a0203@test-domain.com:message:received:content_p6gll20208] 2023-02-01 22:02:47 | [Mutex] received everything. 2023-02-01 22:02:47 | [Mutex] isItemNotified: user_regulardxd40a0203@test-domain.com:message:received:content_p6gll20208 :: false 2023-02-01 22:02:47 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_p6gll20208 :: true |