Test duration : 44.783s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.549s |
2022-08-04 23:07:10 |
2022-08-04 23:07:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-04 23:07:10 | ------------------------------------ 2022-08-04 23:07:10 | [Mutex] isItemNotified: node_ck07kh0204:exists :: false 2022-08-04 23:07:10 | [Mutex] waiting for: [node_ck07kh0204:create_node] 2022-08-04 23:07:10 | [Mutex] received everything. 2022-08-04 23:07:10 | [Mutex] isItemNotified: node_ck07kh0204:create_node:success :: true 2022-08-04 23:07:10 | [Mutex] waiting for: [node_ck07kh0204:subscribe_node] 2022-08-04 23:07:10 | [Mutex] waiting for: [node_ck07kh0204:subscribe_node] 2022-08-04 23:07:10 | [Mutex] received everything. 2022-08-04 23:07:10 | [Mutex] isItemNotified: node_ck07kh0204:subscribe_node:success :: true 2022-08-04 23:07:10 | ===== publishing normal message (to online) 2022-08-04 23:07:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-04 23:07:10 | command: <data><node>node_ck07kh0204</node><entry><content>content_geychu0205</content></entry></data> 2022-08-04 23:07:10 | target: http://localhost:8088 2022-08-04 23:07:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-04 23:07:10 | entity: <data><node>node_ck07kh0204</node><entry><content>content_geychu0205</content></entry></data> 2022-08-04 23:07:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 06:07:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-04 23:07:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5a149278-fc62-48e9-8e9b-6e86916a2440</value></item-id></result> 2022-08-04 23:07:10 | contains: true 2022-08-04 23:07:10 | [Mutex] received everything. 2022-08-04 23:07:10 | [Mutex] isItemNotified: user_regularearvld0203@test-domain.com:message:received:content_geychu0205 :: true 2022-08-04 23:07:10 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-04 23:07:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-04 23:07:10 | command: <data><node>node_ck07kh0204</node><expire-at>2022-08-05T06:07:05Z</expire-at><entry><content>content_l5kr9y0206</content></entry></data> 2022-08-04 23:07:10 | target: http://localhost:8088 2022-08-04 23:07:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-04 23:07:10 | entity: <data><node>node_ck07kh0204</node><expire-at>2022-08-05T06:07:05Z</expire-at><entry><content>content_l5kr9y0206</content></entry></data> 2022-08-04 23:07:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 06:07:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-04 23:07:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>76a0c03b-0c96-4c19-8d76-6bc3dda4dffc</value></item-id></result> 2022-08-04 23:07:10 | contains: true 2022-08-04 23:07:10 | [Mutex] waiting for: [user_regularearvld0203@test-domain.com:message:received:content_l5kr9y0206] 2022-08-04 23:07:25 | [Mutex] timeout. Not received [user_regularearvld0203@test-domain.com:message:received:content_l5kr9y0206] 2022-08-04 23:07:25 | [Mutex] isItemNotified: user_regularearvld0203@test-domain.com:message:received:content_l5kr9y0206 :: false 2022-08-04 23:07:25 | ===== publishing normal message (to offline) 2022-08-04 23:07:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-04 23:07:25 | command: <data><node>node_ck07kh0204</node><entry><content>content_dd13wi0207</content></entry></data> 2022-08-04 23:07:25 | target: http://localhost:8088 2022-08-04 23:07:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-04 23:07:25 | entity: <data><node>node_ck07kh0204</node><entry><content>content_dd13wi0207</content></entry></data> 2022-08-04 23:07:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 06:07:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-04 23:07:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>73c3a2c3-f207-4d13-8736-822f0fb7faca</value></item-id></result> 2022-08-04 23:07:25 | contains: true 2022-08-04 23:07:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-04 23:07:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-04 23:07:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-04 23:07:30 | [Mutex] waiting for: [user_regularearvld0203@test-domain.com:message:received:content_dd13wi0207] 2022-08-04 23:07:30 | [Mutex] waiting for: [user_regularearvld0203@test-domain.com:message:received:content_dd13wi0207] 2022-08-04 23:07:30 | [Mutex] received everything. 2022-08-04 23:07:30 | [Mutex] isItemNotified: user_regularearvld0203@test-domain.com:message:received:content_dd13wi0207 :: true 2022-08-04 23:07:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-04 23:07:30 | [Mutex] received everything. 2022-08-04 23:07:30 | [Mutex] isItemNotified: node_ck07kh0204:subscribe_node:success :: true 2022-08-04 23:07:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-04 23:07:30 | command: <data><node>node_ck07kh0204</node><expire-at>2022-08-05T06:07:35Z</expire-at><entry><content>content_v004pi0208</content></entry></data> 2022-08-04 23:07:30 | target: http://localhost:8088 2022-08-04 23:07:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-04 23:07:30 | entity: <data><node>node_ck07kh0204</node><expire-at>2022-08-05T06:07:35Z</expire-at><entry><content>content_v004pi0208</content></entry></data> 2022-08-04 23:07:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Aug 2022 06:07:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-04 23:07:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0df0d480-ef76-499e-ab8b-417d273e0b11</value></item-id></result> 2022-08-04 23:07:30 | contains: true 2022-08-04 23:07:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-04 23:07:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-04 23:07:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-04 23:07:38 | [Mutex] waiting for: [user_regularearvld0203@test-domain.com:message:received:content_v004pi0208] 2022-08-04 23:07:38 | [Mutex] waiting for: [user_regularearvld0203@test-domain.com:message:received:content_v004pi0208] 2022-08-04 23:07:38 | [Mutex] waiting for: [user_regularearvld0203@test-domain.com:message:received:content_v004pi0208] 2022-08-04 23:07:53 | [Mutex] timeout. Not received [user_regularearvld0203@test-domain.com:message:received:content_v004pi0208] 2022-08-04 23:07:53 | [Mutex] received everything. 2022-08-04 23:07:53 | [Mutex] isItemNotified: user_regularearvld0203@test-domain.com:message:received:content_v004pi0208 :: false 2022-08-04 23:07:53 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_v004pi0208 :: true |