Test duration : 44.655s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.642s |
2022-03-27 22:35:23 |
2022-03-27 22:35:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-03-27 22:35:23 | ------------------------------------ 2022-03-27 22:35:23 | [Mutex] isItemNotified: node_pkr5oc0202:exists :: false 2022-03-27 22:35:23 | [Mutex] waiting for: [node_pkr5oc0202:create_node] 2022-03-27 22:35:23 | [Mutex] received everything. 2022-03-27 22:35:23 | [Mutex] isItemNotified: node_pkr5oc0202:create_node:success :: true 2022-03-27 22:35:23 | [Mutex] waiting for: [node_pkr5oc0202:subscribe_node] 2022-03-27 22:35:23 | [Mutex] received everything. 2022-03-27 22:35:23 | [Mutex] isItemNotified: node_pkr5oc0202:subscribe_node:success :: true 2022-03-27 22:35:23 | ===== publishing normal message (to online) 2022-03-27 22:35:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-27 22:35:23 | command: <data><node>node_pkr5oc0202</node><entry><content>content_7weayt0203</content></entry></data> 2022-03-27 22:35:23 | target: http://localhost:8088 2022-03-27 22:35:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-27 22:35:23 | entity: <data><node>node_pkr5oc0202</node><entry><content>content_7weayt0203</content></entry></data> 2022-03-27 22:35:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 05:35:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-27 22:35:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>93f1ceb6-8dfb-43ea-b5b6-a24f5f0b0c4e</value></item-id></result> 2022-03-27 22:35:23 | contains: true 2022-03-27 22:35:23 | [Mutex] received everything. 2022-03-27 22:35:23 | [Mutex] isItemNotified: user_regularg2p5yo0201@test-domain.com:message:received:content_7weayt0203 :: true 2022-03-27 22:35:23 | ===== publishing already old message - expecting message being filtered out (to online) 2022-03-27 22:35:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-27 22:35:23 | command: <data><node>node_pkr5oc0202</node><expire-at>2022-03-28T05:35:18Z</expire-at><entry><content>content_hatsvq0204</content></entry></data> 2022-03-27 22:35:23 | target: http://localhost:8088 2022-03-27 22:35:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-27 22:35:23 | entity: <data><node>node_pkr5oc0202</node><expire-at>2022-03-28T05:35:18Z</expire-at><entry><content>content_hatsvq0204</content></entry></data> 2022-03-27 22:35:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 05:35:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-27 22:35:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>917b8f6e-107f-4e1d-89d1-40a18d12f45f</value></item-id></result> 2022-03-27 22:35:23 | contains: true 2022-03-27 22:35:23 | [Mutex] waiting for: [user_regularg2p5yo0201@test-domain.com:message:received:content_hatsvq0204] 2022-03-27 22:35:38 | [Mutex] timeout. Not received [user_regularg2p5yo0201@test-domain.com:message:received:content_hatsvq0204] 2022-03-27 22:35:38 | [Mutex] isItemNotified: user_regularg2p5yo0201@test-domain.com:message:received:content_hatsvq0204 :: false 2022-03-27 22:35:38 | ===== publishing normal message (to offline) 2022-03-27 22:35:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-27 22:35:38 | command: <data><node>node_pkr5oc0202</node><entry><content>content_t7zuaf0205</content></entry></data> 2022-03-27 22:35:38 | target: http://localhost:8088 2022-03-27 22:35:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-03-27 22:35:38 | entity: <data><node>node_pkr5oc0202</node><entry><content>content_t7zuaf0205</content></entry></data> 2022-03-27 22:35:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 05:35:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-27 22:35:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ed715826-a9a5-4562-be71-0dfdc6594412</value></item-id></result> 2022-03-27 22:35:39 | contains: true 2022-03-27 22:35:44 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-03-27 22:35:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] DNS entry stored in session object: localhost:5222 2022-03-27 22:35:44 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=475 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-03-27 22:35:44 | [Mutex] waiting for: [user_regularg2p5yo0201@test-domain.com:message:received:content_t7zuaf0205] 2022-03-27 22:35:44 | [Mutex] waiting for: [user_regularg2p5yo0201@test-domain.com:message:received:content_t7zuaf0205] 2022-03-27 22:35:44 | [Mutex] received everything. 2022-03-27 22:35:44 | [Mutex] isItemNotified: user_regularg2p5yo0201@test-domain.com:message:received:content_t7zuaf0205 :: true 2022-03-27 22:35:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-03-27 22:35:44 | [Mutex] received everything. 2022-03-27 22:35:44 | [Mutex] isItemNotified: node_pkr5oc0202:subscribe_node:success :: true 2022-03-27 22:35:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-03-27 22:35:44 | command: <data><node>node_pkr5oc0202</node><expire-at>2022-03-28T05:35:49Z</expire-at><entry><content>content_jvlpjo0206</content></entry></data> 2022-03-27 22:35:44 | target: http://localhost:8088 2022-03-27 22:35:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-03-27 22:35:44 | entity: <data><node>node_pkr5oc0202</node><expire-at>2022-03-28T05:35:49Z</expire-at><entry><content>content_jvlpjo0206</content></entry></data> 2022-03-27 22:35:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 28 Mar 2022 05:35:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-03-27 22:35:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>91f647c4-24f6-4819-ac27-7c1b92bc5ee7</value></item-id></result> 2022-03-27 22:35:44 | contains: true 2022-03-27 22:35:52 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-03-27 22:35:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222 2022-03-27 22:35:52 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-03-27 22:35:52 | [Mutex] waiting for: [user_regularg2p5yo0201@test-domain.com:message:received:content_jvlpjo0206] 2022-03-27 22:35:52 | [Mutex] waiting for: [user_regularg2p5yo0201@test-domain.com:message:received:content_jvlpjo0206] 2022-03-27 22:35:52 | [Mutex] waiting for: [user_regularg2p5yo0201@test-domain.com:message:received:content_jvlpjo0206] 2022-03-27 22:36:07 | [Mutex] timeout. Not received [user_regularg2p5yo0201@test-domain.com:message:received:content_jvlpjo0206] 2022-03-27 22:36:07 | [Mutex] received everything. 2022-03-27 22:36:07 | [Mutex] isItemNotified: user_regularg2p5yo0201@test-domain.com:message:received:content_jvlpjo0206 :: false 2022-03-27 22:36:07 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jvlpjo0206 :: true |