Test duration : 44.595s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.616s |
2022-07-17 22:32:21 |
2022-07-17 22:32:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-17 22:32:21 | ------------------------------------ 2022-07-17 22:32:21 | [Mutex] isItemNotified: node_wez0lf0204:exists :: false 2022-07-17 22:32:21 | [Mutex] waiting for: [node_wez0lf0204:create_node] 2022-07-17 22:32:21 | [Mutex] received everything. 2022-07-17 22:32:21 | [Mutex] isItemNotified: node_wez0lf0204:create_node:success :: true 2022-07-17 22:32:21 | [Mutex] waiting for: [node_wez0lf0204:subscribe_node] 2022-07-17 22:32:21 | [Mutex] received everything. 2022-07-17 22:32:21 | [Mutex] isItemNotified: node_wez0lf0204:subscribe_node:success :: true 2022-07-17 22:32:21 | ===== publishing normal message (to online) 2022-07-17 22:32:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-17 22:32:21 | command: <data><node>node_wez0lf0204</node><entry><content>content_srirzh0205</content></entry></data> 2022-07-17 22:32:21 | target: http://localhost:8088 2022-07-17 22:32:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-17 22:32:21 | entity: <data><node>node_wez0lf0204</node><entry><content>content_srirzh0205</content></entry></data> 2022-07-17 22:32:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jul 2022 05:32:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-17 22:32:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a51115b2-4980-4323-860c-6564c65a972d</value></item-id></result> 2022-07-17 22:32:21 | contains: true 2022-07-17 22:32:21 | [Mutex] received everything. 2022-07-17 22:32:21 | [Mutex] isItemNotified: user_regularib760t0203@test-domain.com:message:received:content_srirzh0205 :: true 2022-07-17 22:32:21 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-17 22:32:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-17 22:32:21 | command: <data><node>node_wez0lf0204</node><expire-at>2022-07-18T05:32:16Z</expire-at><entry><content>content_v78i8s0206</content></entry></data> 2022-07-17 22:32:21 | target: http://localhost:8088 2022-07-17 22:32:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-17 22:32:21 | entity: <data><node>node_wez0lf0204</node><expire-at>2022-07-18T05:32:16Z</expire-at><entry><content>content_v78i8s0206</content></entry></data> 2022-07-17 22:32:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jul 2022 05:32:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-17 22:32:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a080a428-3201-4429-9555-7515ede04a1f</value></item-id></result> 2022-07-17 22:32:22 | contains: true 2022-07-17 22:32:22 | [Mutex] waiting for: [user_regularib760t0203@test-domain.com:message:received:content_v78i8s0206] 2022-07-17 22:32:37 | [Mutex] timeout. Not received [user_regularib760t0203@test-domain.com:message:received:content_v78i8s0206] 2022-07-17 22:32:37 | [Mutex] isItemNotified: user_regularib760t0203@test-domain.com:message:received:content_v78i8s0206 :: false 2022-07-17 22:32:37 | ===== publishing normal message (to offline) 2022-07-17 22:32:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-17 22:32:37 | command: <data><node>node_wez0lf0204</node><entry><content>content_a492h50207</content></entry></data> 2022-07-17 22:32:37 | target: http://localhost:8088 2022-07-17 22:32:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-17 22:32:37 | entity: <data><node>node_wez0lf0204</node><entry><content>content_a492h50207</content></entry></data> 2022-07-17 22:32:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jul 2022 05:32:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-17 22:32:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8cf5f462-8a67-4cc0-9ee4-38c3af44abf5</value></item-id></result> 2022-07-17 22:32:37 | contains: true 2022-07-17 22:32:42 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-17 22:32:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-17 22:32:42 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-17 22:32:42 | [Mutex] waiting for: [user_regularib760t0203@test-domain.com:message:received:content_a492h50207] 2022-07-17 22:32:42 | [Mutex] received everything. 2022-07-17 22:32:42 | [Mutex] isItemNotified: user_regularib760t0203@test-domain.com:message:received:content_a492h50207 :: true 2022-07-17 22:32:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-17 22:32:42 | [Mutex] received everything. 2022-07-17 22:32:42 | [Mutex] isItemNotified: node_wez0lf0204:subscribe_node:success :: true 2022-07-17 22:32:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-17 22:32:42 | command: <data><node>node_wez0lf0204</node><expire-at>2022-07-18T05:32:47Z</expire-at><entry><content>content_96cwnh0208</content></entry></data> 2022-07-17 22:32:42 | target: http://localhost:8088 2022-07-17 22:32:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-17 22:32:42 | entity: <data><node>node_wez0lf0204</node><expire-at>2022-07-18T05:32:47Z</expire-at><entry><content>content_96cwnh0208</content></entry></data> 2022-07-17 22:32:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jul 2022 05:32:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-17 22:32:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a132a42d-0c7d-4218-9efd-720bc30547dd</value></item-id></result> 2022-07-17 22:32:42 | contains: true 2022-07-17 22:32:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-17 22:32:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-17 22:32:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-17 22:32:50 | [Mutex] waiting for: [user_regularib760t0203@test-domain.com:message:received:content_96cwnh0208] 2022-07-17 22:33:05 | [Mutex] timeout. Not received [user_regularib760t0203@test-domain.com:message:received:content_96cwnh0208] 2022-07-17 22:33:05 | [Mutex] received everything. 2022-07-17 22:33:05 | [Mutex] isItemNotified: user_regularib760t0203@test-domain.com:message:received:content_96cwnh0208 :: false 2022-07-17 22:33:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_96cwnh0208 :: true |