Test duration : 44.640s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.552s |
2022-12-22 21:30:49 |
2022-12-22 21:30:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-22 21:30:49 | ------------------------------------ 2022-12-22 21:30:49 | [Mutex] isItemNotified: node_nwt8140204:exists :: false 2022-12-22 21:30:49 | [Mutex] waiting for: [node_nwt8140204:create_node] 2022-12-22 21:30:49 | [Mutex] received everything. 2022-12-22 21:30:49 | [Mutex] isItemNotified: node_nwt8140204:create_node:success :: true 2022-12-22 21:30:49 | [Mutex] waiting for: [node_nwt8140204:subscribe_node] 2022-12-22 21:30:49 | [Mutex] waiting for: [node_nwt8140204:subscribe_node] 2022-12-22 21:30:49 | [Mutex] received everything. 2022-12-22 21:30:49 | [Mutex] isItemNotified: node_nwt8140204:subscribe_node:success :: true 2022-12-22 21:30:49 | ===== publishing normal message (to online) 2022-12-22 21:30:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 21:30:49 | command: <data><node>node_nwt8140204</node><entry><content>content_a8ep2m0205</content></entry></data> 2022-12-22 21:30:49 | target: http://localhost:8088 2022-12-22 21:30:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-22 21:30:49 | entity: <data><node>node_nwt8140204</node><entry><content>content_a8ep2m0205</content></entry></data> 2022-12-22 21:30:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 05:30:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 21:30:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c2981872-30b5-43a5-ae13-750589100c3d</value></item-id></result> 2022-12-22 21:30:49 | contains: true 2022-12-22 21:30:49 | [Mutex] waiting for: [user_regularqxq4bo0203@test-domain.com:message:received:content_a8ep2m0205] 2022-12-22 21:30:49 | [Mutex] received everything. 2022-12-22 21:30:49 | [Mutex] isItemNotified: user_regularqxq4bo0203@test-domain.com:message:received:content_a8ep2m0205 :: true 2022-12-22 21:30:49 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-22 21:30:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 21:30:49 | command: <data><node>node_nwt8140204</node><expire-at>2022-12-23T05:30:44Z</expire-at><entry><content>content_9gj1js0206</content></entry></data> 2022-12-22 21:30:49 | target: http://localhost:8088 2022-12-22 21:30:49 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-22 21:30:49 | entity: <data><node>node_nwt8140204</node><expire-at>2022-12-23T05:30:44Z</expire-at><entry><content>content_9gj1js0206</content></entry></data> 2022-12-22 21:30:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 05:30:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 21:30:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>24969bbf-d9d4-4778-99a1-7ae5c3ceede5</value></item-id></result> 2022-12-22 21:30:49 | contains: true 2022-12-22 21:30:49 | [Mutex] waiting for: [user_regularqxq4bo0203@test-domain.com:message:received:content_9gj1js0206] 2022-12-22 21:31:04 | [Mutex] timeout. Not received [user_regularqxq4bo0203@test-domain.com:message:received:content_9gj1js0206] 2022-12-22 21:31:04 | [Mutex] isItemNotified: user_regularqxq4bo0203@test-domain.com:message:received:content_9gj1js0206 :: false 2022-12-22 21:31:04 | ===== publishing normal message (to offline) 2022-12-22 21:31:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 21:31:04 | command: <data><node>node_nwt8140204</node><entry><content>content_aoymm30207</content></entry></data> 2022-12-22 21:31:04 | target: http://localhost:8088 2022-12-22 21:31:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-22 21:31:04 | entity: <data><node>node_nwt8140204</node><entry><content>content_aoymm30207</content></entry></data> 2022-12-22 21:31:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 05:31:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 21:31:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>21e3d48c-cdf7-45df-9d58-08ecd295068f</value></item-id></result> 2022-12-22 21:31:04 | contains: true 2022-12-22 21:31:09 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-22 21:31:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-22 21:31:09 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-22 21:31:09 | [Mutex] waiting for: [user_regularqxq4bo0203@test-domain.com:message:received:content_aoymm30207] 2022-12-22 21:31:09 | [Mutex] received everything. 2022-12-22 21:31:09 | [Mutex] isItemNotified: user_regularqxq4bo0203@test-domain.com:message:received:content_aoymm30207 :: true 2022-12-22 21:31:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-22 21:31:09 | [Mutex] received everything. 2022-12-22 21:31:09 | [Mutex] isItemNotified: node_nwt8140204:subscribe_node:success :: true 2022-12-22 21:31:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-22 21:31:09 | command: <data><node>node_nwt8140204</node><expire-at>2022-12-23T05:31:14Z</expire-at><entry><content>content_rfdkwp0208</content></entry></data> 2022-12-22 21:31:09 | target: http://localhost:8088 2022-12-22 21:31:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-22 21:31:09 | entity: <data><node>node_nwt8140204</node><expire-at>2022-12-23T05:31:14Z</expire-at><entry><content>content_rfdkwp0208</content></entry></data> 2022-12-22 21:31:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 23 Dec 2022 05:31:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-22 21:31:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fada709d-4e4e-4058-817c-fed82c331122</value></item-id></result> 2022-12-22 21:31:09 | contains: true 2022-12-22 21:31:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-22 21:31:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-22 21:31:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-22 21:31:18 | [Mutex] waiting for: [user_regularqxq4bo0203@test-domain.com:message:received:content_rfdkwp0208] 2022-12-22 21:31:33 | [Mutex] timeout. Not received [user_regularqxq4bo0203@test-domain.com:message:received:content_rfdkwp0208] 2022-12-22 21:31:33 | [Mutex] received everything. 2022-12-22 21:31:33 | [Mutex] isItemNotified: user_regularqxq4bo0203@test-domain.com:message:received:content_rfdkwp0208 :: false 2022-12-22 21:31:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rfdkwp0208 :: true |