Test duration : 44.530s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.716s |
2023-03-26 22:30:44 |
2023-03-26 22:30:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-26 22:30:44 | ------------------------------------ 2023-03-26 22:30:44 | [Mutex] isItemNotified: node_psbhms0208:exists :: false 2023-03-26 22:30:44 | [Mutex] waiting for: [node_psbhms0208:create_node] 2023-03-26 22:30:44 | [Mutex] received everything. 2023-03-26 22:30:44 | [Mutex] isItemNotified: node_psbhms0208:create_node:success :: true 2023-03-26 22:30:44 | [Mutex] waiting for: [node_psbhms0208:subscribe_node] 2023-03-26 22:30:44 | [Mutex] received everything. 2023-03-26 22:30:44 | [Mutex] isItemNotified: node_psbhms0208:subscribe_node:success :: true 2023-03-26 22:30:44 | ===== publishing normal message (to online) 2023-03-26 22:30:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-26 22:30:44 | command: <data><node>node_psbhms0208</node><entry><content>content_8r0x9k0209</content></entry></data> 2023-03-26 22:30:44 | target: http://localhost:8088 2023-03-26 22:30:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-26 22:30:44 | entity: <data><node>node_psbhms0208</node><entry><content>content_8r0x9k0209</content></entry></data> 2023-03-26 22:30:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:30:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-26 22:30:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c146c188-20da-419f-933f-4539edff4c13</value></item-id></result> 2023-03-26 22:30:45 | contains: true 2023-03-26 22:30:45 | [Mutex] waiting for: [user_regularjqbua20207@test-domain.com:message:received:content_8r0x9k0209] 2023-03-26 22:30:45 | [Mutex] received everything. 2023-03-26 22:30:45 | [Mutex] isItemNotified: user_regularjqbua20207@test-domain.com:message:received:content_8r0x9k0209 :: true 2023-03-26 22:30:45 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-26 22:30:45 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-26 22:30:45 | command: <data><node>node_psbhms0208</node><expire-at>2023-03-27T05:30:40Z</expire-at><entry><content>content_xp0z7v0210</content></entry></data> 2023-03-26 22:30:45 | target: http://localhost:8088 2023-03-26 22:30:45 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-26 22:30:45 | entity: <data><node>node_psbhms0208</node><expire-at>2023-03-27T05:30:40Z</expire-at><entry><content>content_xp0z7v0210</content></entry></data> 2023-03-26 22:30:45 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:30:45 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-26 22:30:45 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>07ac9da0-817d-494f-adf9-92a9ca8eb115</value></item-id></result> 2023-03-26 22:30:45 | contains: true 2023-03-26 22:30:45 | [Mutex] waiting for: [user_regularjqbua20207@test-domain.com:message:received:content_xp0z7v0210] 2023-03-26 22:31:00 | [Mutex] timeout. Not received [user_regularjqbua20207@test-domain.com:message:received:content_xp0z7v0210] 2023-03-26 22:31:00 | [Mutex] isItemNotified: user_regularjqbua20207@test-domain.com:message:received:content_xp0z7v0210 :: false 2023-03-26 22:31:00 | ===== publishing normal message (to offline) 2023-03-26 22:31:00 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-26 22:31:00 | command: <data><node>node_psbhms0208</node><entry><content>content_6tsz6k0211</content></entry></data> 2023-03-26 22:31:00 | target: http://localhost:8088 2023-03-26 22:31:00 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-26 22:31:00 | entity: <data><node>node_psbhms0208</node><entry><content>content_6tsz6k0211</content></entry></data> 2023-03-26 22:31:00 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:31:00 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-26 22:31:00 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>86445304-cddf-4961-854b-384fa12b1bad</value></item-id></result> 2023-03-26 22:31:00 | contains: true 2023-03-26 22:31:05 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-26 22:31:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-03-26 22:31:05 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-26 22:31:05 | [Mutex] received everything. 2023-03-26 22:31:05 | [Mutex] isItemNotified: user_regularjqbua20207@test-domain.com:message:received:content_6tsz6k0211 :: true 2023-03-26 22:31:05 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-26 22:31:05 | [Mutex] received everything. 2023-03-26 22:31:05 | [Mutex] isItemNotified: node_psbhms0208:subscribe_node:success :: true 2023-03-26 22:31:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-26 22:31:05 | command: <data><node>node_psbhms0208</node><expire-at>2023-03-27T05:31:10Z</expire-at><entry><content>content_2i82fh0212</content></entry></data> 2023-03-26 22:31:05 | target: http://localhost:8088 2023-03-26 22:31:05 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-26 22:31:05 | entity: <data><node>node_psbhms0208</node><expire-at>2023-03-27T05:31:10Z</expire-at><entry><content>content_2i82fh0212</content></entry></data> 2023-03-26 22:31:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 27 Mar 2023 05:31:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-26 22:31:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>de53612e-d6b0-463a-860c-aeaed39e131e</value></item-id></result> 2023-03-26 22:31:05 | contains: true 2023-03-26 22:31:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-26 22:31:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-03-26 22:31:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-26 22:31:13 | [Mutex] waiting for: [user_regularjqbua20207@test-domain.com:message:received:content_2i82fh0212] 2023-03-26 22:31:13 | [Mutex] waiting for: [user_regularjqbua20207@test-domain.com:message:received:content_2i82fh0212] 2023-03-26 22:31:13 | [Mutex] waiting for: [user_regularjqbua20207@test-domain.com:message:received:content_2i82fh0212] 2023-03-26 22:31:28 | [Mutex] timeout. Not received [user_regularjqbua20207@test-domain.com:message:received:content_2i82fh0212] 2023-03-26 22:31:28 | [Mutex] received everything. 2023-03-26 22:31:28 | [Mutex] isItemNotified: user_regularjqbua20207@test-domain.com:message:received:content_2i82fh0212 :: false 2023-03-26 22:31:28 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2i82fh0212 :: true |