Test duration : 44.626s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.502s |
2022-10-25 04:58:42 |
2022-10-25 04:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-25 04:58:42 | ------------------------------------ 2022-10-25 04:58:42 | [Mutex] isItemNotified: node_e8py990204:exists :: false 2022-10-25 04:58:42 | [Mutex] waiting for: [node_e8py990204:create_node] 2022-10-25 04:58:42 | [Mutex] received everything. 2022-10-25 04:58:42 | [Mutex] isItemNotified: node_e8py990204:create_node:success :: true 2022-10-25 04:58:42 | [Mutex] waiting for: [node_e8py990204:subscribe_node] 2022-10-25 04:58:42 | [Mutex] waiting for: [node_e8py990204:subscribe_node] 2022-10-25 04:58:42 | [Mutex] received everything. 2022-10-25 04:58:42 | [Mutex] isItemNotified: node_e8py990204:subscribe_node:success :: true 2022-10-25 04:58:42 | ===== publishing normal message (to online) 2022-10-25 04:58:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-25 04:58:42 | command: <data><node>node_e8py990204</node><entry><content>content_ep25m00205</content></entry></data> 2022-10-25 04:58:42 | target: http://localhost:8088 2022-10-25 04:58:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-25 04:58:42 | entity: <data><node>node_e8py990204</node><entry><content>content_ep25m00205</content></entry></data> 2022-10-25 04:58:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:58:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-25 04:58:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>135954ff-3b2b-4349-b3e8-8e48c7f112e2</value></item-id></result> 2022-10-25 04:58:42 | contains: true 2022-10-25 04:58:42 | [Mutex] received everything. 2022-10-25 04:58:42 | [Mutex] isItemNotified: user_regular3v39dg0203@test-domain.com:message:received:content_ep25m00205 :: true 2022-10-25 04:58:42 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-25 04:58:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-25 04:58:42 | command: <data><node>node_e8py990204</node><expire-at>2022-10-25T11:58:37Z</expire-at><entry><content>content_9yl2qu0206</content></entry></data> 2022-10-25 04:58:42 | target: http://localhost:8088 2022-10-25 04:58:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-25 04:58:42 | entity: <data><node>node_e8py990204</node><expire-at>2022-10-25T11:58:37Z</expire-at><entry><content>content_9yl2qu0206</content></entry></data> 2022-10-25 04:58:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:58:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-25 04:58:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7a7cdfce-8666-4926-b683-4743867a02d5</value></item-id></result> 2022-10-25 04:58:42 | contains: true 2022-10-25 04:58:42 | [Mutex] waiting for: [user_regular3v39dg0203@test-domain.com:message:received:content_9yl2qu0206] 2022-10-25 04:58:57 | [Mutex] timeout. Not received [user_regular3v39dg0203@test-domain.com:message:received:content_9yl2qu0206] 2022-10-25 04:58:57 | [Mutex] isItemNotified: user_regular3v39dg0203@test-domain.com:message:received:content_9yl2qu0206 :: false 2022-10-25 04:58:57 | ===== publishing normal message (to offline) 2022-10-25 04:58:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-25 04:58:57 | command: <data><node>node_e8py990204</node><entry><content>content_1ne4dx0207</content></entry></data> 2022-10-25 04:58:57 | target: http://localhost:8088 2022-10-25 04:58:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-25 04:58:57 | entity: <data><node>node_e8py990204</node><entry><content>content_1ne4dx0207</content></entry></data> 2022-10-25 04:58:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:58:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-25 04:58:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3e868f4f-32e2-4be8-b10a-318d7877c82c</value></item-id></result> 2022-10-25 04:58:57 | contains: true 2022-10-25 04:59:02 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-25 04:59:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-25 04:59:02 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-25 04:59:02 | [Mutex] received everything. 2022-10-25 04:59:02 | [Mutex] isItemNotified: user_regular3v39dg0203@test-domain.com:message:received:content_1ne4dx0207 :: true 2022-10-25 04:59:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-25 04:59:02 | [Mutex] received everything. 2022-10-25 04:59:02 | [Mutex] isItemNotified: node_e8py990204:subscribe_node:success :: true 2022-10-25 04:59:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-25 04:59:02 | command: <data><node>node_e8py990204</node><expire-at>2022-10-25T11:59:07Z</expire-at><entry><content>content_s1f7mc0208</content></entry></data> 2022-10-25 04:59:02 | target: http://localhost:8088 2022-10-25 04:59:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-25 04:59:02 | entity: <data><node>node_e8py990204</node><expire-at>2022-10-25T11:59:07Z</expire-at><entry><content>content_s1f7mc0208</content></entry></data> 2022-10-25 04:59:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 25 Oct 2022 11:59:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-25 04:59:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2c5d0151-6c8b-43ae-9919-b29cdb9af205</value></item-id></result> 2022-10-25 04:59:02 | contains: true 2022-10-25 04:59:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-25 04:59:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-25 04:59:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-25 04:59:10 | [Mutex] waiting for: [user_regular3v39dg0203@test-domain.com:message:received:content_s1f7mc0208] 2022-10-25 04:59:25 | [Mutex] timeout. Not received [user_regular3v39dg0203@test-domain.com:message:received:content_s1f7mc0208] 2022-10-25 04:59:25 | [Mutex] received everything. 2022-10-25 04:59:25 | [Mutex] isItemNotified: user_regular3v39dg0203@test-domain.com:message:received:content_s1f7mc0208 :: false 2022-10-25 04:59:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_s1f7mc0208 :: true |