Test duration : 44.644s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.689s |
2022-12-26 03:39:48 |
2022-12-26 03:39:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-26 03:39:48 | ------------------------------------ 2022-12-26 03:39:48 | [Mutex] isItemNotified: node_41a32x0204:exists :: false 2022-12-26 03:39:48 | [Mutex] waiting for: [node_41a32x0204:create_node] 2022-12-26 03:39:48 | [Mutex] received everything. 2022-12-26 03:39:48 | [Mutex] isItemNotified: node_41a32x0204:create_node:success :: true 2022-12-26 03:39:48 | [Mutex] waiting for: [node_41a32x0204:subscribe_node] 2022-12-26 03:39:48 | [Mutex] received everything. 2022-12-26 03:39:48 | [Mutex] isItemNotified: node_41a32x0204:subscribe_node:success :: true 2022-12-26 03:39:48 | ===== publishing normal message (to online) 2022-12-26 03:39:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-26 03:39:48 | command: <data><node>node_41a32x0204</node><entry><content>content_3pbuxs0205</content></entry></data> 2022-12-26 03:39:48 | target: http://localhost:8088 2022-12-26 03:39:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-26 03:39:48 | entity: <data><node>node_41a32x0204</node><entry><content>content_3pbuxs0205</content></entry></data> 2022-12-26 03:39:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 11:39:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-26 03:39:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>50d03606-c025-434f-b0ec-9eb28bc7e637</value></item-id></result> 2022-12-26 03:39:48 | contains: true 2022-12-26 03:39:48 | [Mutex] received everything. 2022-12-26 03:39:48 | [Mutex] isItemNotified: user_regularmr3kzu0203@test-domain.com:message:received:content_3pbuxs0205 :: true 2022-12-26 03:39:48 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-26 03:39:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-26 03:39:48 | command: <data><node>node_41a32x0204</node><expire-at>2022-12-26T11:39:43Z</expire-at><entry><content>content_jv52n50206</content></entry></data> 2022-12-26 03:39:48 | target: http://localhost:8088 2022-12-26 03:39:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-26 03:39:48 | entity: <data><node>node_41a32x0204</node><expire-at>2022-12-26T11:39:43Z</expire-at><entry><content>content_jv52n50206</content></entry></data> 2022-12-26 03:39:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 11:39:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-26 03:39:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7b1a3cc4-684e-4836-a5a8-e53de77f89bf</value></item-id></result> 2022-12-26 03:39:48 | contains: true 2022-12-26 03:39:48 | [Mutex] waiting for: [user_regularmr3kzu0203@test-domain.com:message:received:content_jv52n50206] 2022-12-26 03:40:03 | [Mutex] timeout. Not received [user_regularmr3kzu0203@test-domain.com:message:received:content_jv52n50206] 2022-12-26 03:40:03 | [Mutex] isItemNotified: user_regularmr3kzu0203@test-domain.com:message:received:content_jv52n50206 :: false 2022-12-26 03:40:03 | ===== publishing normal message (to offline) 2022-12-26 03:40:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-26 03:40:03 | command: <data><node>node_41a32x0204</node><entry><content>content_olfw8d0207</content></entry></data> 2022-12-26 03:40:03 | target: http://localhost:8088 2022-12-26 03:40:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-26 03:40:03 | entity: <data><node>node_41a32x0204</node><entry><content>content_olfw8d0207</content></entry></data> 2022-12-26 03:40:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 11:40:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-26 03:40:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b59dbc2a-3996-4efc-9d16-6b01005d4890</value></item-id></result> 2022-12-26 03:40:03 | contains: true 2022-12-26 03:40:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-26 03:40:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-26 03:40:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-26 03:40:09 | [Mutex] waiting for: [user_regularmr3kzu0203@test-domain.com:message:received:content_olfw8d0207] 2022-12-26 03:40:09 | [Mutex] waiting for: [user_regularmr3kzu0203@test-domain.com:message:received:content_olfw8d0207] 2022-12-26 03:40:09 | [Mutex] received everything. 2022-12-26 03:40:09 | [Mutex] isItemNotified: user_regularmr3kzu0203@test-domain.com:message:received:content_olfw8d0207 :: true 2022-12-26 03:40:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-26 03:40:09 | [Mutex] received everything. 2022-12-26 03:40:09 | [Mutex] isItemNotified: node_41a32x0204:subscribe_node:success :: true 2022-12-26 03:40:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-26 03:40:09 | command: <data><node>node_41a32x0204</node><expire-at>2022-12-26T11:40:14Z</expire-at><entry><content>content_5yw2ds0208</content></entry></data> 2022-12-26 03:40:09 | target: http://localhost:8088 2022-12-26 03:40:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-26 03:40:09 | entity: <data><node>node_41a32x0204</node><expire-at>2022-12-26T11:40:14Z</expire-at><entry><content>content_5yw2ds0208</content></entry></data> 2022-12-26 03:40:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 26 Dec 2022 11:40:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-26 03:40:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>49d10f4e-e47f-4b03-b93d-50ca09a431b4</value></item-id></result> 2022-12-26 03:40:09 | contains: true 2022-12-26 03:40:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-26 03:40:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-26 03:40:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-26 03:40:17 | [Mutex] waiting for: [user_regularmr3kzu0203@test-domain.com:message:received:content_5yw2ds0208] 2022-12-26 03:40:17 | [Mutex] waiting for: [user_regularmr3kzu0203@test-domain.com:message:received:content_5yw2ds0208] 2022-12-26 03:40:17 | [Mutex] waiting for: [user_regularmr3kzu0203@test-domain.com:message:received:content_5yw2ds0208] 2022-12-26 03:40:32 | [Mutex] timeout. Not received [user_regularmr3kzu0203@test-domain.com:message:received:content_5yw2ds0208] 2022-12-26 03:40:32 | [Mutex] received everything. 2022-12-26 03:40:32 | [Mutex] isItemNotified: user_regularmr3kzu0203@test-domain.com:message:received:content_5yw2ds0208 :: false 2022-12-26 03:40:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5yw2ds0208 :: true |